0
\$\begingroup\$

Complete novice at electronics, how can I connect this LED cluster to an Arduino?

I have a 12V battery pack to power it.

If you are able to provide wiring diagram / fritzing that would be much appreciated.

\$\endgroup\$
2
\$\begingroup\$

This is a good candidate for the use of a mosfet. It will introduce a very small voltage drop which depends on the RDS-ON characteristic and the load current.

schematic

simulate this circuit – Schematic created using CircuitLab

The mosfet is on a N type and should be a logic level model so that is can turn completely on and have a small resistance with 5v drive.
Resistors R3/R4 are no really needed for mosfets since there is no gate current for static operation but I usually add them to provide some isolation to the I/O pin in case something goes wrong with the mosfet.

|improve this answer|||||
\$\endgroup\$
2
\$\begingroup\$

A typical Arduino solution would be something like this:

schematic

simulate this circuit – Schematic created using CircuitLab

See other Q's here about calculating resistor values and choosing transistors.

For example a suitable value for R2 might be (V2 - Vf(d2))/If(d2) where If << If(max).

See also Switching 9V using a NPN transistor and an Arduino


Here's that circuit

enter image description here


With only 1V of headroom between V2 and Vf, uncertainty in Q2's Vce(sat) may make it hard to pick R2 without some conservative experimentation.

You might therefore also find it fun to look at Olin's answer to this other question and Alexan_e's answer to this one and work out a solution that would work better. You can't use Olin's answer directly because you have a common-anode LED-module that needs a low-side switch. But PNP solutions can often work in a complementary way to NPN solutions, so long as you take into the account the subtleties referred to in Alexan_e's comment (and described more fully in his answer linked to above). (n.b. there may be other gotchas)

|improve this answer|||||
\$\endgroup\$
  • 1
    \$\begingroup\$ The led cluster he mentions have a Vf of 9 and 11v (typical values) so an emitter follower driven from an Arduino I/O (5v) would not work. \$\endgroup\$ – alexan_e Feb 26 '14 at 16:09
  • \$\begingroup\$ @alexan_e: Please elaborate: So long as the Arduino can raise the base ~0.7V above GND, shouldn't enough current flow into the base to allow collector current from the separate 12V supply? \$\endgroup\$ – RedGrittyBrick Feb 26 '14 at 16:13
  • \$\begingroup\$ I was referring to Olins solution you mentioned, this emitter follower. The emitter output will be about o.6v lower than the base so with 5v input the emitter will be at about 4.4v which will not make this particular cluster light. Isn't that what you were referring to, I'm not sure what you meant by "inverted PNP version" \$\endgroup\$ – alexan_e Feb 26 '14 at 16:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.