Serial Gateway

Serial Gateway on Raspberry Pi Zero GPIO

Serial Gateway on Raspberry Pi Zero GPIO

There are few ways to connect Serial Gateway to Raspberry pi. The easiest one is to connect Serial Gateway via USB port to raspberry pi. Due to the size of raspberry pi zero i prefer to have small PCB which will serve me purpose of gateway, zone and boiler controller. This can reduce the cost of having multi zone smart heating at the same time. Connecting Serial Gateway on Raspberry Pi Zero GPIO Raspberry pi GPIO are 3.3v tolerant but…

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

13
Read More

Python Script to Communicate with Serial Gateway

To communicate with mysensors serial gateway I’m using Python script which run as cron job on my controller (Raspberry pi). Python script is used to receive all incoming and sending all out going commands through serial gateway to all mysensors nodes. MySQL Table to For  Incoming Messages First you need to create table in MySQL database so we can save all incoming messages from wireless sensors to MySQL database. Simply create table or copy and past this script to create…

1
Read More