Encuana
Newbie level 2
- Joined
- Jan 11, 2015
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 26
I've been looking for a way to control 12V with a 5V source, to control some LED strips with an MCU. Obviously the MCU isn't powerful enough to directly control the strips, but there is a problem that outcasts relays. I want to use hyper blinking (my word for rapidly turning on and off) to control the brightness of the LED's. A relay simply wouldn't be fast enough, since I'm looking for "blinks" in terms of 50Hz to 1000Hz.
I've come op with two solutions myself, but I'd like to hear some opinions on my ideas.
First of, I want to use a simple converter that makes 12V out of 5V. I worry though that the component will have a delay too big that will mess up my blinking. Also, I worry that my power source (a USB charger so far) will be too weak once its voltage has been upped. The converters I've found so far have an output of about 165 mA, if I stay at prices fun enough for a little project like this. I wonder if this is enough to power, say, 150 LED's at a time.
The second solution I figured uses a transistor. This would allow me to use a full 12V 500mA source to power the LED's, like they should be, and shouldn't have any lag or delay. I just wonder a transistor used to control a 12V current can be controlled by a 5V signal, which would come from my MCU. If this works, I'd definitely prefer this option.
Hope you guys can give me some advice!
I've come op with two solutions myself, but I'd like to hear some opinions on my ideas.
First of, I want to use a simple converter that makes 12V out of 5V. I worry though that the component will have a delay too big that will mess up my blinking. Also, I worry that my power source (a USB charger so far) will be too weak once its voltage has been upped. The converters I've found so far have an output of about 165 mA, if I stay at prices fun enough for a little project like this. I wonder if this is enough to power, say, 150 LED's at a time.
The second solution I figured uses a transistor. This would allow me to use a full 12V 500mA source to power the LED's, like they should be, and shouldn't have any lag or delay. I just wonder a transistor used to control a 12V current can be controlled by a 5V signal, which would come from my MCU. If this works, I'd definitely prefer this option.
Hope you guys can give me some advice!