Summary of IKEA Mood-light Conversion using PIC12F683P
This project converts an IKEA plastic bag dispenser into a mood light using a PIC12F683 microcontroller. The author utilized leftover LED strips powered by a 12V wall wart, with a 7805 regulator providing stable 5V for the chip. Software PWM generates three color channels since the PIC has only one hardware channel. The mechanical design leverages the dispenser's solid frame, mounting points, and large holes for cables and fabric covering.Parts used in the IKEA Mood-light Conversion:
- LED strips (multiple colors)
- 12V / 1A wall wart
- 7805 voltage regulator
- PIC12F683 microcontroller
- ICSP header
- TTH components
- IKEA plastic bag dispenser
- White fabric
Hardware
I had a few LED strips leftover from previous projects in different colours. They can be operated directly from 12V DC with no extra components. For this reason, I chose to use a standard 12V / 1A wall wart as the power supply. A 7805 provides stable 5V for the PIC.
At the heart of the circuit is one of the smallest PICs, a PIC12F683, which has only 8 pins. It only has one PWM channel but I needed 3 channels for the three colours, so I had to implement 3 channels of PWM in software. Since when I made this circuit I was a complete beginner with PICs I mostly “harvested” the code from various web sites, trying to understand some basic programming techniques. In the process I tailored the code found to my specific circuit.
The components are all TTH components, very easy to solder.
Mechanical construction
The plastic bag dispenser from IKEA is a perfect fit for this purpose: it has a solid frame that is easy enough to customize using some not too powerfull power tools, white in colour, it already has mounting points on the back for easy hanging on the wall and the frame has large holes on it so that cables and the white fabric I got for it to cover can pass through them easily.
For more detail: IKEA Mood-light Conversion using PIC12F683P
- Why was the IKEA plastic bag dispenser chosen?
It has a solid frame, mounting points, and large holes for cables and fabric. - How are the LED strips powered?
They operate directly from a standard 12V / 1A wall wart without extra components. - What provides stable 5V for the PIC?
A 7805 voltage regulator supplies stable 5V for the microcontroller. - Does the PIC12F683 have enough hardware PWM channels?
No, it has only one channel, so three channels were implemented in software. - Can the circuit be easily reprogrammed?
Yes, an ICSP header is included on the board for easy development. - Are the components difficult to solder?
No, all components are TTH and described as very easy to solder. - What power supply voltage is required for the LEDs?
The LED strips require 12V DC to operate directly.
Related projects
Automotive Voltage Monitor using PIC12F683
Description Recently I got a new motorbike and on my second trip out, with only 50 miles on the clock the rectifier/regulator...
Communication & Interfacing · PIC12F683EnvStick USB Temperature Sensor using PIC12F683
The EnvStick is cheap, homemade temperature sensor that plugs into a USB port. It provides a simple way to collect a room’s...
Sensors & Temperature · PIC12F683Metal detector robot using pic microcontroller
This project describes hardware and software I have developed which allows a small 8 bit PIC microprocessor to function as a single...
Home Automation & SecurityVoice Activated Power Sockets (Home Automation)
Yet another voice controlled home automation system! As shown in the picture, the system can control any electrical appliance, by turning ON...
Home Automation & SecurityHome Security System with GSM Using 8051 Microcontroller
Security is a big challenge everywhere because thefts are increasing day by day owing to the unsafe and insecure security systems in...
Home Automation & SecurityHome Automation and Security System using Microcontroller ATMEGA8 with Arduino Programming
Home automation and security systems have become very popular these days, today industrial automation techniques are widely adopted by luxurious homes and...
