Lets Build

How to Build Smart Heating with Raspberry Pi

[caption id="attachment_267" align="alignnone" width="330"]RaspberryPi Raspberry Pi[/caption]

IOT (Internet of things) is common notion these days but what really you can do with it? what first thing you want to connect? how you can make something smart if it isn’t smart?  i.e Smart Heating, what are the pros and cons?

You only have two options, one buy off-the-shelf commercially available product (there are tons and tons of comparison between all commercially available solution so i m not going to go through any of that), second you could spend less and have fun building things yourself.

Fancy second option? then Let Get Started!!!

This Project is based on credit card size single board computer called Raspberry Pi, whole systems is presented using Apache web server, all information is stored in MySQL database. Python script is used to log temperature sensor data using One wire DS1820 temperature sensor, most of the code is written in PHP.

Before we deep dive into this project something very important: PiHome comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. DO NOT MAKE ANY CHANGES TO YOUR HEATING SYSTEM UNTIL UNLESS YOU KNOW WHAT YOU ARE DOING, contents provided here are for information and education purpose only, I take no responsibility for any loss or damage to you or your property.”

Following posts aren’t in sequence, if you want to follow all step by step please check this link.

Smart Home Gateway from NRF24L01 to Ethernet/WiFi

All nodes i.e temperature sensors, boiler relay module, zone relay module etc. are scattered around the house that are responsible for controlling light, heating and other IOT devices serves very little purpose if we can not communicate with them or pass some instructions. Most of the time these devices are battery powered and even ones with main powered don’t communicate through home WiFi and for the battery powered nodes WiFi isn’t the option due to the fact how WiFi works…

0
Read More

Raspberry pi Heating Boiler Control System Relay

Raspberry pi Heating Boiler Control System Relay: Control gas boiler from raspberry pi gpio with relay by connecting it to room thermostat connection on gas boiler without passing any voltage to gas boiler or at least this is how i did it as my gas boiler had thermostat connector available, you need to check this with your boiler user/technical manual. You can control high voltage electronic devices using relays modules that are readily available in the market. I am using…

10
Read More

Build a Web Connected Raspberry pi Thermostat

Build a Web connected raspberry pi thermostat and control your heating from any smart devices, Pihome comes with following two options one Wired to GPIO and wireless with nRF24L01. Wired Heating System Connected to Raspberry Pi GPIO 1-Wire DS18b20 Temperature Sensor Multi Zone Heating Control System Relay Raspberry pi Heating Boiler Control System Relay nRF24L01 Wireless Heating System Based on MySensors Library Battery Powered Arduino DS18B20 Temperature Sensor Wireless Arduino Boiler Controller Relay with nRF24L01 Wireless Arduino Multi Zone Controller…

47
Read More

Raspberry pi Multi Zone Heating Control System Relay

Raspberry pi Multi Zone Heating Control System Relay: If your house have Multi Zone Heating then you can control each zone heating independently with raspberry pi and this will save you lot on your heating cost considering that you don’t have to heat all the house all the time. In this post i will show you how to build wired multi zone heating control system relay and control it from raspberry pi gpio so we can open and close zone…

7
Read More

OS (Raspbian Jessie) Installation and WiFi Configuration

This step by step how-to will help you to install OS (Raspbian Jessie) on your Raspberry Pi, i have selected Raspbian Jessie for this purpose. this how-to also include Wi-Fi settings without connecting display to raspberry pi. Installing Linux OS (Raspbian Jessie) on Raspberry Pi Easiest cross-platform way to install Linux on your Raspberry Pi is using the NOOBS installer, but we are installing Raspbian using diskimager utility. Go to the Raspberry Pi download page Download the Raspbian zip file.…

8
Read More

Install Apache, PHP and MySQL on a Raspberry Pi (LAMP)

LAMP is an acronym that stands for Linux Apache, MySQL and PHP, these are the components required to run and present web interface of PiHome Smart Heating Control. Note: if you are here for some troubleshoot Raspberry Pi LAMP (PHP and MySQL/MariaDB on a Raspberry Pi with phpMyAdmin) then check out troubleshooting post on Raspberry Pi LAMP Install (LAMP) Apache and MySQL server on Pi Lets just run update first by issuing following commands

Now Install Apache, PHP and…

15
Read More

Enable Serial Port on GPIO on Raspberry Pi 3 (Raspbian Jessie)

The Raspberry Pi GPIO serial port configuration has changed under Jessie and also with the Raspberry PI 3. By Default serial port is disabled and on RPI 3 Bluetooth made it even made it more confusing to enable Serial Port on GPIO. In this post i’ll describes how it is now setup. As i m not interested in Bluetooth so i m going to disable it and keep GPIO serial. In order to enable serial port edit config.txt and add…

1
Read More

Building a MySensors Serial Gateway

Connect Arduino to Raspberry Pi There are few ways to connect MySensors Serial Gateway (Arduino) to Raspberry pi, the easiest one is to connect Serial Gateway (Arduino) via USB port to raspberry pi. This is be easiest way and saves hassle of all wiring on other hand we can use serial pins on raspberry pi to connect to Arduino which is little bit difficult but we are here to build everything our self so let’s build pcb board with all…

9
Read More

DS18B20 Temperature Sensor with Raspberry Pi

One Wire temperature sensor DS18B20 is very popular and easily available because they are quite cheap and provide satisfactory precision of temperature readings. One wire DS18b20 has operating temperature range from -55°C to +125°C with accurate to ±0.5°C. DS18B20  can easily interface with Raspberry Pi. This sensor has three pins: VCC, GND and DATA. The voltage range is between 3.0 to 5.5 so this can be easily interfaced with raspberry pi. To communicate with the sensor 1-wire protocol is used.…

11
Read More

Battery Powered Arduino DS18B20 Temperature Sensor

18650 battery powered Arduino DS18B20 temperature sensor would lost many years without to re-charge or replace the battery, for temperature sensors its best to use 3.3v Arduino Pro Mini with lower clock speed to conserve battery. To optimize further i have removed power LED and status led connected to Arduino mini pin 13, then feed power to Arduino mini through raw pin with 18650 battery. i have these sensors running over 16 months now and battery is still 96%. It…

18
Read More