topbanner.gif
May 22 2013 19:03:11
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
bullet2.gif HOMEROASTERS.ORG
bullet2.gif Forum Home
bullet2.gif DISCUSSION FORUM
bullet2.gif Downloads
bullet2.gif Forum FAQ
bullet2.gif News Categories
bullet2.gif Contact Me
bullet2.gif Photo Gallery
bullet2.gif Search
bullet2.gif Guestbook
bullet2.gif User's Voice
bullet2.gif Chatroom
Forum Threads
Newest Threads
bullet2.gif Excited about TC4C a...
bullet2.gif Amplified cracks etc.
bullet2.gif Some Gene Roasting Q...
bullet2.gif quality budget grinder?
bullet2.gif Greencoffeebuyingclu...
Hottest Threads
bullet2.gif What's in your cup? [709]
bullet2.gif What's in Your Ro... [454]
bullet2.gif New Members - May... [366]
bullet2.gif TC4 - Coding and ... [285]
bullet2.gif Dan's Direct-Flam... [260]
Latest Articles
No Articles available
Users Online
bullet2.gif Guests Online: 5

bullet2.gif Members Online: 0

bullet2.gif Total Members: 2,607
bullet2.gif Newest Member: MarryS
BotSlap Panel
bullet2.gif Last check: 05/22/2013 18:50
bullet2.gif Slap count: 0
bullet2.gif Last checked ID: 3053
View Thread
Who is here? 1 guest(s)
 Print Thread
TC4/Artisan SSR Control
Robert H
Sorry If this has been answered already. I did look, honest! But my brain started hurting too much.

I recently purchased a TC4C with Artisan preloaded http://code.googl...c4-shield/. I will be using this with my popper based roaster that has a simple pid control for the heating element and manual fan control. So far I have two thermocouples connected to the TC4 and working properly in Artisan and now want to connect to the SSR that controls the heating element, eliminating the old PID. The SSR connection seems obvious (OT1). But I can’t sort out how to control the heater using artisan. As I look through the information available on line and in the forum posts artisan documents http://code.googl...p/artisan/ the focus seems to be on the monitoring side of the equation. However, I want to look at the control of the burner using TC4C/Artisan for control. Is this possible or did I misunderstand the capability. So far I cannot find anything about setting up a roast time vs temp profile or PID function using Artisan.
Someone square me away please
Robert
 
jedovaty
Hi Robert, I think the code is currently only setup to monitor, so you need to attach a potentiometer to the analog in port, and you manually turn the knob to adjust the level (I don't use artisan yet, I'm still on aCatuai which is setup in this way).
 
JimG
Robert,

I think I can help.

First, the aArtisan sketch that is loaded into your TC4C responds to a set of commands:
http://tc4-shield...mmands.txt

The command you will use to control an SSR that is connected to OT1 is in the form of "OT1,75". The OT1 command sets the duty cycle or output level to a value between 0 and 100%. In the example, it would set it to 75%.

To make Artisan send this command to the TC4C you must configure an event button. While running Artisan, select Config | Events... | Buttons to access a table of defined buttons.

To create a button for 75% heater output you would set up a button as follows:

Label: HTR-75
Description: 75% heater
Type: Power
Value: 3 (I'm not sure what this does??)
Action: Serial command
Documentation: OT1,75
Visibility: On
Color: (I left this alone and got yellow buttons)

Set up similar buttons for HTR-0, HTR-25, HTR-50, and HTR-100.

The new event buttons will show up at the bottom of the screen each time you load Artisan. Make sure you set up a 0% output button or you will be unable to turn off the heater at the end of an Artisan session :-)

Jim
 
www.pidkits.com
Robert H
Thanks to both of you!
Jim, I take it that when roasting I will manually(ish) control the roast with the new event buttons. Will the button events be recorded on the graph along with the other data?
Thanks again
Robert
 
allenb
Jim,

I re-read the TC4/artisan thread looking to see if you can view rate of rise in real time and not just via the graph display. Is this available in the latest version?

This would be a real nice package being able to utilize event buttons and being able to view a real time RoR numeric display.

Allen
1/2 lb and 1 lb drum, Siemens Sirocco fluidbed, presspot, chemex, cajun biggin brewer from the backwoods of Louisiana
 
JimG
Allen -

RoR is displayed on the PC screen by Artisan. It is labeled Delta-BT and Delta-ET.

But with the current aArtisan TC4 sketch, RoR is not displayed on an attached LCD. Instead, the space where RoR might be shown is used to echo the commands received from Artisan.

