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 Projects & Tutorials
STM32 microcontrollers are widely used in embedded and industrial systems. This section offers practical tutorials and tested code for STM32F103, STM32F4, and Nucleo boards. Programming is done using STM32CubeIDE with both HAL and LL drivers. Topics include GPIO, UART, ADC, timers, and other core functions—ideal for learners and developers working on real hardware.
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.
STM32 ADC Differential Mode Explained – Tutorial #11
Learn how to use STM32 ADC in differential mode to measure voltage differences between two inputs. Covers biasing, common‑mode range, CubeMX & HAL code.
STM32 ADC | PART 10 Reference Voltage
Understand STM32 ADC reference voltage options: internal VrefINT or external VREFBUF via VDDA/VREF+. Includes CubeMX config, sampling, and calibration code.
Port U8G2 Graphics Library to STM32 – Step‑by‑Step
Discover how to port the U8G2 monochrome graphics library to STM32 with hardware SPI, I2C, and software SPI methods. CubeMX setup, callbacks & demos.
STM32 ADC | PART 9 Oversampling Technique
Boost STM32 ADC resolution with hardware oversampling. Step-by-step guide for STM32, including CubeMX config, VM shifts, sampling, and HAL code demo.
STM32 ADC | PART 8 Injected Conversion Mode using CubeIDE
Master STM32 ADC injected conversions for high‑priority sampling. Covers triggered & auto‑injection modes, CubeMX setup, HAL C code, and STM32F1/H7 examples.