Tag Archives: piTank

piTank Power Bar v1

To run the mains powered electrical items of the piTank I wanted a remotely controllable power bar connected to the same Raspberry Pi as the piTank software.

Future post:The piTank power bar will include input connections for thermal probes, water sensors, switch inputs and an external connector to a viewing panel mounted on the front of the cabinet.

What is the first thing you do when you have a good idea, Google it to see if anyone has done the same!

Continue reading piTank Power Bar v1

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.

Depending on your project it might not matter what state the relays are when the RPi is turned On but for the piTank it is critical! (battery backup to come… but still this solution is needed)

 

For my piTank project The ‘original‘ WebUI 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 gpiobootscript.sh

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 piTank 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