Instructables
Picture of multifunction RGB  LED  controller  using PIC12F675

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


 
Remove these adsRemove these ads by Signing Up

Step 1: Circuit diagram

Picture of circuit diagram

Step 2: Components list

Picture of components list

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

Step 4: Vero board assembling

Picture of vero board assembling
DSC_0011.jpg
DSC_0150.jpg
DSC_0027.jpg

Step 5: Finished board

Picture of finished board

Step 6: PIC12F675 Programming

IDE: Mplab
compiler hitech-c compiler
Programmer topwin 2007

Step 8: RGB LED controller

Step 9: Mode 1 : automatic

Step 10: Mode 2: Manual

Step 11: Mode 3: Temperature indicator

Step 12: Mode 4: white light

Step 13: 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

nikolaseiN21 days ago

Hello, great project. Please could u share ur code. Thanks. anrchavez@gmail.com

albafik.ar3 months ago

Hello, the project looks great, could send the hex code. please and thank you for sharing blissful project.

this is my email: waz_xero@hotmail.com :)

jsreis3 months ago

Hello, Could you please send the code looks like a nice application and like to try it.Thanks,

jorge.s.reis@sapo.pt

AleYA15 months ago

Hello, can you send the code for me ? Tanks :D

ava_1130@hotmai.com

ajm27 months ago

Hello, can you send the code for me ?
kuro.neko.shini@hotmail.com
Tanks :3 !

releite7 months ago

releitef@gmail.com

tanks again !

releite7 months ago

Hello, can you send the code for me ? Tanks

hemcrop1 year ago
aclark321 year ago
can this code be put on a pic 16f627-04/p chip? it has 8 legs but im sure I could put it in the circuit if the code would work.
Jestin_Cubetech (author)  aclark321 year ago
hmm no...
The 12F629 is almost exactly identical to the 12F675
- the only difference is that it does not have an ADC.

thanks for the reply and the code... looks like Im just gonna have to go buy me a 12f675 then. Im lucky enough to have an ESCO store in my city and they stock just about any pic controller you could want.. they stock a lot of other stuff too... the only part Ive ever had to order there was a mosfet for a Rockford fosgate amp I was repairing... look for one in your area.. its called ESCO,,, Electronic Supply Company...