Category: STM32

How to Use SPI Communication in STM32

How to Use SPI Communication in STM32

In this STM32 SPI Example, we will use Arduino UNO as Slave and STM32F103C8 as Master with Two 16X2 LCD display attached to each other separately. Two Potentiometers are also connected with STM32 (PA0) and Arduino (A0) to determine the sending values (0 to 255) from master to slave and slave to master by varying the potentiometer.

Check out the complete tutorial here: https://circuitdigest.com/microcontroller-projects/stm32-spi-communication-tutorial

How to use I2C Communication in STM32 Microcon…

How to use I2C Communication in STM32 Microcontroller

STM32 has more features than Arduino board. So it would be great to learn about communication between STM32 and Arduino by using SPI & I2C bus. In this tutorial, we will use I2C bus for communication between Arduino and STM32F103C8, and will learn about SPI bus in next tutorial. To know more about STM32 board, check other STM32 projects.
Find here the complete project with circuit diagram, code and tutorial: https://circuitdigest.com/microcontroller-projects/stm32-stm32f103c8-i2c-communication-tutorial

STM32F103C8 ADC Tutorial – Measuring Analog Vo…

STM32F103C8 ADC Tutorial – Measuring Analog Voltage

The ADC embedded in #STM32 microcontrollers uses the SAR (successive approximation register) principle, by which the conversion is performed in several steps. The number of conversion steps is equal to the number of bits in the ADC converter. Each step is driven by the ADC clock. Each ADC clock produces one bit from result to output. The ADC internal design is based on the switched-capacitor technique.

Learn more about STM32 ADC Feature, visit: https://circuitdigest.com/microcontroller-projects/how-to-use-adc-in-stm32f103c8-stm32-blue-pill-board

Programming STM32F103C8 Board using USB Port

Programming STM32F103C8 Board using USB Port

In our previous tutorial we learnt the basics of the STM32 Development Board and also programmed it to blink an LED. But there was one huge drawback with it. In order to program the Board we utilised a FTDI programmer module and also had to toggle the boot 0 jumper between and 1 position while uploading and testing a code, which is surely a daunting task. Also the mini-USB port on the Development board was left totally unused. The reason for doing that is, when the STM32 development board is purchased it does not come with an Arduino ready boot loader and hence the board will not be discovered by your computer when connected through the USB.
All Embedded Projects: https://circuitdigest.com/embedded