• Add bookmark
EmbeddedExpertIO
  • Home

Getting started with STM32L053: I2C Write Mode

Posted July 10, 2022 by Husamuldeen

In this guide, we shall see how to configure I2C in STM32L053 to write to a specific register of an I2C device (DS3231 in this case). In this guide, we will cover the following: I2C write mode. I2C write code. Demo. 1. I2C write mode: In order...

READ MORE

Getting started with STM32L053: I2C Read Mode

Posted July 6, 2022 by Husamuldeen

In this guide, we shall see how to configure I2C peripheral in STM32F7 to read certain amount of data from memory location. In this guide, we shall use DS3231 RTC to read seconds, minutes and hours. In this guide, we shall cover the following...

READ MORE

Getting started with STM32L053: SPI (Serial Peripheral Interface)

Posted July 3, 2022 by Husamuldeen

In this guide, we shall discuss what is SPI and how transmit single byte over SPI. In this guide, we will cover the following: What is SPI. SPI pin setup. SPI initialize. SPI transmite function. Result. 1. What is SPI SPI, which stands for Serial...

READ MORE

Working with STM32 and Addressable LED part 2: Driver development

Posted June 29, 2022 by Husamuldeen

In the pervious guide(here), we took a look at the WS2812 and they work and type of communication required. In this guide, we shall see how to use PWM in DMA mode to control those LED. 4. Setting up the PWM and DMA: Since we shall use TIMER 1 of...

READ MORE

Working with STM32 and Addressable LED part 1: Introduction

Posted June 26, 2022 by Husamuldeen

In this guide, we shall see how to interface addressable LED WS2812 with STM32. We shall see how the data should be send, and how to configure STM32 to communicate with these type of LED. In this part 1, we shall cover the following In this...

READ MORE

Working with STM32 and Liquid Crystal display: Custom Character

Posted June 22, 2022 by Husamuldeen

In the previous guide (here), the usage of Liquid Crystal Display with I2C is presented, in this guide, the usage of custom character capability of the LCD shall be discussed. The following will be covered: Custom Character of LCD. Code. Demo. 1...

READ MORE

Working with STM32 and PID Controller Part 3: Speed control

Posted June 19, 2022 by Husamuldeen

In the previous guide (here), we took a look at how to implement the PID controller programmatically. In this guide, we shall use simple case study to control the speed of a DC motor. In this guide, we shall cover the following: What is speed...

READ MORE

Getting started with STM32L053: Timer in Output Compare Mode

Posted June 16, 2022 by Husamuldeen

In the previous guide (here), we took a look at the PWM mode in timer2 of STM32L053. In this guide, we shall take a look at the output compare where the the output will be toggled each time the timer overflow. In this guide we cover the...

READ MORE

Getting started with STM32L053: Timer in PWM Mode

Posted June 12, 2022 by Husamuldeen

In the previous guid (here), the timer interrupt was introduced with rate of 1Hz to blink the LED.In this guide, it shall present the usage of timer in PWM mode. This guide shall cover the following: What is PWM. Configure the timer and GPIO to...

READ MORE

Getting started with STM32L053: Timer interrupt

Posted June 8, 2022 by Husamuldeen

In previous two guides, we discussed how to use timer to generate delay (here). In this guide, we shall look how to configure TIM2 to generate an interrupt every second and toggle an led every second. In this guide, we will cover the following...

READ MORE

Getting started with STM32L053: Delay using timers

Posted June 5, 2022 by Husamuldeen

In this guide, we shall investigate how to use timer to generate precise delay in down to microseconds ( will use 500 millisecond) delay here for demonstrations purposes only). In this guide, we will cover the following: What is the timer and how...

READ MORE

Measuring The Rotation Speed Using STM32 and Timer in Encoder Mode

Posted May 31, 2022 by Husamuldeen

In the previous guide (here), we saw how to configure timer to work in encoder mode. In this guide, we shall take it step further and measure the rotational speed in RPM (Revolutions per Minutes). In this guide, we shall cover the following: How...

READ MORE
1-1011-2021-3031323334…41-41
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
Secure Boot From Ground Up™

Secure Boot From Ground Up™

Build a production-minded Secure Boot chain on STM32, including signing workflows, flash layout, policy enforcement, rollback control, and deterministic recovery.

$150.78
Zephyr OS from Ground Up™

Zephyr OS from Ground Up™

Hands-On Zephyr OS: Real-Time Firmware Development on STM32

$129.78
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
Advanced Digital Signal Processing on ARM Processors

Advanced Digital Signal Processing on ARM Processors

Filter Design, FFT, Realtime DSP, CMSIS-DSP

$129.99
Safety-Critical Embedded C++ Firmware Development

Safety-Critical Embedded C++ Firmware Development

Designing Deterministic, Standards-Compliant Firmware for Automotive, Aerospace and Industrial Applications with MISRA C++, AUTOSAR, DO-178C, ISO 26262, and IEC 61508

$129.78
Embedded C Test-Driven Development

Embedded C Test-Driven Development

Hands-On Guide to Embedded Test-Driven Development (TDD) for Professional Embedded C Developers

$99.78
Recent Comments
  • Husamuldeen on Working with STM32 and E-Ink Display Part 1: Introduction and Environment Setup
  • Marc on Working with STM32 and E-Ink Display Part 1: Introduction and Environment Setup
  • Husamuldeen on Getting Started with STM32F103: ADC Multi Channel Continuous Conversion Mode with DMA
  • Jose on Getting Started with STM32F103: ADC Multi Channel Continuous Conversion Mode with DMA
  • Husamuldeen on Working with STM32 and Acceleration Sensor: ADXL345 in SPI mode Part 2
Archives
Advanced Embedded Object-Oriented Programming in C++

Advanced Embedded Object-Oriented Programming in C++

Mastering C++ Object-Oriented Programming for Microcontroller-Based Firmware Development

$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