75Views4Replies

Author Options:

How to position my LEDs in a circuit? Answered

Hi there,

I'm currently doing some soldering, at this moment I got the following:

2 batteries (that both got 1 connector for the output and 1 connector to charge) connected to a 4PDT switch. Half of the switch connects the batteries to the charger the other half (the output) goes to a DPDT switch. It's wired so that the battery that's not being charged is used for the output.

The DPDT switch is used to switch between the selected battery and the optional 230V AC -> 12V DC adapter.

Now I'd like to add some LEDs, for the following purposes:

LEDs to show which battery is being charged - should be on if a battery is actually being charged.
LEDs to show which battery is being used - should  not be on if the 12V DC adapter is being used.
LEDs to show if a battery or the wall adapter is being used.

I thought I'd put one pole of each LED before the switch and the other one behind the switch, is this the right solution?
If this is the correct way, would it be recommended (when working with the switch for the batteries) to put the + side of one LED before the switch and the + side of the other LED behind the switch?

Kind regards,

Niels



Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
frollard
frollard

8 years ago

Sounds like a neat setup. before digging deeply into it - is there a reason to have the 2 (sets of) batteries at all? Can you not just run all the time on the charger and all the batteries in parallel? That charge-discharge cycle could be wearing your batteries out unnecessarily.

0
Niellles
Niellles

Answer 8 years ago

At this moment I can't really think of a reason why your suggestion wouldn't be practical. I'll just think about it for a bit.

Thanks a lot!

0
frollard
frollard

Answer 8 years ago

To clarify, always plugged in charger (with smart 'off' charging) plugged into battery running your device. If power goes out, device keeps going, if power is on, battery is topped up until not needed. There are a few ways to use a diode to ensure external power is used until the battery is required.

0
Niellles
Niellles

Answer 8 years ago

Yeah, I got that figured out. Thanks!