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.

allenb
11-15-2018 13:26
Cwilli62 Welcome

JackH
11-14-2018 10:26
Welcome joycan coffee drink

JackH
11-12-2018 08:50
welcome2 gtroaster15

JackH
11-09-2018 12:21
Welcome SPQR

JackH
11-07-2018 21:29
welcome2 John brown

Shoutbox Archive
Users Online
Guests Online: 2

Members Online: 0

Total Members: 5,573
Newest Member: sitanggang
Donations
Donations Bank

Latest Donations
PRABHATH COFFEE WORKS - 10.00
John Despres (Scene... - 25.00
snwcmpr - 10.00
Ozo - 20.00
Josh Woodrow - 10.00

View Thread

Homeroasters.org » DATALOGGERS - CONTROLLERS - RATE OF RISE METERS » Dataloggers/Controllers/Rate of Rise Meters
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 02:06
DIY: TO based IR to bean 800g
Moded commercial: Dieckmann RoestMeister, Nesco, popcorn.
PID/ramp/soak controllers, MS6514 USB/Artisan/Apps/popC/ESP32
Grinder: mod'ed Porlex to 47 conical burrs
 
chaff
Nice going !

Can I take it we are at one now with Artisan's PID ? :)
Would connecting the SSR to 5v and signal out get around the startup issue ?
 
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
Breville Dose Control Pro GRINDERS 21 09-12-2018 11:07
Quest Control - TC4 Interface Dataloggers/Controllers/Rate of Rise Meters 9 07-26-2018 09:15
AC fan control Dataloggers/Controllers/Rate of Rise Meters 11 07-11-2018 04:58
Linux can NOT control my new Hottop B-2K+ HotTop Roaster 2 06-18-2018 15:39
Heater and Blower Fluidbed Roaster 11 06-14-2018 12:22
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 © 2018 PHP-Fusion Inc
Released as free software without warranties under GNU Affero GPL v3
Designed with by NetriX