*Actually the H11A1 optocoupler has two led antiparallel
How it works:
the Output of the H11A1 (pin 5) goes to an hardware interupt of the uC
this pin is LOW on both semi-periods of the AC sinewave
and becomes HIGH on the zero cross
like that:
Green : AC line
Blue : Zero cross output
each resistor is 20K 2W for the 230VAC
the uC resets the timer on each zero-cross detection
and fires the Triac through the MOC3021 after the "PID_out" time
Yellow : the optocoupler led drive
the minimum time ( Higher Voltage ) is 0mSec and the maximun time ( Lower Voltage ) is 10mSec
I did somthing very similar, i tested it with a light bulb that dims
Just a quick question, i would like to read this "controlled wavform" back into a plc/labview. How would you suggest this be done ?
Thanks
Hello hercules nice project of yours!!!!!!!
First of all what you intend to do so many birds?Hope to sell them because believe me i have 2 parrots and the one of it is a REAL PAIN IN THE ASS!!!!!Fantastic pcb did you develop it by yourself?Also you say that the circuit reads the ac frequency and it sets the dimmer parameters accordinally.Why is that?I mean the mains frequency isn't stable to your house?
Herctrap, the writeup is excellent and the PCBs are awesome! The only thing that i am afraid of is this "overkill" temperament of yours... I hope you have installed the correct heating lamps, and that the birds that will come to life will not be roasted :D You did not change the lamps that your grandfather installed, did you :D
What happened with the single egg incubator project? Will you develop the first "chicken of the tube" or not?