• Add bookmark
EmbeddedExpertIO
  • Home

Porting U8G2 Graphics Library to STM32 Part2: SSD1306 OLED Display

Posted 15 minutes ago by Husamuldeen

In this part, we will use the U8g2 library to interface the popular SSD1306 OLED display with STM32. This will demonstrate how to initialize the display and render text and graphics through U8g2. In this guide, we shall cover the following: 5...

READ MORE

[Revised] Getting Started with STM32F103: Timer in PWM Mode with DMA

Posted 4 days ago by Husamuldeen

In the previous guide of PWM (here), we saw how to configure the timer to operate in PWM mode and update the duty cycle using for loop. In this guide, we shall use DMA and set of predefined duty cycle to update two channels of PWM. In this guide...

READ MORE

Emulating I2C Sensors Part 3: Storing the Configuration Data

Posted 6 days ago by Husamuldeen

In this part of the guide, the emulated I2C sensor will handle incoming configuration data sent by the master device. This allows the STM32 to mimic a real sensor’s behavior by accepting register writes that define its operating mode and...

READ MORE

STM32 ADC Application Part 8: Oversampling

Posted 13 days ago by Husamuldeen

This guide focuses on implementing ADC oversampling on STM32 to improve resolution and reduce noise in analog signal acquisition. It explains the oversampling principle, hardware configuration, and how to leverage STM32’s built-in support...

READ MORE

Porting U8G2 Graphics Library to STM32 Part1: Introduction

Posted 18 days ago by Husamuldeen

U8G2 is a powerful, open-source graphics library ideal for driving monochrome OLEDs and LCDs with STM32 microcontrollers, offering extensive display support and efficient rendering. This first part of the guide covers the essential steps for...

READ MORE

STM32 Timers Applications: Servo Motor Control

Posted 20 days ago by Husamuldeen

Controlling a servo motor is a fundamental task in embedded systems, often used in robotics, automation, and mechatronics to achieve precise angular positioning. In this section, we will explore how to use an STM32 timer to generate the PWM...

READ MORE

STM32 UART Part 2: Send Data using Interrupt and DMA

Posted 26 days ago by Husamuldeen

In this second part of our UART guide series, we will learn how to transmit data efficiently using interrupts and DMA.These advanced methods free up CPU resources, enabling non-blocking communication for real-time embedded applications. In...

READ MORE

STM32 UART Part 1: Configuration and Sending Data

Posted 27 days ago by Husamuldeen

In this first part of our UART guide series, we will explore how to configure UART and send data efficiently.Mastering these basics is essential before diving into advanced reception and interrupt techniques later. In this guide, we shall cover...

READ MORE

STM32 ADC Application Part 7: ADC Injection Channel

Posted July 19, 2025 by Husamuldeen

Injected channels in STM32 ADC provide a high-priority conversion mechanism that interrupts regular ADC conversions to perform critical measurements instantly. They are ideal for applications requiring precisely timed sampling, such as motor...

READ MORE

STM32 Timers Applications: Read Quadrature Encoders

Posted July 17, 2025 by Husamuldeen

Timer encoder mode in STM32 microcontrollers allows direct interfacing with quadrature encoders to measure position, speed, and direction without complex software decoding. By leveraging the timer’s hardware decoding capabilities, embedded...

READ MORE

STM32 ADC Application Part 6: External Trigger Using Timers

Posted July 5, 2025 by Husamuldeen

In this part of the STM32 ADC series, we explore how to use external triggers from timers to start ADC conversions automatically. This method enables precise and periodic sampling synchronized with timer events, ideal for real-time control...

READ MORE

Emulating I2C Sensors Part 2: Sensor Receiving Data

Posted July 3, 2025 by Husamuldeen

In this part of the guide, we will implement the functionality for the emulated sensor to receive configuration data from the I2C master. This allows the STM32-based emulator to mimic real sensor behavior when registers are written for settings...

READ MORE
123…11-2021-3031-35
Categories
  • Data Structures
  • Deep Learning
  • Embedded Systems
  • LCD
  • Peripheral Drivers
  • State Machine
  • State Machines
  • STM32
  • TM4C123
  • Uncategorized

Get Our #1 Embedded Systems Bestseller on Amazon!

✅ Master Embedded Systems – Decode datasheets & build peripheral drivers from scratch.

✅ Hands-On Firmware Development – Work with GPIO, UART, SPI, I2C, ADC, DMA, and more.

✅ No More Blind Copying – Understand every line of code for real expertise.

✅ Advance Your Career – Gain confidence & independence in firmware development.

Join the EmbeddedExpertIO School

EmbeddedExpertIO School
Modern Bare-Metal Embedded C++ Programming from Ground Up™

Modern Bare-Metal Embedded C++ Programming from Ground Up™

No Libraries used, Embedded C++, ADC,UART,TIMERS, GPIO,SPI,I2C, Template Programming etc.

$69.99

Embedded Systems Bare-Metal Ethernet Programming

Embedded Systems Bare-Metal Ethernet Programming

Build Embedded Ethernet Firmware : UDP, TCP, HTTP, SSI, CGI etc

$79.99
Mastering the CAN Bus from Ground Up™

Mastering the CAN Bus from Ground Up™

Navigating the Intricacies of the Controller Area Network(CAN)

$79.78
Multicore Firmware Development from Ground Up™

Multicore Firmware Development from Ground Up™

Comprehensive Guide to Embedded Multicore Programming

$67
4G LTE IoT: Bare-Metal to HTTP, MQTT, SMS

4G LTE IoT: Bare-Metal to HTTP, MQTT, SMS

Mastering IoT from Ground Up: Build, Innovate, and Monetize with 4G LTE

$50.04
Master Firmware Updates with In-Application Programming(IAP)

Master Firmware Updates with In-Application Programming(IAP)

Keys to Implemementing Firmware Updates : IAP Host Application, Advanced Bootloader

$50.25
Recent Comments
  • Husamuldeen on Getting Started with STM32F103: Timer in PWM Mode with DMA
  • Husamuldeen on STM32 and Nextion Display Part 2: Sending Strings
  • Husamuldeen on STM32 and Nextion Display Part 1: Environment Setup
  • Frank on Getting Started with STM32F103: Timer in PWM Mode with DMA
  • yash on STM32 and Nextion Display Part 2: Sending Strings
Archives
Modern Embedded GUI with TouchGFX

Modern Embedded GUI with TouchGFX

Craft Next-Gen Embedded User Experiences with TouchGFX

$70.03
Advanced Audio Processing: Mastering I2S, Codecs, Audio Input, and Output

Advanced Audio Processing: Mastering I2S, Codecs, Audio Input, and Output

Develop Expert Skills in STM32-Based Audio Systems and Driver Integration

$99.78
Wireless Firmware Update: Mastering FOTA with STM32 and ESP8266

Wireless Firmware Update: Mastering FOTA with STM32 and ESP8266

Firmware Over-the-Air (FOTA) Update from Ground Up™

$129.78

 All Rights Reserved

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Learn more here
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT