Building A Mesh Network Wireless Temperature Sensor

*
Accepted Session
Short Form
Scheduled: Thursday, June 3, 2010 from 1:30 – 2:15pm in Burnside

Excerpt

The problem: My HVAC system is not balanced. Easy but boring solution: Hire a qualified contractor to fix it. More interesting solution: Use knowledge from dusty undergrad degree in electronics to cobble together some simple wireless temperature sensors using XBee modules and distribute them around the house. Then use Java programming knowledge to build up a monitoring system using open source software. Attempt to use readings from temperature sensors to figure out what's going on and fix it. This presentation will delve into the hardware and software aspects of the system, although with more emphasis on the software and the role that packages such as Apache Felix and Apache Mina play in the system.

Description

I wanted to be able to monitor temperatures in multiple locations in my house so that I could tell if changes made in the HVAC system were working or not. Although a commercial solution would be easiest to implement, I decided to build my own instead. I designed a simple wireless temperature sensor around a Digi XBee wireless module that would send temperature readings at regular intervals. The next step was to build software to interface with the wireless sensors and capture the data that they were sending. The interface software (called XBeeLib) uses Apache Mina as a major component to handle translation of packets to and from the wireless modules. The monitoring software (called pHomeNet) is a Java-based system running on the Apache Felix OSGi container. Observations from the sensors are recorded into a database (Apache Derby by default). Although the system is currently focused on recording temperature sensor data, it could easily be adapted to record data from other sensors or even to control devices based on sensor inputs. This presentation will delve into the hardware and software aspects of the system, although with more emphasis on the software and the role that packages such as Apache Felix and Apache Mina play in the system.

Speaking experience

Speaker

  • Dsc 0011

    Michael Pigg

    Chariot Solutions

    Biography

    Michael is currently focusing on training developers in building applications with the Typesafe stack and AngularJS. Prior to that, he was on the front lines as a consultant developing applications using Scala and related technology.

    Sessions

      • Title: Building A Mesh Network Wireless Temperature Sensor
      • Track: Hacks
      • Room: Burnside
      • Time: 1:302:15pm
      • Excerpt:

        The problem: My HVAC system is not balanced. Easy but boring solution: Hire a qualified contractor to fix it. More interesting solution: Use knowledge from dusty undergrad degree in electronics to cobble together some simple wireless temperature sensors using XBee modules and distribute them around the house. Then use Java programming knowledge to build up a monitoring system using open source software. Attempt to use readings from temperature sensors to figure out what’s going on and fix it. This presentation will delve into the hardware and software aspects of the system, although with more emphasis on the software and the role that packages such as Apache Felix and Apache Mina play in the system.

      • Speakers: Michael Pigg