Multifunction RGB LED Controller Using PIC12F675

by Jestin_Cubetech in Circuits > Microcontrollers

43376 Views, 40 Favorites, 0 Comments

Multifunction RGB LED Controller Using PIC12F675

F0CSULGHM8DLP0C.LARGE.jpg

multifunction RGB LED controller using low cost PIC12F675 microcontroller.

features:
1, 4+1 mode operation a single potentiometer and single button switch used for multiple operation
2, EEPROM Memory option for mode selection :- the last mode will be saved.

3, mode1 automatic hue saturation RGB LED light color pattern - potentiometer is using for vary the color changing speed.
4, mode2 Manually select a color from hue saturation color chart using pot.
5, mode3 Temperature Indicator blue color represent low temperature and red color for high temperature
6, mode4 White light potentiometer used for vary light brightness
7, mode5 OFF potentiometer operation is disabled


Circuit Diagram

circuit.JPG

Components List

components.png

components list

1, PIC12F675 and 8 pin base
2, BD139 - 3
3,1uf capacitor
4, 330E - 3
5, 470E 1
6 Green LED -1
7, 10K POT
8, berg strip female 1
9, berg strip female 1
10,RGB LED strip
11,button switch
12,DC jack
13, LM35 temperature sensor

RGB Strip Connection

RGB_LED_strip_joiner_10mm.jpg
DSC_0147.jpg
DSC_0149.jpg

Vero Board Assembling

Capture.JPG
DSC_0011.jpg
DSC_0150.jpg
DSC_0027.jpg

Finished Board

DSC_0155.jpg
DSC_0156.jpg

PIC12F675 Programming

TOP2007-320-1.jpg
untitlffed.jpg
untitlereed.jpg
untitled.jpg

IDE: Mplab
compiler hitech-c compiler
Programmer topwin 2007

Prototype Pictures

rgb (10).jpg
rgb (8).jpg
rgb (7).jpg
rgb (6).jpg
rgb (5).jpg
rgb (4).jpg
rgb (3).jpg
DSC_0170.jpg
DSC_0172.jpg
DSC_0173.jpg
DSC_0174.jpg
DSC_0175.jpg
DSC_0176.jpg
DSC_0177.jpg
DSC_0179.jpg
DSC_0180.jpg

RGB LED Controller

Mode 1 : Automatic

Mode 2: Manual

Mode 3: Temperature Indicator

Mode 4: White Light

Source Code

PIC12F675 configuration settings:

hitech c configuration word:
__CONFIG(FOSC_INTRCIO & WDTE_OFF & MCLRE_OFF & CP_OFF );

------------------------------------------------------------------------------------------------------
Osc Selection : internal RC Oscillator [it saves 2 GPIO pins ]
Watch dog timer : off
Reset option : Reset pin internally connected to Vdd [it saves 1 GPIO pin]
Code Protection : off

Downloads