LED Strips controlled in PWM

with PIC 12F683, for home or car

ATTENTION: Who created this or other projects on this web site, please can send me on my email photos of his accomplishments? I would like to put it here on-line so that they are visible and can serve as a starting point for new ideas, different realizations or changes, following in this way the spirit of this site which is in favor of disclosure and knowledge of electronics free of charge.
Also, if you, while sending photos of your prototypes, authorize me to put on-line together with the photos at least your name and your email, you will be contacted or you can contact another user who made the same project in order to do together of constructive confrontation.
Thank you in advance, Tony

 

After receiving several requests for the pilot of the famous Strip Led White / blue / red / green etc. ... I posted this project. The particularity of this project is that with a single button you manage on and off most of the strip brightness adjustment with memory.

Operation

As shown in the circuit diagram, led strips in question must be powered at 12VDC, therefore the scheme requires 12V power supply for the strip, as well as the 5V to power the micro and the transistor. The scheme is intended for 12V power supply, if you want to use in the car, the components are to be excluded ONLY the transformer and the rectifier bridge. Who thought of eliminating the controller 7812, do not do because the voltage of the car battery can rise above 14V irreparably damage the strip of LEDs when exposed to that voltage for more than a few minutes.

The button, when pressed for a time less than 400mS is used to turn on or off the strip of LEDs, if you hold it down for more than 400mS, then an increasing ramp that when reaching the maximum value is reversed in descending ramp for adjusting the brightness of the strip. This value is stored for subsequent start-ups without having to set it every time. On power, it throws a ramp that starts from zero up to the preset voltage value, by doing so you avoid sudden surges of current on the LEDs, prolonging battery life.

The Led

These LED strips are usually sold or per meter or per piece, each piece is made ​​up of 3 LED and resistor to fall, the supply is 12V and the light they emit is good. To purchase, you should contact a good electronics store.

 

Electric diagram

 

Particular

Prototype off


Prototype on


Particular

Prototype

Led particular

Led particular

File HEX for PIC 12F683 Led.rar (1k)

 


The files. HEX and the content of these pages was released for teaching applications WITHOUT end of I make money from. For any other type of application it be able to contact me via email.

© Copyright tony@microt.it