Raspberry Pi central heating controller

Published on Wednesday 08 August 2012
Categories: Projects | Raspberry Pi |

Now the solar monitoring and logging system is working we are going to build the wireless remote control for the hot water and central heating boiler and controller/programmer.

We currently have a variant of an ACL Drayton Lifestyle LP522 5DAY/ 2DAY electronic central heating programmer which is an older design but reliable and has been in use in the house for over 10 years.  

I was able to source a boxed new (1998 model) from ebay and proceeded to trace the tracks on the PCB to see if it was possible to add remote triggering and monitoring of the programmers relays via a PIC processor which takes and sends commands via a XBee wireless module which is paired with a XBee module on the Raspberry Pi.

Photo below shows the PCB on the programmer with the pcb tracks marked in different colours to show functionality.

Central heating controler

Time ClockThe 240v mains supply comes in via the first two pins across the top and the other 4 pins are for the relay outputs which connect to the central heating system.

Key to line colours:
Red: 4.5V supply
Black : Ground supply
Purple: Relay supply
Orange: Relay supply
Blue: Relay activation which is ground switched via microcontroller
Yellow: Relay activation which is ground switched via microcontroller

Once we had found suitable activation points on the board which we can use we proceeded to build some simple level buffers and adapters for the XBee module so it could be used in a breadboard. This was connected to a MikroElektronika easypic 6 development board and a pic16f628a chip. The second XBee was connected to a Sparkfun USB board and this was connected to a PC and used Putty to talk via the COM port.

Development board

We wrote some initial test code to check for connectivity and have been able to turn LED’s on and off on the dev board and also send text back to the PC when buttons are pressed.

Next stage is to write the full functionality required to activate the boiler systems and also monitor the status and once that is complete build a new PCB to hopefully go inside the central heating controller.

On the Raspberry Pi we are planning to build a web based front end to administer a MySql database which has the on and off times for the hot water and boiler and also have a cron job which runs every few minutes to check the database and activate the boiler if required. I will be adding the code and progress to the blog as each part is built.

Permalink


0 Comments



Leave a comment

About Me

Brian Dorey

Welcome to my blog, here you will find my projects and other things.
I make websites and manufacturer and sell expansion boards for the Raspberry Pi range of computers.

AB Electronics Raspberry Pi shop

Social Media

Popular Posts

Small image for Raspberry Pi Zero W external antenna mod

Raspberry Pi Zero W external antenna mod
04 MARCH 2017
89,356 views

Small image for Ford Sync 3 USB Drive Music Playlists

Ford Sync 3 USB Drive Music Playlists
22 OCTOBER 2016
60,325 views

Small image for Echo Dot 3rd Gen Smart speaker Teardown

Echo Dot 3rd Gen Smart speaker Teardown
21 JULY 2019
57,549 views

Small image for DIY Pick and Place V2 Project Complete

DIY Pick and Place V2 Project Complete
23 NOVEMBER 2013
35,174 views