Showing posts with label websockets. Show all posts
Showing posts with label websockets. Show all posts

Saturday, December 2, 2017

New book on how to made a complete ready-to-sell home automated system with ESP8266

I've been busy in the latest months writing a book  to cover some key aspects of the ESP8266 ecosystem, the chip, the cloud and a mobile application.

The book will teach you and will give you a ready-to-sell solution for an IoT product.

You will discover how to work with the GPIOs on the ESP8266, how to build your basic thermostat for your house, how to control it from your mobile with your own cloud system based on MQTT.

Securing the data using authentication at the broker level and SSL is explained in a special chapter. 

Real-time communication has a dedicated chapter where you will learn how to send real-time data from an ESP8266 to an nodejs server.

You can buy the book from Amazon. 

I hope that you will enjoy the book.







Sunday, February 26, 2017

Kalman filter


In few projects I've needed the Kalman filter to suppress the noise and other inaccuracies especially from accelerometers. Below is a nice picture from a live stream of data transmitted by the ESP8266 LDR over websockets to an application server written in javascript. The data received in the browser looks like:






With red is raw data and with white is the predicted data after the Kalman filter was applied.