Introduction: Multifunction RGB LED Controller Using PIC12F675

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


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 3: RGB Strip Connection

Picture of RGB Strip Connection

Step 4: Vero Board Assembling

Picture of Vero Board Assembling

Step 5: Finished Board

Picture of Finished Board

Step 6: PIC12F675 Programming

Picture of PIC12F675 Programming

IDE: Mplab
compiler hitech-c compiler
Programmer topwin 2007

Step 7: Prototype Pictures

Picture of Prototype  Pictures

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

Comments

subarna sekhar das (author)2016-09-18

the project is quite interesting, could you kindly share the "mikro c" code plz my e- mail : subarna31286@gmail.com

plz sir, thank u

KWood86-535i (author)2016-06-23

I am looking to build this for an undercabinet lighting system. I would like to ad a mode could you please send me the C code.

padmanabhan.k (author)2015-06-05

Hi sir,

the project is quite interesting, could you kindly share the code pl.

regards

padmanabhan

supun.kumara.2012 (author)2015-04-13

I am working on some similar project, may i recieve the C code? Thanks!

halebopp76 (author)2015-04-08

Hi Justin, I am starting a computer engineering course at my school and would like to try building this. I have everything already except the LED strip, but that is easy to come by. Can you also if possible send me the programming (PICBasic or even in a text file) so that I can get my students to perhaps just program one sequence? This is VERY COOL!!! email:jbiro@cogeco.ca

razwithz (author)2015-02-17

Hey! I was asked to do a simple pic project for school and this is great, but I have to understand and explain how the code works and I see you only posted the .hex file, could I get the original code please to razielconz.7@gmail.com? You'd help me out a lot!

Also, do you think something similar could be done to drive an RGBA luxeon-like LED?

SupuniG (author)2015-02-11

Hey im really intrested in tihis project. however i want to do it with a pic16f877a. so can u give me the code if u can?

supunig@gmail.com

thank you in advance =D

dietersoares (author)2015-02-06

Hey. I am working on some similar project, may i recieve the C code? Thanks! dietersoares@gmail.com

MirceaL (author)2014-12-25

Hello, nice job. Could you please share the code and not just the hex file. I want to try something similar and would greatly appreciate your help.

Thanks in advance. mircea.lupas@gmail.com

nikolaseiN (author)2014-11-29

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

albafik.ar (author)2014-09-19

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 :)

jsreis (author)2014-09-15

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

jorge.s.reis@sapo.pt

AleYA1 (author)2014-07-20

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

ava_1130@hotmai.com

ajm2 (author)2014-05-21

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

releite (author)2014-05-06

releitef@gmail.com

tanks again !

releite (author)2014-05-05

Hello, can you send the code for me ? Tanks

hemcrop (author)2013-10-26

aclark32 (author)2013-10-08

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)aclark322013-10-09

hmm no...
The 12F629 is almost exactly identical to the 12F675
- the only difference is that it does not have an ADC.

aclark32 (author)Jestin_Cubetech2013-10-09

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...

About This Instructable

30,521views

35favorites

License:

Bio: embedded system enthusiast ...
More by Jestin_Cubetech:Wireless Robo-car  using  360°  servo motorRaspberry Pi - Revision 2  DIY Add-On Boardwater tank automation - prototype
Add instructable to: