Fish Pi

Not long after the original raspberry Pi’s were launched I decided to put a Pi in my garden to monitor the temperature of the air and water as well humidity and upload the data to Thingspeak where anyone with the link can view the data as its updated every few seconds. This was working well for some time but about a year ago the SD card got corrupted after a power cut and it hasn’t worked since.

I have finally started to repair the system and get the Fish Pi up and running again.

  • Firstly I inserted the non-boting SD card into a microSD card reader and mounted this onto another Pi and found the original program that monitors the various environmental settings.
  • Next job – get a new operating system image onto the SD Card
  • One of the pins on the bmp085 sensor has broken so need a new sensor. This is now obsolete and seems to have been replaced with the bmp180/280 so have ordered one from Ebay for £2.89.
  • Repair the wiring which has got damp and been disconnected. Check all sensors, resistors etc are still working and replace as necessary
  • Check the serial number of the raspberry Pi as I have so many now, I want to record the serial numbers, models and which one is being used for which project
  • Get the program running again and uploading data. Test data is uploaded onto Thingpseak account
  • Ensure program runs from boot
  • The WiFi adapter on this Pi was always weak and would sometimes drop put and then the program would fail. Either adjust the code to deal with error, restart the Pi etc if there is a problem instead of waiting for me to manually restart everything
  • Perhaps replace the WiFi adapter with a more powerful long range adapter or use a wireless extender in the shed to avoid signal strength issues
  • Put everything back into a waterproof enclosure

This was the original guide I followed and adapted:

Raspberry Pi B+ V1.2 (2014) with MicroSD card

https://learn.adafruit.com/using-the-bmp085-with-raspberry-pi/overviehttps://thepihut.com/products/usb-wifi-module-with-antenna-for-raspberry-pi?variant=758604021#fo_c=1889&fo_k=ed55dcbd81f5c6b4f1025fafceceaeeb&fo_s=gplauk

 

 

Advertisements