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
STM32 Ethernet with Mongoose | Part 4 OTA Update
Implement OTA (Over‑The‑Air) firmware updates on STM32 using the Mongoose Ethernet library. Learn setup, HTTP transfer, and safe flashing.
STM32 Ethernet with Mongoose | Part 3 Weather Station
Create a weather station using STM32 and the Mongoose library. Learn to read sensor data and serve it over Ethernet via a dynamic web interface.
STM32 Ethernet with Mongoose | Part 2 Web Server
Build a web server on STM32 using the Mongoose library. Learn how to serve web pages, handle HTTP requests, and expand Ethernet functionality.
STM32 Ethernet with Mongoose | Part 1 Setup Guide
Learn how to set up Ethernet on STM32 using the Mongoose networking library. Step-by-step guide with code, connection details, and configuration tips.
ESP32 SPI LCD with Graphics using LVGL
Learn to interface an SPI LCD with ESP32 and display graphics using the LVGL library. This guide includes code, setup, and working demo to enhance your project.
What’s New in ESP32
ESP32 SPI Tutorial Part 2: Read Data from Slave
Master ESP32 SPI Part 2: Configure bus to read data from a W25Q flash slave, retrieve its ID, and access downloadable project files. Step-by-step guide.
ESP32 SPI Tutorial Part 1: Configure & Transmit
Learn how to configure ESP32 SPI as master, initialize the bus & device, and transmit data using Espressif-IDE. Step-by-step guide in this Part 1 SPI tutorial.
How to Read & Write MPU6050 with ESP‑IDE | I2C PART 2
Learn how to read and write data to the MPU6050 accelerometer via I2C on ESP32 using ESP‑IDF. Includes wiring, config, master init & read/write code.
How to Interface LCD1602 via I2C on ESP32 with ESP‑IDE
Learn how to interface a PCF8574‑based I2C LCD1602 with ESP32 using ESP‑IDE. Complete wiring guide, address setup, init & string‑display code.
ESP32 UART Part 2: Control LED via UART + ESP‑IDF
Learn how to control an ESP32 LED over UART using ESP‑IDF. Covers UART2 setup, cross‑wiring FTDI, RX/TX tasks, LED command parsing (ON/OFF).
ESP32 UART Example with ESP-IDF – uart_set_pin, TX/RX Code in C
Learn UART on ESP32 using ESP-IDF. Covers UART pin mapping, TX/RX tasks in C, uart_set_pin(), and a complete working example.
What’s New in AVR
AVR #2. How to use input button || Ext. Interrupt
This tutorial covers how to read the Input button in AVR with and without using the Interrupt. We will also blink a LED in response to the…
ATtiny817 Xplained mini || Clock setup || LED Blink
This tutorial covers how to setup the first project in the microchip atudio for the AVR ATtiny817 xplained mini board and blink the LED..