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…

  • 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 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,…

  • How to connect GPS to ESP32

    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

    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…

  • 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…