My maths is terrible, so I need a little help here please.
I need to dim 40 mains lamps from 1 PIC. Because I want to spread the mains switching over several PCB's, I would like to use the Philips PCF8574 I2C to 8 output chip, and I would of course need 5 of these. These 8574's would in turn drive opto isolated Triacs, driving each lamp. There would also be a opto isolated zero crossing detector connected directly back to a PIC pin. My idea is to start a counter in the PIC at the start of each cycle, and turn on the required lamps at various times within the cycle, to give me the different brightnesses. At the end of the cycle I would turn all the outputs off, and start the whole sequence again at the next crossing.
My questions is, would the I2C write cycle be too long for me to get sufficient control of the lamps?
PS. I think I can live with the lamps not being absolutely full brightness!
TIA
Mark in Spain.
Bookmarks