↓ Skip to main content

Tutorial

Designing a fail-safe watering controller with ESP-IDF

Designing a fail-safe watering controller with ESP-IDF

This ESP-IDF project controls an ESP32-C3 or ESP32-C6 watering system with short pump pulses. A one-shot timer and the task watchdog back up the control task. Persistent invalid readings, insufficient moisture rise after a cycle or an exhausted pump budget latch a fault. The article covers the wiring, control logic and host tests, with a checklist for hardware bring-up.
Schematik: from a one-line idea to an ESP32-C6 touchscreen gadget

Schematik: from a one-line idea to an ESP32-C6 touchscreen gadget

Schematik is a web app that plans parts, pins, wiring and firmware from a plain-language description. This article follows one project built in Schematik on the Waveshare ESP32-C6-Touch-LCD-1.47. It shows how pins are chosen against the chip’s strapping, USB and ADC constraints, how the Arduino firmware is compiled, how it runs in a browser simulator, and how it is flashed to the real board from Chrome. It also lists which Espressif SoCs Schematik can build for, simulate and flash.
Using ESP_Video in Arduino

Using ESP_Video in Arduino

·14 mins
This article introduces the ESP_Video library in the Arduino core for ESP32. It explains how the V4L2-style capture API works on MIPI-CSI and DVP camera interfaces, walks through hardware configuration and frame capture, and shows how to run the official examples on ESP32-P4 and ESP32-S3 boards.
ESP-IDF tutorial series: PWM

ESP-IDF tutorial series: PWM

·13 mins
This article explains what a PWM signal is, and how to generate PWM signal using the ledc peripheral on Espressif devices. It covers the LEDC timer and channel configuration, and shows how to convert a PWM signal into a clean DC value using an RC filter, including the tradeoffs between ripple and response speed.
ESP-IDF tutorial series: GPIO get started - Part 1

ESP-IDF tutorial series: GPIO get started - Part 1

··12 mins
This article explains how to configure and control GPIO pins on Espressif SoCs, covering push-pull and open-drain output modes, drive capability, and library usage. It then provides a hands-on example of blinking an LED using gpio_set_direction and gpio_set_level on a ESP32-C61-DevKitC.