I wanted to talk a bit more about about the raspberry pi monitoring platform I’ve been building. It’s become rather modular and is currently filling various monitoring needs in our offices around the world. I’m working with the business to open-source the code, so expect to see more soon.
In the meantime, I want to talk about the hardware that makes up these units. The core of the platform is a Raspberry Pi model B; from there, you can add a couple different hardware pieces to enable different functionality. Currently the configurations are:
- Temperature and humidity monitoring
- Network latency and bandwidth monitoring
- Helpdesk ticket tracking (Zendesk is currently the only supported helpdesk system)
All configurations have the option of adding a small LCD display to the unit to show the monitoring data locally, and they each store the collected data for 1 year, with the option of offloading it to a centralized monitoring system (something like logstash for instance).
I’m going to discuss how to build the temperature and humidity variant below:
Starting with the parts list, everything can be purchased from Adafruit (or similar, if you want to save a few bucks).
- Starting with the proto-board, you’ll need to use a sharp knife or screwdriver to cut all of the traces on one half of the board. Cut the side that includes the 5v power pin. This part of the board is where we will be adding the electronics, and we don’t want the pins going back to the raspberry pi.
- Solder the 26 pin connector to the proto-board.
- Wire up the proto-board as-per this diagram.
- Solder in the DHT22 sensor and included resistor.
- Connect the proto-board assembly to the raspberry pi using the ribbon cable.
Here’s what the device looks like with the optional LCD display. This is useful if you want technicians to see the readings without using a web console.
The current prototypes use Instamorph Moldable Plasticto house the sensor assembly, but I’m currently working on modeling a case that can be 3D printed.