Tag: C Code

In this Project we will explain how to measure temperature and humidity using DHT22 digital sensor along with ESP8266. The objective of this post is to explain how to connect the DHT22 temperature and humidity sensor with  ESP8266 NodeMcu and write code to get the measurements and subsequently print them every 2 seconds in the […]

Read more

In this Project we will explain how to setup the MQTT protocol on ESP8266 and show in an example how communication between ESP8266 and a MQTT broker works . The objective of this post is to explain how to connect the ESP8266 to a MQTT broker. If you are not familiar with the protocol, you […]

Read more

In this Project we will establish a Websocket connection between multiple ESP8266 and a local Node.JS server. The Node.JS server will be running on a PC, laptop or a on Raspberry Pi, while we use C/C++ code on the Arduino IDE for the ESP8266. Multiple clients (browser, ESP8266) can connect to this Node.Js Websocket server […]

Read more