C
Cauley Felps
Guest
Hi,
I'm building a PIC-based MIDI timecode LED display from the web. I'm
mounting it in a small enclosure I have, and would like to use the
existing power switch (a SPST tactile button).
I found a schematic for latching power using 4 transistors here:
http://www.edn.com/article/CA472837.html
I changed the resistor values for my 5v supply and plugged it up on a
proto board. It seems to work OK, other than the fact that it powers
up in the "on" state (I didn't think that was normal).
There's a 7805 regulator in the PIC circuit with a 2200uF and 330nF
cap parallel across the input and ground, and a 10uF and 100nF
parallel on the regulator's output and ground. There's also 4- B40C800
diodes, so it can take AC or DC, but I've been testing it with a nice
clean 12vDC supply going straight to the 7805 and filter caps.
I planned to use a small 120AC to 12V transformer when I put it
together. I may also stick a DPDT 120V slide switch on the back panel
to kill the power completely.
Does all this sound like the most logical way to go about it? If so,
is the transistor/latch circuit OK after the regulator and filters, or
would it dirty up the power feeding the PIC and LED's?
I'm open to any other suggestions on the power supply or latch
circuit.
Please reply in the newsgroup
(and thanks a lot)
George
FWIW- my values came out to
R1- 10M R6- 2.3M
R2- 470k R7- 5M
R3- 2.3M R8- 500k
R4- 1k R9- 5K
R5- 50k
the cap stayed at 1uF and the transistors were BC547's and 557's.
R1 started at 2.3M, but it would switch back on if you held the button
for more than a split second while turning it off.
I'm building a PIC-based MIDI timecode LED display from the web. I'm
mounting it in a small enclosure I have, and would like to use the
existing power switch (a SPST tactile button).
I found a schematic for latching power using 4 transistors here:
http://www.edn.com/article/CA472837.html
I changed the resistor values for my 5v supply and plugged it up on a
proto board. It seems to work OK, other than the fact that it powers
up in the "on" state (I didn't think that was normal).
There's a 7805 regulator in the PIC circuit with a 2200uF and 330nF
cap parallel across the input and ground, and a 10uF and 100nF
parallel on the regulator's output and ground. There's also 4- B40C800
diodes, so it can take AC or DC, but I've been testing it with a nice
clean 12vDC supply going straight to the 7805 and filter caps.
I planned to use a small 120AC to 12V transformer when I put it
together. I may also stick a DPDT 120V slide switch on the back panel
to kill the power completely.
Does all this sound like the most logical way to go about it? If so,
is the transistor/latch circuit OK after the regulator and filters, or
would it dirty up the power feeding the PIC and LED's?
I'm open to any other suggestions on the power supply or latch
circuit.
Please reply in the newsgroup
(and thanks a lot)
George
FWIW- my values came out to
R1- 10M R6- 2.3M
R2- 470k R7- 5M
R3- 2.3M R8- 500k
R4- 1k R9- 5K
R5- 50k
the cap stayed at 1uF and the transistors were BC547's and 557's.
R1 started at 2.3M, but it would switch back on if you held the button
for more than a split second while turning it off.