Category Archives: Raspberry Pi

Raspberry Pi GPIO Start-up Script

On powering/reset of the Raspberry Pi connected to a relay board, the state of the relays needs to be defined or they just sit in limbo until their first use, this might be fine in some application but not others..

For my Raspberry Pi  aquarium system, the ‘original‘ Web UI does have a script on loading the webpage to define the pin modes but if there is a power cut and the RPi is restarted, we need these values set and activated when the RPi boots in case nobody loads the piTank webpage directly after a reboot – thus critical components wont be turned on.

The fix to this issue is

GPIO Readall

Continue reading Raspberry Pi GPIO Start-up Script

Raspberry Pi Aquarium Controller WebUI

So after some playing around I am going for a Windows Metro style web interface for the Raspberry Pi powered aquarium controller.  At the moment the interface can be used to view the current time and date of the system, display 2 different external temperature readings and control the 8 way 10 amp 240v relay which the filter, heater, lights and alike connect to.

piTank_WebUI_1 Continue reading Raspberry Pi Aquarium Controller WebUI