CDC: Time to Install The Hardware
At this point in the project I’ve managed to prove I can program a Raspberry Pi to read the data from a Bosch BMP180 sensor and upload that data to Plot.ly and the Met Office. Alas the BMP180 sensor isn’t applicable to the Creekside Discovery Centre installation. Although I could weather proof the sensor I still need to measure water temperature. I have managed to buy, install and code the Pi to see the i2c bus that attaches to the GPIO pins and run some simple Python script that displays temperature readings from the Pi’s ROM. But I haven’t managed to crack publishing the data . But as someone once said…
“Time and Tide Wait for no Man”
CDC: First Test is a Success!
It’s taken two days of fault finding but we succeeded!
Success is a great word! Admittedly this is only the first stage and not even the sensor I eventually hope to use. But success it is! Main issue was an error using SSH with Python Version 2.7.3 which comes preinstalled on the Pi. It took a long time for this bit of code to work.
sudo pip install pyopenssl ndg-httpsclient pyasn1
I then found some other errors – but with line numbers I worked out I’d simply entered an extra digital in the AWS key. It’s hard to explain how excited I am!!
CDC Weather Station Is Coming To Life
I’ve been waiting on a simple bit of ribbon cable. I could have just ordered some, but my partner in crime the fabulous Jon San, had some spare. I was unashamedly excited to receive this simple bit of kit and immediately put it to use. Although I have to admit I didn’t notice or consider the relevance of the pink, zig-zag patten on one side of the ribbon. Although it didn’t slow me down, I’m pleased to now know that’s pin 1!
26 Pin Ribbon Cable used to connected the sensor to the GPIO pins on the Raspberry Pi.
CDC Pi Weather Station Build
The Creekside Discovery Centre Weather Station
Following the excellent work already done by Romilly Close, who setup the Sheffield Pi Station, I’m now embarking on my own ‘Deptford Pi Station’ at the Creekside Discovery Centre (CDC). The image captures some of the basic hardware I’ve invested in. Added to this will be a ribbon cable and perhaps a breadboard to help connect everything. The Pi will feed the data via ethernet back to a server and onto the web. Everything will be photographed, labeled and uploaded soon. But so far there’s…
Beginnings of the ‘Deptford Pi Weather Station’