topbanner.gif
Login
Username

Password




Not a member yet?
Click here to register.

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

renatoa
02/27/2024 2:10 AM
Airtimid and Foolmeonce, welcome to forum

allenb
02/26/2024 5:58 PM
kinkades Welcome

allenb
02/26/2024 11:46 AM
seidler Welcome

allenb
02/25/2024 10:07 AM
majdibrahim Welcome

renatoa
02/25/2024 2:26 AM
morning, SigLover21

In Memory Of Ginny
Donations

Latest Donations
dmccallum - 10.00
JackH - 25.00
snwcmpr - 10.00
Anonymous - 2.00
Anonymous - 5.00
Users Online
Guests Online: 8

Members Online: 0

Total Members: 8,119
Newest Member: Airtimid

View Thread

Who is here? 1 guest(s)
 Print Thread
Simple heater control
renatoa
Hi,

In the quest of the simplest/cheapest/easiest to use roaster electronics, I developed a heater control method suitable for anyone using whatever Windows based roasting app, for instance Artisan.
The method is solderless, Arduino-less, programing-less :) and use a cheap ($5) USB to serial adapter and some software, to directly or automatically control the heater SSR.
It could be suitable to control some fans, but not any electric motor ! So ask, to investigate first for the specific motor you intend use ...
DC motors for example can be controlled with this solution if you replace the SSR with a PWM input speed controller.

To make possible the usage of that adapter to generate PWM for motor control, a windows app was been developed to do the magic, providing also a simple user interface allowing manual control.
The LCD theme chosen used make it almost part of Artisan look.

Those who like use the same concept for reproducing app for Mac or Linux, just search for "FTDI bitbang".

Attached pictures shows the adapter-SSR connection, applet UI, and Artisan configuration to interface with this control method.

In Artisan you should call the applet in two places, once for the power slider change event, and use as argument the {} notation to pass the PWM value, and second, in some several places/button events where you want to shut off the heat, having as argument value zero.
When called as command line the applet has three arguments, the third is optional, allowing you to pass a short descriptor of the event that triggered power change, to be logged for later diagnosis.

Beware: a non initialised serial line status is equivalent with heater 100% on !
For this reason, you should use one of the following protection methods: either have a manual switch on heather circuit, either, start Artisan and be prepared to press Reset as fast as you connect the USB adapter.

Not attaching the control app yet, want to polish it more, to be sure is bug free.
And maybe you have suggestions to improve :)

PS: for some technical limitations, the control range is between 10 and 90% PWM.
I can think to some tricks to allow also control in the 5-10% range, but not sure if useful, what do you think ?
renatoa attached the following images:
com2pwm-heater_off_button_events.jpg com2pwm-power_slider_event_assign.jpg com2pwm-ui.jpg com-ssr_wiring.jpg

Edited by renatoa on 02/13/2018 7:06 AM
Roasters: DIY: TO based IR 200-640g
Moded commercial: Skywalker, Dieckmann RoestMeister, Nesco, popper(s).
Electrics: TC4ESP, MS6514, USB/Artisan/Apps, PID controllers
Grinders: Arco, Xeoleo ghost burrs, Krinder, vintage PeDe Dienes, MBK Feldgrind
Brew/presso: ALM pour over, Arin lever, Staresso Mirage, Hario Cafeor dripper, Flair, Kompresso, Rota Aeropress, Gaggia Mini
 
renatoa
Gave up with PID, I am controlling manually the roast using the applet.
There is a bug somewhere on the command chain, from the moment I see the power slider changing in Artisan and the command line is issued, there is a 3 seconds delay.
PID overshots are even worse, 10 seconds and tens degrees off, for any PID values.
Probably will write my own control app in a future. Tapping in the serial stream carrying the data from thermocouples is not difficult, so Artisan will continue doing the logger job.

Reversing the control logic will raise another issue, no more possible to cut heater off.
I can't drive line up permanently, I mean programatic, only down.
 
Jump to Forum:

Similar Threads

Thread Forum Replies Last Post
Another Propane Gas Control Method Electric and Gas Heat Sources 31 10/14/2023 6:48 PM
Renatoa can you walk us through a roast based on Heat power control vs PID? Roasting Coffee 32 08/21/2023 12:41 AM
Unable to get Artisan Scope's PID to control heating Dataloggers/Controllers/Rate of Rise Meters 4 08/01/2023 9:11 AM
Artisan PID turns heater back on during cool down Dataloggers/Controllers/Rate of Rise Meters 2 07/03/2023 12:31 PM
Problem with electric control Quest M6 Coffee Roaster Quest M3 Roaster 27 06/20/2023 3:39 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 © 2024 PHP-Fusion Inc
Released as free software without warranties under GNU Affero GPL v3
Designed with by NetriX
Hosted by skpacman