STM32F103C8T6

How to use Digital-to-Analog Converter (DAC) with STM32F10C8 Blue Pill Board How to use Digital-to-Analog Converter (DAC) with STM32F10C8 Board

We all know that the Microcontrollers work only with digital values but in real world we have to deal with analog signals. That’s why ADC (Analog to Digital Converters) is there to convert real world Analog values into Digital form so that microcontrollers can process the signals. But what if we need Analog signals from digital values, so here comes the DAC (…

Interfacing RFID with STM32 Microcontroller How to Connect RFID with STM32 Microcontroller

In this tutorial, we will design a system to read the RFID cards using STM32 and RFID Reader. RFID stands for Radio Frequency Identification which reads information by using radio frequencies. RFID’s are used in many authentication systems like elevator parking system, automated toll collection, maintaining patient information in hospitals, automated data collection etc…

How to use SPI Communication in STM32 Microcontroller How to Use SPI Communication in STM32 Microcontroller

In our previous tutorials, we have learned about SPI and I2C communication between two Arduino boards. In this tutorial we will replace one Arduino board with the Blue Pill board that is STM32F103C8 and will communicate with the Arduino board using SPI bus. In this STM32 SPI Example, we will use Arduino UNO as Slave and STM32F103C8 as Master with Two 16X2 LCD display…

How to use I2C Communication in STM32 Microcontroller How to use I2C Communication in STM32 Microcontroller

In our previous tutorials, we have learned about SPI and I2C communication between two Arduino boards. In this tutorial we will replace one Arduino board with the Blue Pill board that is STM32F103C8 and will communicate with the Arduino board using I2C bus.

STM32 has more features than Arduino board. So it would be great to learn about communication…

Interfacing Stepper Motor with STM32F103C8 (Blue Pill) Interfacing Stepper Motor with STM32F103C8

Stepper motor is brushless DC motor, which can be rotated in small angles, these angles are called steps. Generally stepper motor use 200 steps to complete 360 degree rotation, means its rotate 1.8 degree per step. Stepper motor is used in many devices which needs precise rotational movement like robots, antennas, hard drives etc. We can rotate stepper motor to any…

Interfacing Bluetooth HC-05 with STM32F103C8 Blue Pill: Controlling LED Interfacing Bluetooth HC-05 with STM32F103C8 Blue Pill: Controlling LED

In today’s world Bluetooth has become very popular and almost every device like mobile phone, laptop, and cars infotainment system uses Bluetooth for wireless communication. Bluetooth is not only used to transfer data but also to control another Bluetooth devices wirelessly, like using Bluetooth headset you can hear the song wirelessly from your mobile phone or can use car…

Pulse width Modulation (PWM) in STM32F103C8: Controlling Speed of DC Fan Pulse width Modulation (PWM) in STM32F103C8: Controlling Speed of DC Fan

In previous article we have seen about ADC conversion using STM32. In this tutorial, we will learn about PWM (Pulse Width Modulation) in STM32 and how can we control brightness of LED or speed of DC fan using PWM technique.

We know that there are two types of signal: Analog and Digital. Analog signals have voltages like (3V, 1V...etc) and digital…

How to use ADC in STM32F103C8 - Measuring Analog Voltage using STM32 ADC How to use ADC in STM32F103C8 - Measuring Analog Voltage

One common feature that is used in almost every embedded application is the ADC module (Analog to Digital Converter). These Analog to digital Converters can read voltage from analog sensors like Temperature sensor, Tilt sensor, Current sensor, Flex sensor and much more. So in this tutorial we will learn how to use ADC in STM32F103C8 to read Analog voltages…

Interfacing LCD with STM32F103C8T6 STM32 Board (Blue Pill) Interfacing 16x2 LCD with STM32F103C8T6

For any microcontroller project, interfacing a display unit with it would make the project a lot easier and appealing for the user to interact with. The most commonly used display unit for microcontrollers is the 16×2 Alpha numeric displays. These types of displays are not only useful to display vital information to the user but can also act as a debugging tool during the…

Getting Started with STM32 Development Board (STM32F103C8T6) using Arduino IDE Getting Started with STM32 (Blue Pill) using Arduino IDE: Blinking LED

Arduino would have been the first board for many hobbyists (including me) and engineers out there when they started with electronics. However, as we start building more and dig deep we would soon realise that Arduino is not industry ready and its 8-bit CPU with a ridiculously slow clock, it does not give you enough juice for your projects. Hopefully though, we have the new…