The objective of this post is to explain how to parse JSON messages with the ESP32 and the ArduinoJson library. Introduction The objective of this post is to explain how to parse JSON messages with the ESP32 and the ArduinoJson library. We assume a previous installation of the ESP32 support for the Arduino IDE. If …
ESP8266: Setting an access point
The objective of this post is to explain how to configure the ESP8266 to work as an access point. Additionally, we will also set a webserver to work on top of it. Introduction The objective of this post is to explain how to configure the ESP8266 to work as an access point. Additionally, we will …
ESP32: Subscribing to MQTT topic
The objective of this post is to explain how to connect to a MQTT broker and subscribe to a topic, using the ESP32 and the Arduino IDE libraries. Introduction The objective of this post is to explain how to connect to a MQTT broker and subscribe to a topic, using the ESP32 and the Arduino …
ESP32: Publishing messages to MQTT topic
The objective of this post is to explain how to publish a message to a MQTT topic, using the ESP32 and the Arduino IDE libraries. Introduction The objective of this post is to explain how to publish a message to a MQTT topic, using the ESP32 and the Arduino IDE libraries. We will assume that …
Python: Publishing messages to MQTT topic
The objective of this post is to explain how to connect to a MQTT broker and post some messages to a topic, using Python. Introduction The objective of this post is to explain how to connect to a MQTT broker and post some messages to a topic, using Python. For this example, we will be …
Continue reading "Python: Publishing messages to MQTT topic"
ESP8266: Get MAC address
The objective of this short post is to explain how to get the MAC address of the ESP8266. Introduction The objective of this short post is to explain how to get the MAC address of the ESP8266. Explaining in detail what is a MAC address is outside of the scope of this post. But, just …
LinkIt Smart Duo: Running a Flask server
The objective of this post is to explain how to install and run a Flask server on the LinkIt Smart 7688 Duo. Introduction Flask is a web micro framework for Python which allows us to create and deploy simple web applications very easily. In this tutorial, we will install Flask and create a very simple …
ESP8266: Query LinkIt Smart mDNS services
The objective of this post is to explain how to find mDNS services advertised in the LinkIt Smart using the ESP8266. Introduction The objective of this post is to explain how to find mDNS services advertised in the LinkIt Smart using the ESP8266. Although we are creating a very simple use case, this will be …
Continue reading "ESP8266: Query LinkIt Smart mDNS services"
ESP8266 Webserver: Controlling a LED through WiFi
The objective of this post is to explain how to control a LED through WiFi, using the ESP8266. Introduction The objective of this post is to explain how to control a LED wirelessly through WiFi, with the ESP8266 acting as a web server. Most of the code used here will be based on previous tutorials, so …
Continue reading "ESP8266 Webserver: Controlling a LED through WiFi"