Adding an antenna to ESP32 can improve Wi-Fi and Bluetooth reliability when the board is installed far from an access point, placed inside an enclosure, or surrounded by components that interfere with its built-in PCB antenna. However, the modification involves more than soldering a piece of wire to the board. …
Read More »ESP32-S3 Analog Input Leakage Current: High-Impedance ADC Design
The ESP32-S3 analog-to-digital converter works well with low-impedance voltage sources. However, problems can appear when the analog signal comes from a high-value resistor divider, a resistive sensor, or another circuit that cannot supply much current. You may notice that the measured voltage is lower than expected, the first reading is …
Read More »How to Power an ESP32-S3 with AA Batteries
The ESP32-S3 is commonly powered through its USB port while programming and testing. However, USB power is not always practical for projects installed outdoors, mounted on walls, or placed far from an electrical outlet. In this tutorial, we will build an ESP32-S3 AA battery power supply using two AA cells …
Read More »How to Connect IR Proximity Sensor with ESP32
In this tutorial, we will connect an IR proximity sensor with the ESP32. This sensor is commonly used for obstacle detection, line-following robots, object counters, and simple automation projects where you only need to know if an object is near or not. The common IR proximity sensor module has an …
Read More »ESP32-C3 Super Mini Getting Started Guide: Pinout, Arduino IDE Setup, and Built-In LED
The ESP32-C3 Super Mini is one of those tiny development boards that looks almost too small to be useful at first. But once you plug it in and get past the first upload, it becomes a very handy board for compact Wi-Fi and BLE projects. It is smaller than the usual …
Read More »How to Run an SSH Server on ESP32
An SSH server on ESP32 lets you log in to your microcontroller over Wi-Fi using a secure terminal connection. Instead of opening the Arduino Serial Monitor through USB, you can connect from a computer, phone, or another device on the same network and send commands remotely. In this tutorial, you …
Read More »ESP32-S3 Getting Started Guide: Pinout, Arduino IDE, USB, and First Project
The ESP32-S3 is one of the most useful ESP32 boards for modern microcontroller projects. It keeps the Wi-Fi and Bluetooth features that made the original ESP32 popular, but adds better USB support, more memory options, and features aimed at AI, signal processing, and Human Interface Device applications. If you are …
Read More »ESP32 Async Web Server Event Handler Tutorial
The ESP32 is powerful enough to host a small web server directly on the board. This means you can control LEDs, read sensor values, update a webpage, or build a simple browser-based dashboard without needing a separate computer or cloud server. One of the most useful libraries for this is …
Read More »Arduino ESP32 Autobaud Example: Detect UART Baud Rate Automatically
If you are connecting an ESP32 to a UART device, both sides normally need to use the same baud rate. For example, if your external module is sending data at 9600 baud but your ESP32 is listening at 115200 baud, the data will not be read correctly. Fortunately, some ESP32 …
Read More »Solving BLE and Wi-Fi Concurrency on ESP32 Using FreeRTOS
Running Bluetooth Low Energy (BLE) scanning and Wi-Fi networking at the same time on an ESP32 sounds straightforward—until it isn’t. Many developers discover that once BLE scanning starts, their Wi-Fi web server becomes unreliable. Pages load intermittently, HTTP requests time out, or BLE scans suddenly stop when Wi-Fi traffic increases. …
Read More »