Wednesday, March 6, 2013

Python script to launch the UI, monitor the serial/USB port with the Arduino and to update the UI. The source of the template code I modified is in the comments
The UI (python/Qt4 on Linux, Fedora 16). Simple so far but effective

Here's the circuit as scheched using Scheme-it

Scheme-it was easy to get this far with - only took a couple of minutes. Didn't need to log-in.

L1 is toggled on/off by Pin 12 as the reed switch gets activated and grounds Pin 2.

Adafruit is a good place to get basic Arduino tutorials. The basic interrupt code example I buit from came from the main arduino site.

Sunday, March 3, 2013

Code for the Arduino - double click to select and copy...