I've three sets of 24v LEDs with 40 LEDs in each set and would like to turn them on and off using an Uno. Should I use the transformers through a transistor and switch them with the arduino? If so what type of transistor should I get?
Alternatively I could use something like the RGB LEDs here:
...although is it possible to power a number of them in series? I'd like to be able to change the colours as a whole but don't need them to be individually addressable.
Type of transistor to use will depend on the current to be controlled. For high current, low voltage loss, a Logic Level, Low Rds, Low Gate Capacitance N-Channel MOSFET is ideal.
Common anode or common cathode RGB LEDs cannot be wired in series, only in parallel.
There are surface mount RGB LEDs that have separate anodes & cathodes (6 pin packages), and these could be wired in series, with a current limit resistor needed per color.
...so was wondering if I wired them up to switch through a relay or MOSFET or something, could I turn them on and off?
There should be a label on the transformer.
What is the voltage and current ratings for the transformer?
That should give you a good idea of what you will need.
ieee488:
There should be a label on the transformer.
What is the voltage and current ratings for the transformer?
That should give you a good idea of what you will need.
Hmm.. I've found they are often vague, and don't even indicate if the voltage is regulated or not. Better to measure!