Thursday, May 24, 2012

Android IOIO Temperature Data Logger

I have been going through the exercises in Simon Monk's book, "Making Android Accessories with IOIO" (pronounced "yoyo") and just finished the temperature data logger. The TMP36 temp sensor looks just like a TO-92 transistor, and it simply plugs into the I/O header. It requires only high, low and an analog input to interface with the IOIO's processor. The datalogging program resides on the Android phone as another ap, nothing is programmed into the little IOIO board (it just follows the orders it receives on the USB link, whether tethered to the phone or via a Bluetooth dongle as is pictured here). From the phone touch screen, the user can toggle between Fahrenheit and Centigrade, and can switch logging on and off. I turned logging on for a couple of minutes to record the CSV file on the Android's SD card. The readings were recorded every 10 seconds, and were retrieved from the phone just like plugging a RAM stick into my PC.

Web site for Simon's book: [Link]
TMP36 temp sensor [Link]
My other interests [Link]