Introduction In this esp32 tutorial we will check how to create a very simple alarm system with a buzzer and a PIR motion sensor. We will be using the Arduino core, running on the ESP32. Basically, when motion is detected Read More
ESP32 Arduino Tutorial: PIR motion sensor and interrupts
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
Bitcoin Integration Library for Arduino and ESP8266 AKA ‘Koyn’
We @Elkrem.io built a bitcoin library -AKA Koyn- with a simple and easy to use API that allows you to connect your hardware with the bitcoin network. You can find the library here Library Documentation We also built a vending machine that 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