csdave
Member level 5
Hi all,
I am building a DC controlled AC-switch along the lines of this Controllable Power Outlet - SparkFun Electronics
see also my previous thread about the choice a relay here:
https://www.edaboard.com/threads/202070/#post862607
The major differences are that I am using a flanged-mount relay to keep the AC off the circuit board, and that I added a monostable-configured 555 to keep the relay on for about 30sec - 1Min.
I am wondering about two things.
1)
I am planning to use batteries driving a 7805 to power the DC control circuit. The power requirements of the relay coil are such that batteries would last long enough with standard usage.
The problem is: should I protect the batteries and or the 7805 with anything other than the diode in parallel with the relay coil? Do I need a fuse on the DC side or an additional diode to prevent backward current flow?
2)
I am thinking of enclosing everything into a plastic box and letting the AC come in and out using a standard AC extension cord. The neutral wire being bridged directly from input to output, and the phase wire going through the relay.
On the DC board, among the other things I would have a potentiometer to tune the 555 monostable period. I wonder if I can let the plastic rod on the potentiometer exit the box, or if I should leave it inside to avoid risks. The only way I see for AC reaching it is a failure of the relay.
Thanks to all for your help
Davide
I am building a DC controlled AC-switch along the lines of this Controllable Power Outlet - SparkFun Electronics
see also my previous thread about the choice a relay here:
https://www.edaboard.com/threads/202070/#post862607
The major differences are that I am using a flanged-mount relay to keep the AC off the circuit board, and that I added a monostable-configured 555 to keep the relay on for about 30sec - 1Min.
I am wondering about two things.
1)
I am planning to use batteries driving a 7805 to power the DC control circuit. The power requirements of the relay coil are such that batteries would last long enough with standard usage.
The problem is: should I protect the batteries and or the 7805 with anything other than the diode in parallel with the relay coil? Do I need a fuse on the DC side or an additional diode to prevent backward current flow?
2)
I am thinking of enclosing everything into a plastic box and letting the AC come in and out using a standard AC extension cord. The neutral wire being bridged directly from input to output, and the phase wire going through the relay.
On the DC board, among the other things I would have a potentiometer to tune the 555 monostable period. I wonder if I can let the plastic rod on the potentiometer exit the box, or if I should leave it inside to avoid risks. The only way I see for AC reaching it is a failure of the relay.
Thanks to all for your help
Davide