But why would you want to???Reason for 5v relay is I want to control the 12V relay w/ a battery pak (3-AAA batteries)
No. They rectify the 24VAC. Your 12V wall-wart is (as shown) putting out AC so would need a diode (preferably a diode bridge) to rectify that and prevent the rectified 24V supply (right-hand transformer) from driving current through the wall-wart.I think the diodes rectify it?
Unless you're using umpteen Farads as a smoothing capacitor your 24V power supply will settle down in milliseconds. Consider a transformer winding resistance of 20 Ohm (that's erring on the generous side) and a smoothing capacitor of 1000uF the time constant is 20mS. Add on, say, 50mS for the micro to initialise. So 100mS tops should be enough. 8 secs is way too much. You could add an LED to indicate when the micro has switched on the relay; then just press the button and wait for the LED to light (almost instantaneously).Why just a fraction of a second? Why not say 8 seconds. Time for everything to settle down?
THINK ENERGY SAVING. Why have the transformer running 24/7
You seem pretty passionate about this. Care to explane? I think in the end it all adds up and we can help by shuting off what we can. Andy"Vampire power" is grossly overrated. If you are serious about energy saving, buy a $20 Kill-A-Watt P4400 wattmeter. Now see if you can get that 12V, 500 ma wall-wart to even read ONE watt with an unloaded secondary. It probably won't - this idea that they are all burning off hundreds of watts on standby is a load of BS.
No appreciable delay needed. Once powered up (<100mS) the PIC should take only a few mS at most to initialise. Its first task then should be to switch on the relay. So from pressing the button to the relay pulling in is just the blink of an eye.WHAT no OFF delay so the PIC has time to take control of circuit?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?