Coding time…..

Well, things have progressed somewhat…from a keyboard to a MaKey MaKey was a relatively small step….

Image

After that, I decided that attaching a tiny TFT monitor would be a funky idea…..this opened up a remarkable can of worms, in that the python library I use to read keypresses (PYgame) doesn’t like to run in non-standard resolutions. Anyway…..after a fair bit of digging I got things to work.

374490_10152061660603594_1253841327_n

Now then……a challenge. I love my Phidgets (http://www.phidgets.com/), and using the 8/8/8 interface board as an interface to read analogue sensors into the RasPi has great potential. I hadn’t realised that it involved building all sorts of stuff like Python classes, and I even ended up having to dist off some of my old “C” programming skills….but we got there in the end, and the point where my terminal window told me it could see the interface was a fine moment indeed:

Image

and it got even better when I got the Python script to read the sensor inputs working….here is the output from a simple fader:

Image

Some useful links-

Phidgets and Linux: http://www.phidgets.com/docs/OS_-_Linux

Phidgets and C/C++: http://www.phidgets.com/docs/Language_-_C/C%2B%2B

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s