loading
Picture of Purple Mood Light Cube
cube.jpg
I love mood light , so I decided to build a motion controlled mood light.

If you like this instructable, Please vote for me.

                                                  

Step 1: The Electronic Circuit

Picture of The Electronic Circuit
SAM_1380.JPG
Purple.BMP
SAM_1415.JPG
SAM_1403.JPG


Hardware

The circuit is simple. It consists of the Microcontroller, Accelerometer and 6 LEDs.
Components:
1 Microchip PIC  16F917  (or any Microcontroller of your choice)
1 Analog Devices  ADXL206 (or any Accelerometer of your choice)
3 Red LEDs
3 Blue LEDs
1 40 PIN Socket
1 8 PIN Socket
1 9 Volt Battery
1 9 Volt Battery Connector
1 Holed board

Schematic

As shown in the diagram.

First, you need to assemble the circuit, solder the parts then program the software that does all functions.
The programmer is a circuit I built myself before . The 16F917 programmer you can find it in my blog here. PicProm

You can find the programmer in the following instructable:

http://www.instructables.com/id/PIC-16F917-Microcontroller-Programmer/


 
sara m.2 years ago
amazing, i like mood light and what it makes