Thread subject: Homeroasters - Home Roasting Coffee Community :: SR800/SR540 Fan Current TC4+

Posted by Cymen on 02/06/2023 3:47 PM
#80

I've read through this thread a bunch of times and I think I understand it. Basically:

- RobotDyn dimmer is used for zero-crossing in order to time the phase angle pulses
- two opticouplers are attached -- one to the transistor used to control the heater and the other the transistor for the fan, have to use resistor for 12v on the side of the opticoupler to the roaster and different resister on the side towards our microcontroller for 5v/3.3v


Would something like an ESP32 be fast enough to run the loop to handle this? I assume you can hook up the zero crossing pulse to an interrupt? Some of the ESP32 variants actually have two CPU cores and I wonder if it might be possible to dedicate one to the lower level "talking to the hardware" part with the interrupt handler and the other to adding some kind of API exposed via wifi/BT to interact with the roaster from an app running somewhere else (ie phone/laptop/etc).

Am I right in understanding on the lower level, the zero crossing happens and the pulses of the correct duration have to be triggered every time to maintain the current fan/heat settings (or be slightly different to alter them)? I'm a software developer who can solder and tinker with microcontrollers but on a fairly superficial level so that's the perspective I'm working from (ie I made a bread dough warmer with an ESP32, temperature probe and an SSR).

After using my SR800 for a while, I'd love to be able to hook in like this with fairly minimal changes to the roaster itself.

Edited by Cymen on 12/31/1969 6:00 PM