With a transformer already isolating the circuit, zero crossing could be simplified to this:
Depending on the current handling of the input protection diodes of the micro, you may be able to just use a resistor.
Also, I don’t know anything about the HC08 but using the MC9S80ACMB part number at Mouser, references to a MC9S08AC16 part shows the power pins 20 & 21 are backwards in your layout.
WireWrap wrote:To operate at 110/220, you need dual 110v primaries in the transformer. Then for 220 you have the primaries in series, while for 110 they are in parallel.🙂
oops - - yeah - that would probably work better... The current RenSS do not have this but the Ren24 does using THIS transformer.
I am using transformer 3FS-312 - single primary.
I modified my transformer part so that the footprint also took a 3FD-312 - which is a dual primary - place then in series and its 220v. I have also added to jumper to the layout.
I have beefed up power and ground to the SSRs - either .10 or .009 mil depending on routing and DRC clearances. Power/Gnd to micro is .07.
I have removed a secondary ecap - not needed - ans added a .1 uf to the VREG (good comment from n1ist).
Thanks again for any and all comment.
Latest board is attached.
Joe
Originally posted by ErnieHorningAlso, I don’t know anything about the HC08 but using the MC9S80ACMB part number at Mouser, references to a MC9S08AC16 part shows the power pins 20 & 21 are backwards in your layout.
I owe you a beer young man. My dyslexia with VDD and VSS - had it wired backwards. - Thank you very much for taking time to make a detailed review.
I considered just using the input for ZC - but - from a software perspective - I wanted to detect a little before ZC on both halfs of the power cycle and the led drop from both leds should provide that better than using an input. This "just before" ZC event will provide time to disable drives to the SSRs so that at true ZC - the triacs will turn off.
This should prevent a race condition at the onset pwm'ing producing stable dimming.
Again - thanks for the catch - I am totally embarassed.
Joe
How do you select betwen 110 and 220? The Ren24 used a jumper or two to select either way - might be handier than running wire jumpers or something. You can stick with one transformer for either mode then.



