My interests are broad and always changing. This is my default blog. Here are some others I contribute to.

Tanglewood Hill
No Cube Designs
Citizen Analog
Handmade Music MSP
Twin Cities Maker


Follow noise_is_life on Twitter

noise is life, life is noise
20110131

PingduinoM

IMG_0392.JPG

I never appreciated my internet connection enough when I lived in the city.  Now that I’m a country mouse I think it really IS a series of tubes. Reliable it’s not.  So I thought it would be fun to use an Arduino, my BlinkM and a bit of python to create a visual network monitor.

Here are the steps:

1. Plug your BlinkM into analog ports 2-5 (the standard way instructed by ThingM).

2. Load the Communicator sketch from ThingM onto your arduino.

3. Run the python script. This must be run as Administrator on windoze and although I haven’t tried it yet I believe it must be run as root on Linux.  The code should be safe, but review it anyway for your own piece of mind.

Here’s the python script, this includes ping.py which is a pure python module I use for ping functionality.  I also hacked code from John Tokash for talking to the BlinkM.  You will also need the pySerial module installed.

https://github.com/noiseislife/PingduinoM

Note: The BlinkM really needs a diffuser, my short term ghetto solution is a couple layers of tissue paper.  I’ll be hacking something a bit better in a future post.

Digg This!

Comments (View)
blog comments powered by Disqus