Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
You must login to post a message.

· 07/04/2020 10:27 AM
Happy 4th of July! jazzyhands

· 06/24/2020 7:58 AM
@Mark McCornack, Please post your question in the forum.

Mark McCornack
· 06/15/2020 9:28 PM
Hi! Looking for a legacy inlet temp sensor on 13 yr old Gene Cafe. It seems they've changed it and now you need new mother board and new sensor. Any ideas where I can find compatibile old one? Mark

· 06/09/2020 6:39 PM
Wich thermometers Can i buy for my roasting machine compatible with usb or macbook?

· 06/05/2020 5:38 PM
peveleth, It is better if you start a post in the forum with your question. These shouts go away in time.

Users Online
Guests Online: 2

Members Online: 0

Total Members: 6,639
Newest Member: dbharsh
In Memory Of Ginny

Latest Donations
Anonymous - 5.00
Anonymous - 5.00
renatoa - 2.00
JitterzZ - 2.01
renatoa - 2.00

View Thread

Who is here? 1 guest(s)
 Print Thread
Heater Protection via Arduino
I’ve been trying to integrate the use of an ACS712 current sensor in conjunction with a 5v relay on a new build for a while now. It’s part of a heater fail-safe during manual or automatic roasting… if the blower stops the heater will stop also. (I’m using IO3 fast PWM for a DD SSR for a DC blower, from the CONFIG_PAC2 setup)

I've discovered it is possible to add code to aArtisanQ_PID_6_7 to be able to run these devices with the safety in place even on manual mode. (Thanks Greencardigan for your feedback on my idea) I’m using two of the analog inputs on the TC4; OT1 for a heater and OT2 for a mixer motor for manual operation. Air supply comes from a DC blower triggered from IO3 to the DD SSR.

What I wanted to do is have heater protection by taking the analog input of about 2.5v (0 amps from the ACS712) or less to write LOW to a digital pinout, and conversely with an analog input of say 2.6v or more to write HIGH to the same digital pinout. That way a person could use IO3 functions to activate an SSR for a blower circuit in automatic/TC4 mode, or in manual mode using a separate switch to activate your blower for manual operation, both modes protected.

With this feature an Arduino based electrical heater protection circuit is in place to protect your heaters if the blower fails in either operation mode… (no fan, no current is detected from the ACS712, no 5v relay closing, no activation of your heater SSR)

My system is a little different as I'm using a secondary heater SSR in series with my primary heater SSR and a 24v power supply, but I’m quite sure the OT1 heater signal from the TC4 could be routed to the 5v relay with the normally open connection used, and then out to the heater SSR as the failsafe.

These (or similar) products we’re used for the control mod…

This mod is possible and easily done. I'm not an Arduino coder by any means, but with Youtube and some trial and error I managed to figure it out.

I added these 2 lines to the sketch at the end of the .ino after line 1302

const int output = A3;
const int input = A2;

added these 3 lines at the start of the void setup after the amb.init line

pinMode(A3, OUTPUT);
pinMode(A2, INPUT);
digitalWrite(A2, LOW);

and these lines at the start of the void loop before the Phase angle control lines this code

if( analogRead(A2) > 522)

This setup uses a 20A version of the ACS712 and a 5v relay both powered from the Arduino 5v power. The signal comes from the ACS712 into Arduino A2 and out A3 (if conditions met) to the 5v relay, which closes a low voltage circuit for a secondary SSR (in series with the primary heat SSR). Power will only go to the heater now if the blower is detected as pulling amps.

Pretty happy with this mod...
Thanks for posting this. Those Robotshop modules look good.
Good safety since some of those powerful heaters can vaporize when the fan goes.

Do you run a heater cool down procedure after the roast?

KKTO Roaster.


JackH wrote:

Do you run a heater cool down procedure after the roast?

On the transparent roaster build, the heater is off at drop and the fan keeps blowing ambient for 1-3 minutes while cooling the beans in the chamber. In 2 years and a couple of hundred roasts, there have been no failures, but I still like the safety concept and the ability to limit repair costs if it does happen.

On my new build, I have a 3-way valve to allow for air to be diverted from the blower to cool the beans out of the chamber while still allowing some airflow over the powered-off heat coil.
Jump to Forum:

Similar Threads

Thread Forum Replies Last Post
TC4+ Arduino coffee roaster shield (TC4-compatible) Dataloggers/Controllers/Rate of Rise Meters 186 07/12/2020 1:09 PM
Setting up TC4 / Arduino / aArtisan ROASTING SOFTWARE APPS 11 07/11/2020 7:58 AM
Arduino PID controlled popper Dataloggers/Controllers/Rate of Rise Meters 20 05/05/2020 3:48 PM
Has anyone made a case for the Arduino/TC4 (or TC4+) combo? Dataloggers/Controllers/Rate of Rise Meters 8 01/18/2020 7:14 PM
Build a roaster with a forced air propane heater! Fluidbed Roaster 17 01/14/2020 8:32 AM
Homeroasters Association Logo, and all Content, Images, and Icons © 2005-2016 Homeroasters Association - Logos are the property of their respective owners.
Powered by PHP-Fusion copyright © 2002 - 2020 by Nick Jones.
Released as free software without warranties under GNU Affero GPL v3.
Designed with by NetriX