Tag: ESP32
-
How to use stepper motors with Arduino
Stepper motors are the workhorse of modern automation and mechatronics. You want something to more and move precisely how much wanted it to move? You use a stepper motor. This is why, we use steppers in cars, robots, all kinds of automation, 3D printers, CNC machines. You name it. The main difference between a stepper…
-
LILYGO T5 4.7-inch E-paper ESP32 development board
One of the biggest advantages of ESP32 development boards (without even counting the speed, flash size, WiFi, Bluetooth, and two cores) is that they come in a variety of shapes and sizes: bare boards, with OLED, with color LCD, with LoRa chipset, with GPS modem, etc., etc. And finally, you can get them with an…
-
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 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 Arduinos 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…