Category Archives: Aquarium

My Raspberry Pi controlled Fluval Roma 125 fresh water aquarium

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

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

Aquarium hardware build / layout


aquarium build

  • Fluval Roma 120 Tank and cabinet -eBay – used
  • MarsAqua 300w dimmable full spectrum LED light – eBay – new – Review to come
  • DIY water fill system – Wickes – build steps to come
  • AquaManta EFX 200 External Filter – Maidenhead Aquatics – Review to come
  • Water proof enclosure for mains power – ToolStation

The idea is to reinforce the cabinet that came with the tank and make the center panel removable. To create a water fill system so there is no need to be gluging water into the tank or putting a bucket on a shelf for a gravity fed system and finally, a tidy place for the external filter and all the power/wiring that the tank will be using.

Continue reading Aquarium hardware build / layout