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

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…

Read More

MySQL Access From Remote Computer

By Default MySQL only accept local connection to enable MySQL access from remote computer we need to make some changes. Edit /etc/mysql/my.cnf file and search for bind-address line and comment it out and save it.

User Permission Login to MySQL by issuing following command, you will be prompted for my your MySQL root password.

Enter MySQL root password that we set when you installed MySQL server on rpi, after successful login issue following command to give access to…

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…

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…

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

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…

Read More

Wireless Arduino Multi Zone Controller Relay with nRF24L01

Wireless Arduino Multi Zone Controller Relay with nRF24L01: 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. PiHome…

Read More

Wireless Arduino Boiler Controller Relay with nRF24L01

Wireless Arduino Boiler Controller Relay with nRF24L01: 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…

Read More

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…

Read More