Since most of the modern electronics requires more compute power, memory and peripherals set, the popularity of 32-bit microcontrollers is increasing among designers. One of the most commonly used 32-bit devices are the STM32 Microcontrollers from ST Microelectronics which is based on the successful ARM core processors. There are many STM32 Development boards to help you get started but, in this section, we will cover some of the basic STM32 tutorials and sample projects using STM32F103C8 Microcontroller using the popular STM32 Blue Pill Development Board.
If you want more electronics projects, you can also check out our collection at Arduino IoT Projects | Arduino Robotics Projects | Arduino AI Projects | Arduino Home Automation Projects | Raspberry Pi Projects | ESP32 Projects
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…
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…
STM32 Microcontrollers which uses ARM Cortex M architecture is now becoming popular and are used in many applications because of its feature, cost and performance. We have programmed STM32F103C8 using the Arduino IDE in our previous tutorials. Programming STM32 with Arduino IDE is simple, as there are lots of libraries available for various sensors to perform any task, we…
If you think about future technologies then the two names, which immediately comes in your mind, are Artificial Intelligence (AI) and Internet of Things (IoT). AI is still in its initial stage and there is lot more to be developed. But IoT is in Growth stage and lot of IoT based products are already there in the market. Also there are many tools and hardware …
Interrupts is a mechanism by which an I/O or an instruction can suspend the normal execution of processor and gets itself serviced like it has highest priority. Like for example, a processor doing a normal execution can also continuously monitor for some kind of event or an interrupt to happen. That is when an external interrupt is happened (like from some sensor) then the…
In electronics, Servo motors are mostly used in Robotics Projects because of their accuracy and easy handling. Servo motors are smaller in size and they are very effective and energy efficient. They provide high torque and can be used to lift or push weights according to motors specification. In this tutorial we will learn about Servo Motor and How to interface…
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…
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…
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…
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…
The STM32 Development Board housing the STM32F103C8 Microcontroller is getting increasingly popular thanks to its ARM Cortex M3 architecture, it has high operational speed and more peripheral options. Also since, this board can be easily programmed using the Arduino IDE it has become a preferable choice for many hobbyists and engineers…
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…