March Madness/Day 7

From Hackypedia

< March Madness
Revision as of 01:57, 1 April 2010 by 80.0.68.129 (Talk)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search
The Sphere in Blue
The Sphere in Red
The Electronics with bt adaptor

Today I added serial control to my RGB sphere, and connected it with a python application running on my netbook.

The sphere is controlled over a 9600 baud serial connector, simply by sending it a hex colour code (eg #ff0000 for red).

Compile the AVR code the same way you did for my March Madness/Day 4 AVR program, and install python, pygtk and pyserial (I think these come with ubuntu by default) and you're good to go!

YouTube Video

Source: http://svn.hacman.org.uk/2010_March_Madness/Day_7/