Learn how to add a touch interface to an SPI LCD using ESP32. Step-by-step guide with code and circuit to create interactive touch-enabled displays.
Microcontroller Tutorials with Code from Scratch
Learn STM32, ESP32, and embedded systems by writing code from scratch using datasheets and reference manuals. All tutorials are tested on actual hardware to help you build reliable, real-world projects with full control and understanding.
What’s New in STM32
Interface AHT20 Sensor with STM32 Using I2C
Learn how to interface the AHT20 temperature and humidity sensor with STM32 using I2C. Includes circuit diagram, datasheet-based code, and project files.
GP2Y0A41SK0F STM32 ADC Distance Measurement Guide
Learn how to interface the GP2Y0A41SK0F IR distance sensor with STM32 using ADC. Includes circuit diagram, code example, and distance measurement explanation.
Interface SD Card with STM32 via SDIO (4bit Mode)
Step-by-step guide to interface an SD card with STM32 using SDIO peripheral and DMA. Covers CubeMX setup, SDIO 4Bit config, and read/write file operations.
STM32 CAN Bus Tutorial: CAN Protocol Communication with Transceivers & Filters
Learn CAN bus protocol in STM32 using CubeMX & HAL. Set up CAN transceivers, filters, interrupts, and communicate between STM32 boards.
STM32 Flash Programming with HAL_FLASH_Program | Page & Sector Erase Examples
Learn STM32 flash programming using HAL. Covers flash reprogramming, STM32F1/F4/H7 code examples, and how to write/read internal flash.