
Microcontroller Tutorials with Code from Scratch
Controllerstech.com is dedicated to teaching STM32, ESP32, and embedded systems through practical, hands-on tutorials. All examples are built from scratch using datasheets and reference manuals, and every project is tested on real hardware to ensure accuracy and reliability. The goal is to help you gain complete control, deep understanding, and the confidence to build real-world embedded applications.
Implement OTA (Over‑The‑Air) firmware updates on STM32 using the Mongoose Ethernet library. Learn setup, HTTP…
Create a weather station using STM32 and the Mongoose library. Learn to read sensor data…
Build a web server on STM32 using the Mongoose library. Learn how to serve web…
Learn how to set up Ethernet on STM32 using the Mongoose networking library. Step-by-step guide…
Learn how to use STM32 ADC in differential mode to measure voltage differences between two…
This tutorial explains the concept of ADC reference voltage in STM32. You’ll learn why it…
Discover how to port the U8G2 monochrome graphics library to STM32 with hardware SPI, I2C,…
Boost STM32 ADC resolution with hardware oversampling. Step-by-step guide for STM32, including CubeMX config, VM…
This guide explains how to interface DS18B20 temperature sensors with Arduino using the One-Wire protocol….
This tutorial explains how to interface the SHT3X series (SHT30, SHT31, SHT35) with Arduino using…
Learn how to interface the AHT20 sensor with Arduino to measure temperature and humidity, and…
Learn how to interface the SHT21 temperature and humidity sensor with Arduino. This tutorial shows…
Learn how to interface DHT11 and DHT22 sensors with Arduino to measure temperature and humidity….
In this tutorial you will learn how to Interface W25Q Flash with Arduino using SPI….
Learn how to interface the AT25C256 EEPROM with Arduino using I2C. This tutorial covers circuit…
Learn how to use the MAX7219 7-segment display with Arduino to show text and numbers….