Tags
ESP32
Everything tagged “ESP32” across notes, resources, and Mochi logs.

Real-Time Operating System (RTOS): FreeRTOS on ESP32
A beginner-friendly guide to using FreeRTOS on ESP32 for multitasking firmware with tasks, queues, notifications, mutexes, and practical debugging habits.

Industrial IoT with ESP32: Modbus and Real-Time Control
A practical guide to Modbus TCP, Modbus RTU over RS-485, and PLC communication with ESP32 for reliable industrial IoT prototypes.

OpenMQTTGateway: Building a Multi-Protocol Smart Home Hub
Set up an OpenMQTTGateway hub for BLE, Wi-Fi, RF, and LoRa sensors, then route the data into MQTT and Home Assistant without building a separate bridge for every device.

Over-The-Air (OTA) Firmware Updates: Design & Implementation
A practical guide to designing safe OTA firmware updates for ESP32 and STM32, covering partitions, signed images, rollback, rollout control, and delta updates.

HC-05 vs HM-10 vs BLE 5.0: Which Bluetooth Module Should You Choose?
Compare HC-05, HM-10, and BLE 5.0 modules by Bluetooth Classic, BLE GATT, UART, phone support, range, power, and integration for Arduino, ESP32, and IoT projects.

ESP32 Beginner Guide – P5: Wi-Fi and Web Server
Connect ESP32 to Wi-Fi, find its IP address, and build a local web server that displays BME280 temperature, humidity, and pressure in a browser.

ESP32 Beginner Guide – P6: Bluetooth Low Energy
Learn ESP32 BLE, GATT services, and characteristics by sending BME280 readings to a phone with Read and Notify.

ESP32 Beginner Guide – P7: Build a Complete ESP32 Project
Finish the series with a Room Comfort Monitor: ESP32 reads a BME280, controls a warning LED and serves a local Wi-Fi dashboard.

ESP32 Beginner Guide – P4: Connecting Sensors
Connect digital, analog, and I2C sensors to ESP32; read temperature, humidity, and pressure from a BME280 and diagnose devices that are not detected.
ESP32 Memory Management Deep Dive: SRAM, PSRAM, Heap and FreeRTOS Stacks
A practical ESP32 memory guide covering SRAM layout, PSRAM usage, heap fragmentation, RTOS task stacks, and small optimization tricks that are useful in real firmware.

ESP32 Beginner Guide – P3: Pinout and GPIO
Read an ESP32 pinout, choose GPIO for input and output, use pull-ups, wire an LED and button, and avoid boot, flash, PSRAM, and unsafe 5 V signals.

ESP32 IoT Project Roadmap: From LED to Production
An interactive ESP32 project roadmap from LEDs and buttons through connected sensors and edge ML to production OTA and security, with practical guides at each level.

ESP32 Beginner Guide – P1: What Is ESP32 and Choose ESP32
Learn the difference between ESP32 chips, modules, and development boards, then choose an ESP32-C3, ESP32-S3, or classic ESP32 board without buying hardware you do not need.

ESP32 Beginner Guide – P2: Setup and Upload Your First Sketch
Install Arduino IDE and Arduino-ESP32, select the correct board and port, upload your first sketch, and fix Failed to connect errors on ESP32, ESP32-C3, and ESP32-S3.

18 Common ESP32 Errors and How to Fix Them – Part 1
How I troubleshoot eight common ESP32 problems: flashing, boot mode, brownouts, serial, GPIO, I2C, SPI, and custom PCB bring-up.

A smart thermostat that learns how your room warms up
Notes on building an ESP32 smart thermostat that learns a room's heating rate, starts at the right time, and keeps safety control local.

mmWave Radar Basics – Part 1: Motion, Gesture, and Presence
Practical notes on separating motion, gesture, and presence detection, choosing the right mmWave radar module, and building an ESP32 prototype that is easy to tune.

Smart Garden: Soil, Light and Water Monitoring
How I built a small ESP32 smart garden to monitor soil moisture, light, and water, then irrigate a few balcony plants without turning the project into a tangle of wires.

Deep Dive: BLE Communication for IoT Devices
A practical guide to reliable BLE communication for IoT devices, covering GATT, packets, MTU, notifications, reconnection, security, and power with ESP32 NimBLE.

IoT Security Trend: A Practical Baseline for Connected Devices
A practical IoT security guide for ESP32 and connected devices, from threat modeling and unique identity to Secure Boot, signed OTA, protected storage, and testing.

A camera-free desk clock that indicates sleep quality
Notes for an ESP32 bedside clock that uses CO2, temperature, light, and bed presence to explain why a night felt off, without putting a camera in the bedroom.

A fridge and freezer temperature alert device for power outages
Notes for a small ESP32 box with two DS18B20 probes and Home Assistant alerts, meant to catch a warming fridge or freezer after a power outage.

A kitchen HMI near the fridge for meals and expiring food
Notes for a small LCD/TFT HMI mounted near the fridge, using Home Assistant to show meal plans, expiring food, and quick shopping-list actions.

A mini 3D-printed solder fume extractor for a small desk
Build a compact fume extractor with a 120 mm fan, 3D-printed case, and ESP32-C3 for speed control, timers, and filter reminders.

A smart medicine reminder box for older adults with phone alerts
Notes for a medicine box with lights, a quiet buzzer, RTC, and phone alerts when a scheduled dose has not been confirmed after a grace period.

A Vietnamese voice remote for local Home Assistant control
Notes for building an ESP32-S3 voice remote with ESPHome and a local Home Assistant Assist pipeline so Vietnamese voice commands can stay inside the home network.

A small IoT reminder to open the window when a room gets stuffy
Notes for a small ESP32 CO2 monitor on a desk, using SCD40/SCD41 to suggest opening the window when a room has stayed stuffy for too long.

An IoT anti-mold humidity monitor for wardrobes and camera cabinets
Notes for a small ESP32 humidity monitor for wardrobes or camera cabinets, using an SHT sensor to catch high humidity that lasts too long.

Net Classes and Trace Width: When Should a PCB Trace Be Wider?
A practical guide to PCB net classes and trace width for small boards: signal traces, 3V3, 5V, battery paths, ground, power vias, and a pre-Gerber checklist.
PCB Ground Planes: GND Is More Than a Net Name
A practical guide to PCB ground planes, return current, GND layout mistakes, stitching vias, decoupling paths, and copper pour checks.

Choosing Capacitors for Electronics: Simple Part, Easy Mistake
A beginner guide to choosing capacitors for circuits: capacitance, voltage rating, decoupling, ceramic types, DC bias, and ESP32 values.

Displaying Expressive GIFs on ESP32 with LVGL
A practical guide to animated GIF expressions in ESP32 firmware: convert assets, enable LV_USE_GIF, store files, and render with lv_gif.
GIF, PNG, JPG, or a C Array: Which Image Format Fits Your ESP32 Screen?
Compare GIF, PNG, JPG, and C array images for ESP32 displays by flash use, RAM use, decode speed, alpha, animation, and quality.

Reading an Open-Source ESP32 Schematic Before Reusing It
An ESP32 TouchDown case study for reviewing an open-source schematic before reuse, covering power, reset, boot, USB, connectors, and tests.

