Wednesday, June 13, 2012

Google IOIO Board and Analog Temperature Sensor

How To Connect a Temperature Sensor To An IOIO Board using Javascript programming.


Description:

This post shows you how to read an analog sensor at timed intervals. Useful for monitoring any room temperature, or for any number of ideas requiring a timed response for an analog sensor.


 Javascript:

Basic4ppc javascript is very powerful and has some unique commands that allow you to have multiple timed triggers.  These timers are simple to use and allow you control a multitude of sensors at the same time.

The attached files allow you to change the interval using a drop menu and then read the sensor at the described interval.

With a few additions you could control multiple temperature sensors - indoor and outdoor, or you could add a proximity sensor to determine distance and temperature at the same time.


Android4Basic Files:

You will need the source files to test your circuit. 

Parts Needed:

  1. Temperature Sensor
  2. Capacitor
  3. Bread Board
  4. Jumper Wires

 

Wiring Diagram: