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!

It turns out many people have had this idea.  I found this source >Web-Controlled-8-Channel-Powerstrip. This has all the basic info needed for both the hardware ideas and the software, this page also references instructions from another build to get the Raspberry Pi up and running using GPIO pin outs and an external relay board > Simple and intuitive web interface for your Raspberry Pi.

From here I modified the WebUI into piTank version 1.0, this will be made available at some point.  For the piTank power bar I went with the below hardware layout, this allows for 8 fused power outlets for 8 separate 240v 10amp relays run from one single 3pin UK  wall plug all with decent wiring inclosed in a weatherproof case.

It will do for now, the next tank project will use a different version of this hardware setup, check back at some point to see that build!


piTank-Power-bar-layoutHardware List:



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 and set.

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)

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 – thus not setting the pin modes or turning the heater/filter 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

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

Team90 goes on HERO Lejog 2014

What is HERO LeJog?

“The 6th December 2014 will see the start of the 20th edition of the Land’s End to John O’Groats Classic Reliability Trial & Tour, the toughest event of its kind in Europe and possibly the world. Known to everyone as Le Jog (it even featured on a TV quiz show – “what event runs under the acronym Le Jog”), this Iconic event continues to attract crews from across the world and has become a “must do” on the wish list of all classic car enthusiasts.

HERO LeJog 2014 Team90 HERO LeJog 2014 HERO LeJog 2014

Continue reading Team90 goes on HERO Lejog 2014