Tag: ESP32
-

How to generate PPM signal with ESP32 and Arduino
The PPM protocol for encoding Remote Control channel values is now a legacy. Still, it is widely accepted by different hardware and when tinkering with Arduino, remote control, and working on own accessories for flight controllers, PPM is still a valid option. A few years ago I presented a code that allows generating PPM stream…
-
ESP32, Arduino and Timer/Alerts
Because of completely different architecture, ISR and Timer solutions known from other Arduino compatible platforms, especially AVR/ATmega does not work on ESP32. They don’t. At all. If you would like to port any code that uses timers from AVR Arduino to ESP32 Arduino, you would have to rewrite them completely. However, timers and alarms with…
-
ESP32 and multiple I2C buses
One of the advantages of the ESP32 microcontrollers over the competitions is dual-core architecture and two I2C buses. Yes, the I2C bus allows connecting multiple slave devices to single pair of SCL SDA wires. As long as slave device addresses are unique, everything will work just fine: OLED display, LM75 temperature sensor, MPU6050 gyroscope. However,…
-
QmuBeacon – ESP32 and LoRa based GPS recovery beacon and locator
Having a broken leg, limited mobility, and paid sick leave have some perks after all. I’ve finally found some free time to sit on the project I started, I think, two years ago: ESP32, LoRa based GPS beacon, and locator. You know, put it on an airplane and have a way to get the distance…
-

ESP8266, ESP32 and ESP32-S2 comparison
Currently, there are 2 types of MCU from Espressif on the market: ESP8266 from 2014, ESP32 from 2016 and ESP32-S2 that debuted in the second half of 2019. Although ESP32-S2 is not yet very popular, it is expected it will replace ESP8266 as a cheaper, more powerful and more secure alternative in the upcoming years.…
-

ESP8266 and ESP32 – the main differences
ESP8266 and ESP32 are the next best thing that happened to DIY world since Arduino itself. Thanks to development boards based on those MCUs brand new possibilities opened in front of all DIY and tinkering enthusiasts. With those two, not only we have cheap and powerful microcontrollers, but we can also make them talk to…
-

How to connect GPS to ESP32
Thanks to a very versatile Input/Output matrix, it is quite simple to connect NMEA GPS modules to ESP32 MCUs. Not only ESP32 boards have 3 serial ports you can choose from, they can be assigned to almost any pin you want. In this example we will connect a popular Ublox NEO-M8N like Beitian BN-880 or…
-

Getting started with ESP32 development boards and Arduino
However fond of good old Arduino based on ATmega328 and ATmega32u4 we might be, no one can now say they are state of the art. Sure, they might be the first choice to do something cheap and simple, but compared to most more modern designs, they are just too old and too weak. Slow, little…
-
ESP32, Arduino and 3 hardware serial ports
When working with ESP32 WiFi/Bluetooth MCU under Arduino SDK for ESP32, you will notice that Serial work just fine. But Serial1 and Serial2 do not. ESP32 has 3 hardware serial ports that can be mapped to almost any pin. But, Serial1 and Serial2 will not work. In case of ESP32 this just has to be…
