Zit Seng's Blog

A Singaporean's technology and lifestyle blog

IP SNMP Temperature Probe

We’ve been looking for IP-based temperature sensors for some time. Our existing temperature solutions are either of two types: 1) environment monitoring systems or their equivalents from APC, or 2) massive building management systems that among many other things also include temperature probes. The latter is far too clunky, and while the former is a lot smaller and simpler, what we really want to have is something a whole lot simpler. Just a temperature probe. Plus humidity perhaps.

A basic criteria, for us, is that the device must be IP-enabled and support SNMP. It also has to be cheap, of course, otherwise we might as will continue with our existing not-so-elegant solutions. The idea is that we want to be able to monitor ambient temperatures throughout our buildings. We, being IT people, would very much prefer an IT type of solution. We believe IT solutions would probably be cheaper and more scaleable than those built on building management systems.

There’s a big gap between the IT world and the BMS world. After some effort searching the Internet, we identify some candidate devices. But they are mostly not available locally, their manufacturers are not represented locally, and sometimes, even if we do manage to contact a supplier or distributor, they aren’t even eager to sell it.

We did manage to get a HWg-STE device pictured above. It works as described, except that we have a little problem with DHCP. It’s supposed to be able to obtain its TCP/IP settings via DHCP, but we were unable to get that to work. But nevertheless, it provided us temperature data via SNMP. We’re still unsure about its cost though, so we haven’t been able to determine if this is an economically viable solution.

More interesting, we’re also trying to find a device that acts as a gateway between IT world of SNMP and the BMS world of Modbus. What we want is a device that will poll field devices via Modbus for data values, and make these values available via SNMP MIB so that we (being IT people) can read using our favourite SNMP manager software. If we can SNMPSET values to the MIB and have that translated into a write operation into the Modbus field devices, that would be even better.

Let me know if you know any suitable products (IP SNMP temperature probes and/or SNMP-Modbus gateway).

6 thoughts on “IP SNMP Temperature Probe

  1. I used to play a little with OpenWRT, but here’s one way of doing it:

    1. Grab a low-cost openwrt compatible device, like a Fon or OpenMesh (http://www.open-mesh.com/)
    2. Flash openwrt onto it, together with snmpd
    3. Include the I2C bit-bang drivers, which use GPIO pins to communicate I2C.
    http://www.lefinnois.net/wpen/index.php/2007/05/13/i2c-bus-for-la-fonera/
    4. attach your favourite I2C temperature sensor like a DS75 (above link) or TC74 (below link). Don’t forget necessary pull-up resistors.
    http://naneau.nl/2009/01/18/arduino-and-an-i2c-temperature-sensor/
    5. Not sure about configuring snmpd, but since you can use a script to read sensor data, at least you got 75% of the job done now! With both wired and wireless interfaces, it should be pretty accessible.

    Repost with email notification.

    1. Thanks for the heads up. We’re also trying out some plug computers for a different project, and could also consider extending that with USB thermometers (apparently not cheap either) or some sort of I2C sensor.

      1. Thats cool, what model of plug computers?

        For any i2c device to communicate over usb, just need a little $5 microcontroller to convert protocols 🙂

        I’ve been teaching a junior how to do these kind of stuff; fairly convenient if you need something prototyped out

        1. We’re using SheevaPlug/GuruPlug from GlobalScale. Pretty reasonable cost. They’ve got a bunch of different configurations depending on what features you need. We needed display, but turned out it was much cheaper for us to buy a non-display configuration and add on an external display dongle.

          1. Oic, yup it looks like there are sufficient pins to communicate with I2C and/or modbus

  2. http://cgi.ebay.com/Ethernet-Communication-Module-ENC28J60-SPI-IEEE-802-3-/350456862360?pt=LH_DefaultDomain_0&hash=item5198db5698

    Can also pair this with a small $5 microcontroller, but I bet it won’t be very fun implementing an SNMP stack on an 8 bit processor.

    Highlighted in this application note:
    http://ww1.microchip.com/downloads/en/AppNotes/00870b.pdf

    Good thing about this approach is that it is much more minimalist.

    Both approaches could make use PoE too, since these aren’t power hungry devices.

Leave a Reply

Your email address will not be published. Required fields are marked *

View Comment Policy