Home page > Miscellaneous > Sensing the world around you

Sensing the world around you

Wednesday 21 November 2007, by Jean-Baptiste Le Stang

I’ve recently discovered Phidgets that are simple sensors that can be interfaced using a USB port, the sensors are linked to an interface kit that communicate over USB. Right now I’ve been playing with a temperature, light, humidity and motion sensor. Using a it of C coding, a MySQL database, and Smile I’ve been able to quickly setup a prototype of a module dedicated to recording the various sensors in my bedroom, and you can see the result here . The graph is updated each minute. I’ll be describing the whole setup and give away a few lines of C and AppleScript code for those interested in doing the same kind of things and also to show you that this is not really complicated.

Future evolution of the system will add a LCD screen that can be controlled thru a serial port and if I can find an easy to program module bluetooth, then I might decide to go totally wireless :D

3 Forum messages

  • > Sensing the world around you 27 November 2007 17:00, by Peter

    Great idea. You may want to consider using Flash to display the collected data in an animated movie format.

    - Pete

    Reply to this message

  • Sensing the world around you 31 May 2010 20:53, by Patrick


    I work at Phidgets and we want to look at providing official Applescript support. Your addition seems like an ideal path to follow. As nobody here is familiar with Applescript, I’m wondering if you’d be willing to release your source code for us to use as a starting point.

    - Patrick

    Reply to this message

    • Sensing the world around you 31 May 2010 21:25, by Jean-Baptiste Le Stang

      The source code was made available a few months ago @ http://code.google.com/p/phidget-osax/ Feel free to ask any question regarding this scripting addition.

      Reply to this message

Reply to this article

SPIP | template | | Site Map | Follow-up of the site's activity RSS 2.0