RGB LED Controller using Atmega328

RGB LED Controller using Atmega328


This is a 3-channel, PWM based current-adjustable LED driver designed for RGB LED control. The circuit has been designed to control high current RGB LEDs or RGB LEDs strip. Colors of the three RGB LEDs can be set using 3 potentiometers, different colors are possible by adjusting these potentiometers.

We have used ATmega328 microcontroller to generate 3 PWM signals by reading analog inputs. These analog inputs are connected to 3 potentiometers. PWM outputs interfaced with gates of 3 x IRLR7843 MOSFETs which drive the high current loads. MC78M05 IC used to power the Atmega328 chip with 5V DC. The operating voltage of this circuit is 12V DC and each channel can drive a continuous load current up to 600mA or 1 A with cool air. Screw terminals provided for an easy connection for RGB LED strip or RGB LEDs. The circuit can drive 12V RGB strip/12V RGB LEDs. Any RGB LED strip with RGB and +V connection will work with this board or use a common anode RGB LED.

RGB LED Controller using Atmega328 – [Link]

Mike is the founder and editor of Electronics-Lab.com, an electronics engineering community/news and project sharing platform. He studied Electronics and Physics and enjoys everything that has moving electrons and fun. His interests lying on solar cells, microcontrollers and switchmode power supplies. Feel free to reach him for feedback, random tips or just to say hello :-)

view all posts by admin
Notify of
Inline Feedbacks
View all comments