Dennis,
Very through work !, and good questions.
Your diag had diodes in wrong places.
1) too much current draw will drop voltage to PIC to a point of no-operation,
thats why my ckt had 12V ZD and 5V reg, it provides smoother supply.
2)you have to insert DC ammeret (can be digital meter) in wire supplying PIC and other circuit.
3)Probably getting toward your 30MA, keep draws as small as possible, example---2MA led
4) C1 drops most voltage but most all parts are critical for operation
5)C1 is the current limiter, could use 600VAC rated part which is larger than say 250V part
-R1 developes heat by the amount of -- Current squared times Resistance
- also Z diode makes a little heat -----Z voltage times current through it (can measure or estimate
6) use an OPTO triac driver then any triac of the amps you need is OK
7) use 200 to 500 ohm to drive the triac driver depending on the opto chosen
8) consider added power used (more current) by added parts, within range of designed supply components
9) full-wave bridge makes use of pos and neg cycle of ACV, where 2 diodes only uses 1/2 cycle and the other 1/2 cycle is just wasted. bridge rectifiers come in dip package up to 1000 volts.
10,11,12,13,1,2))) If not using Z crossing, you could hook 10 or 20 volts from an ac or dc supply to test,adjust, ICSP then after all working hook to 110/220 power.
I think touch-sense sw's would be possible shock hazzard due to lack of higher voltage isolation, at some point Transformer isolation makes more sence.
I made some push-button 110V fan timers with this circuit, fits in wall switch box, never skipped a beat or burned one up, so I was addressing the same issues as you.
good luck,
don
amgen
Bookmarks