Artisan works a little differently than other applications that we support with the TC4. The difference is that Artisan polls the TC4 when it is ready for a new reading so computing RoR by the TC4 is a little more complicated.

There are other TC4 applications that display RoR on an attached LCD, but aArtisan does not.

If there is enough interest, though, I can add this feature to aArtisan?

Jim
 
www.pidkits.com
JimG
Robert H wrote:
Will the button events be recorded on the graph along with the other data?


Yes. But a word of caution: on some computers adding markers to the graph tends to bog down Artisan and cause some lags in response.

Jim
 
www.pidkits.com
Robert H
Got it, thanks Jim. And thanks to everyone else chiming in. Good stuff!
 
smico
JimG wrote:

Robert H wrote:
Will the button events be recorded on the graph along with the other data?


Yes. But a word of caution: on some computers adding markers to the graph tends to bog down Artisan and cause some lags in response.

Jim
I noticed that lag of response comes from high default sample frequency. If temperature measurement is set to 3-5 seconds, which is plenty for roasting application, even less powerful computers should be fine. I never looked at the code, but it feels like the IO is running in the main working thread. Real solution would be to run IO, or graphing, in separate threads.
Hottop B2 + HTC, Cremina 83, OE Pharos, Brewtus IIIR, Baratza Vario
 
greencardigan
Robert H wrote:

Sorry If this has been answered already. I did look, honest! But my brain started hurting too much.

I recently purchased a TC4C with Artisan preloaded http://code.googl...c4-shield/. I will be using this with my popper based roaster that has a simple pid control for the heating element and manual fan control. So far I have two thermocouples connected to the TC4 and working properly in Artisan and now want to connect to the SSR that controls the heating element, eliminating the old PID. The SSR connection seems obvious (OT1). But I can’t sort out how to control the heater using artisan. As I look through the information available on line and in the forum posts artisan documents http://code.googl...p/artisan/ the focus seems to be on the monitoring side of the equation. However, I want to look at the control of the burner using TC4C/Artisan for control. Is this possible or did I misunderstand the capability. So far I cannot find anything about setting up a roast time vs temp profile or PID function using Artisan.
Someone square me away please
Robert

Hi Robert,
I've been developing and using a variant of aArtisan that can control a heater using a PID library and temperature/time profiles stored on the TC4s eeprom.

Brad
www.greencardigan.com/misc/gifs/ausflag.gif
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
How to control a fluidbed roast profile? Fluidbed Roaster Discussion 69 04/22/2013 12:17
Control and Logging of SC/GG Roaster Dataloggers/Controllers/Rate of Rise Meters 25 04/11/2013 20:07
Throttling With a Router Speed Control Popcorn Popper roasting 16 03/31/2013 10:31
Auto data logging and control for dummies? Dataloggers/Controllers/Rate of Rise Meters 6 03/25/2013 19:51
Control of the Gene Gene Cafe Roaster 9 02/19/2013 21:06
Member Poll
Do you use profiles when roasting beans?

Yes, always

Not yet

Sometimes I do

No, never, just look, feel and smell.

You must login to vote.
Shoutbox
You must login to post a message.

Lylabrown
05/22/2013 17:18
Shock Marco.....

ginny
05/22/2013 05:30
MarryS welcome cup thanks for joining.

ginny
05/21/2013 11:54
eeCoff welcome2

RockinJava9
05/21/2013 07:11
Welcome Uffehagen, glad you are here!

allenb
05/19/2013 19:53
Big Welcome to grenik welcome cup

allenb
05/18/2013 19:26
I can attest to folks being out and about. Me and Julie were out hitting the garden centers for loading flower pots all day. Nice weather! Tomorrow the Kamado/egg gets fired up! bbq

ginny
05/18/2013 17:32
Jack, it is quiet today, I think the lovely day has folks out and about. beach

ginny
05/18/2013 17:31
sbonder welcome cup thanks for joining us...

JackH
05/18/2013 15:28
Quiet here today.

zombie coffee
05/17/2013 11:02
ricksroasters welcome2 thank you for taking time to join us...

allenb
05/15/2013 15:56
nikijack Howdy and Welcome to HRO! Welcome

freshbeans
05/15/2013 13:57
FataMorganaCafe welcome to forum

ginny
05/15/2013 03:04
blong2001 welcome2 thanks for joining us...

ginny
05/14/2013 13:54
that is sweet... thanks for posting lylabrown... smoking for you

Lylabrown
05/14/2013 13:43
Just found this little roaster on youtube: http://youtu.be/i.
..
. Pretty neat!