Lets Build

How to Build Smart Heating with Raspberry Pi

raspberrypi

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.”

Connect Arduino with nRF24L01 Radio

The nRF24L01+ transceiver module uses the 2.4GHz band and it can operate with baud rates from 250kbps up-to 2Mbps true ultra low power and low cost transceiver. nRF24L01+ communicate with Arduino via SPI interface and it consumes around 12mA with operating voltage from 1.9v to 3.3v. nRF24L01+ can communicate with other nRF transceiver modules and it can reach 100m in clear line of sight with lower baud rate. In this article I will explain you how to connect nRF24L01 with…

1
Read More

One Wire Temperature Sensor – DS18B20 to MySQL/MariaDB Database

If you followed instructions on how to connect One Wire DS18B20 to Raspberry pi gpio then next step would be how to take temperature readings from DS18B20 1-Wire digital temperature sensor and store these readings to MySQL/MariaDB database. As you may know that each DS18B20 1-Wire digital temperature sensor has a unique 64-bit serial number wonderful part that we can have more then one DS18B20 1-Wire digital temperature sensor connected to same 1-Wire bus. MySQL/MariaDB Table Structure In order to…

0
Read More

Build a Web Connected Raspberry pi Thermostat

Build a Web connected raspberry pi thermostat and control your heating from any smart devices. , simply follow these steps and you will be up and running in no time. Step 1 OS (Raspbian Jessie) Installation and WiFi Configuration Step 2 Install Apache, PHP and MySQL on a Raspberry Pi (LAMP) Step 3 MySQL Access From Remote Computer Step 4 If you set to MySQL users and password as per instructions then run setup.php from command line otherwise modify setup.php…

28
Read More

Auto Reconnect WiFi on Raspberry Pi

My Raspberry Pi 3 Wi-Fi isn’t very reliable even after disabling power management my RPI still manages to lose connection to  my Wi-Fi router and i don’t have any keyboard or screen connected to it and its not advisable to do hard reset i.e unplug the power as it may corrupt your SD card. I’m going to cover writing a short script that Auto Reconnect WiFi on Raspberry Pi to a Wi-Fi network. The script will run as cron job…

4
Read More

How to setup OpenVPN on Raspberry Pi

Raspberry Pi OpenVPN is a great way to access a home network from a remote location. In addition it can be used to secure network communications when connecting to public Wi-Fi. Since the RPi is very low-powered single board computer it is ideal for setup your own Raspberry VPN server with OpenVPN. OpenVPN comes with Easy_RSA, a simple package for using the RSA encryption. Let’s find out how you can how to setup OpenVPN on Raspberry Pi device. Why VPN?…

2
Read More

Building a Serial Gateway

Connect Arduino to Raspberry Pi There are few ways to connect 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 components…

1
Read More

Arduino Multi Zone Controller Relay with Sketch

Arduino Multi Zone Controller 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. For this purpose you need to build wireless relay switch as Multi Zone Controller so we can open and close zone valve to circulate water in each zone as needed. Make sure you power…

3
Read More

Control Gas Boiler with Relay – Sketch

Control gas boiler with relay by connecting it to room thermostat connection on gas boiler without passing any current to gas boiler or at least this is how i did it and not to worry about buildup pressure inside heating pipes as gas boiler controller takes care of that itself. You can control High Voltage electronic devices using relays modules that are readily available in the market. I am using the HL-52S 2 channel relay module, which has 2 relays.…

6
Read More

Raspberry Pi WiFi setup

I prefer to use WiFi on Raspberry Pi as it makes RPi portable and limits the numbers of cable attached to this small mighty computer lets do Raspberry Pi WiFi setup to have less cables attached to this might computer. Setup WiFi on Raspberry Pi Lets setup wifi on raspberry pi so we can go wireless, First you need to scan for wifi networks, use the command sudo iwlist scanning wlan0 scan to list all available wifi networks in your…

3
Read More