I need the ability to power on/off an LM7805 with an Arduino pin.
I've thought of something like this: [see attached file "export_power.png"]
The idea is to connect "POWER_SIGNAL" to an Arduino analog pin & set it to LOW -> switch on or HIGH -> switch off
Is this a good idea or something completely crazy? Is there a better approach?
A bigger part of the project looks like this: [see attached file "export.png"]
J{1,2,3} are 3 RGB strip led common cathode
SV1 is connected on the other side to a TLC5940 ; except pin 6 which is directly connected to an Arduino pin
There will be 5 board of this type connected to 3 TLCs ; all "POWER_SIGNAL" will be connected to the same pin
No, you can't drive base of the transistor by arduino output pin, as there is high voltage +12V, which is above absolute maximum +5.3V.
You need one more 2N3904 to match levels
Magician:
No, you can't drive base of the transistor by arduino output pin, as there is high voltage +12V, which is above absolute maximum +5.3V.
You need one more 2N3904 to match levels
Thanks Magician
As suggested, I've added one more 2N3904, (which invert the logic in my first post => "set it to LOW -> switch off or HIGH -> switch on")
Now I have to calculate R1/R2 values, and be sure that I can connect 5 identical circuits on the same pin... IIRC Aduino pin can deliver 40mA
Bests
I've found multiple hfe values in datasheet (an extract is attached), which refers to different Ic
If I understand things correctly, Ic in the datasheet is equal to Ic2 in the given formula, which is equal to the current consumption of my circuit.
I've took my amp-meter, and measured ~10mA. But in my test circuit, I have only one 7404 / uln2003 pair.
My final circuit will have 3 uln2003 and 2 7404. So, from the datasheet, I've took the next value ; hfe=60
I've also chosen hfe1 = 60 & hfe2 = 60 too... Maybe it's a bad idea :s
Excellent!
Now time to recalculate again
I have a second look at your drawings with ULN2003 and 7406 or 7404?
If it SN7406, open collector - 6 resistors is wired not correct;
SN7404 - you don't need resistors at all.
Magician:
Excellent!
Now time to recalculate again
I have a second look at your drawings with ULN2003 and 7406 or 7404?
If it SN7406, open collector - 6 resistors is wired not correct;
SN7404 - you don't need resistors at all.
Thanks !
Just tested the "power schematic" here, and it seems to work well...
I've just added a pull down resistor (1Mohm) before R1...
I'm using "DL004d" which are from my vendor equivalent to "74LS04",
So with your comment, I've removes resistors R11 through R19.
Yes, it suppose to be very sensitive.
Change polarity led1 and led2 on your drawings, and update chip label and symbol - circle mark on outputs of 7404 is confusing.
Magician:
Yes, it suppose to be very sensitive.
Change polarity led1 and led2 on your drawings, and update chip label and symbol - circle mark on outputs of 7404 is confusing.
hum, yes, very sensitive, even with my finger at 1 or 2 millimeters !
Thanks for led1/led2 polarity
Replaced chip 7416 with the correct one 7404. But I don't understand which symbol you want me to use.
Actually, it's fine , geda shows two library image for 7404, with circles at input and output. I just used to drawings, that show inputs on left and outputs on the right. Probably, there are no such agreement anymore?
yes, I've used LM2576 switching regulator which have an on/off pin.
They're not linear voltage regulator as the LM7805, and are much expensive.
I don't really know if linear voltage regulator with an on/off pin exists.
bests