Introduction In this tutorial we will check how to interact with a PIR motion sensor using an interrupt based approach, using the Arduino core running on the ESP32. In the previous tutorial, we covered the basics on how to interact Read More
Raspberry Pi 3 Flask Tutorial: Receiving HTTP POST Request from ESP32
Introduction In this tutorial we will check how to setup a simple Flask server on the Raspberry Pi and send HTTP POST requests to it from the ESP32. Then, we will access the body of the request on the Raspberry Read More
ESP32 Arduino tutorial: Getting humidity measurements from a DHT22 sensor
Introduction In this esp32 tutorial, we will check how we can get humidity measurements from a DHT22 sensor, with the Arduino core running on the ESP32. The DHT22 is a temperature and humidity sensor and you can check on the previous tutorial how Read More
ESP32 Arduino: DHT22 Minimum Sampling Period
Introduction In this tutorial we will check how to get the minimum sampling period of the DHT22 and how to use it to make some temperature measurements without crossing the maximum sampling rate the sensor suports. We are going to Read More
ESP32 Arduino Tutorial: Encryption AES128 in ECB mode
Introduction In this tutorial, we will check how to decipher data with AES-128 in ECB mode, on the Arduino core running on the ESP32. In this previous tutorial we have already checked how to cipher data with this algorithm, so Read More
ESP32 Arduino: Creating a Memory Map file
I had created a very large project that was starting to consume too much RAM and needed to see where it was all going, and how to better optimise the use of the RAM…. I quickley learned no map file Read More
ESP32 / ESP8266 Arduino: Creating a simple class
The objective of this esp32 tutorial is to explain how to create a very simple class and instantiate an object of it in the Arduino core. This code was tested on both the ESP32 and the ESP8266. The ESP32 tests Read More
ESP8266 Tutorial: Adding Swagger UI to REST API
The objective of this ESP8266 Tutorial is to explain how to add a Swagger UI to a ESP8266 REST API. Introduction The objective of this post is to explain how to add a Swagger UI to a ESP8266 API. Explaining Read More
ESP32 / ESP8266 MicroPython Tutorial: Writing a file
The objective of this ESP32 / ESP8266 MicroPython Tutorial is to explain how to create a file in MicroPython. The code was tested on both the ESP32 and the ESP8266. Introduction The objective of this ESP32 / ESP8266 MicroPython Tutorial Read More
ESP8266 Arduino: Using the SHA1 algorithm
Introduction In this tutorial, we will check how to apply the SHA1 algorithm to a message using the Arduino core on the ESP8266. SHA1 is a hash algorithm that produces a message digest with a length of 160 bits (20 bytes) [1]. Read More