I've been cramming electronics into my brain all week and most of it has actually been staying in. But I have a couple questions I havent been able to grasp or find answers to on this or other sites. Sorry if they seem trivial.
I'd like to control 2 strands of rgb leds(5050s) as well as a 1W rgb led using an Atmega328 with a ULN2803 and some N Channel Mosfets. I've been using an Arduino Uno but I'd like to try making my own PCB with the 328.
My first question is, the led strips take 12v while the microcontroller of course takes 5v. All the examples I've seen on the internet have the setup being powered by two power sources(12v and 5v.) Is it possible to use just one 12v source to power the lights and the 328 chip with a 7805 voltage regulator? If not, is it possible to use a 5v power source to power the micro while bumping up the 5v to 12v to supply power to the leds?
Also, with that 1w led, would I need a driver or is the ULN2803s 500mA output rating be enough to not need one?
I'd like to control 2 strands of rgb leds(5050s) as well as a 1W rgb led using an Atmega328 with a ULN2803 and some N Channel Mosfets. I've been using an Arduino Uno but I'd like to try making my own PCB with the 328.
My first question is, the led strips take 12v while the microcontroller of course takes 5v. All the examples I've seen on the internet have the setup being powered by two power sources(12v and 5v.) Is it possible to use just one 12v source to power the lights and the 328 chip with a 7805 voltage regulator? If not, is it possible to use a 5v power source to power the micro while bumping up the 5v to 12v to supply power to the leds?
Also, with that 1w led, would I need a driver or is the ULN2803s 500mA output rating be enough to not need one?