Home STM32

STM32

188 Articles

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 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.

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...

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.

STM32 ADC Differential Mode Explained – Tutorial #11

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...

STM32 ADC | PART 10 Reference Voltage

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

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 &...