Raspberry Pi monitoring platform: The Hardware

Posted by ProgrammingAce on Thu 11 December 2014

IMG201406131317291

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).

Screen+Shot+2014-02-15+at+17.06.02

Assembly:

  • 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.

2014-02-14+18.43.19

  • Solder the 26 pin connector to the proto-board.

Screen+Shot+2014-02-15+at+18.11.34

  • Wire up the proto-board as-per this diagram.

2014-02-15+13.56.22

  • Solder in the DHT22 sensor and included resistor.

2014-02-15+15.31.24

  • Connect the proto-board assembly to the raspberry pi using the ribbon cable.

2014-02-15+15.32.43

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.

IMG201406131317292

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.