The circuit is simple. It consists of the Microcontroller, Accelerometer and 6 LEDs.
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 boardSchematic
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
You can find the programmer in the following instructable:http://www.instructables.com/id/PIC-16F917-Microcontroller-Programmer/