Measurement Applications
Accelerometer using STM32 Nucleo

Table of contents1 What is an Accelerometer?2 About Gravity and Acceleration3 Application using acceleration sensors What is an Accelerometer? Among various sensors, accelerometers are often used in invisible places in products, so many people may not know what they are, despite their high utilization. For example, it is used in smartphones to change the orientation […]

Read more
Measurement Applications
Thermometer using STM32 Nucleo

I will create an application to realize a thermometer using an inexpensive thermistor as a sensor element with an STM32 MCU (Nucleo board). It is a simple program, but it can be developed into various other arithmetic applications using floating point arithmetic with the Cortex-M3 core MCU. Colum The STM32F103RB in the NUCLEO-F103RB is a […]

Read more
Timer/counter Applications
Let's sound a piezoelectric buzzer and speaker [STM32 Nucleo]

Let's connect a piezoelectric buzzer and speaker to an STM32 MCU (Nucleo board) and play them. This time, I used an inexpensive piezoelectric buzzer (model: LF-MB12B06). This is an application of a peripheral timer. For details, see Timer/Counter [Details of STM32's High Functional and General Purpose Timer]. Table of contents1 Piezoelectric buzzer specifications2 Circuit of […]

Read more
Timer/counter Applications
PWM dimming of LEDs with MCU [STM32 Nucleo]

How can we use the digital output of MCU to dim LEDs? I will explain the magic trick of using the digital output of MCU to control the brightness continuously in an analog manner, as if dimming were a magic trick. Colum For example, if an analog VR is added to the input and the […]

Read more
GPIO Applications
STM32 Nucleo MCU starting with LED blinking [Gateway to Embedded system]

Setting the STM32's peripheral GPIOs to blink the output LEDs is a simple operation in itself, but it means that the series of steps from the initial setup of MCU to the build and transfer to MCU have been successfully completed. LED-blinking circuit Setting specification:Input:PC13 Floating input  Pushbutton SWOutput:PA5 Push-pull output+500Ω+LED   Program Description   ① Reads […]

Read more
Genaral embedded skills
Why recommend STM32 Nucleo instead of Arduino for beginners in microcontroller learning?

Table of contents1 About Arduino2 About Mbed3 MCU development environment STM32CubeIDE with SPL proposed on this site4 To make a product, you must first know "Hardware" About Arduino About Mbed MCU development environment STM32CubeIDE with SPL proposed on this site Advantages of using this MCU and development environment It is easy to start learning about […]

Read more
MCU used for embedded systems
STM32Nucleo board recommended for learning while electronics work

Table of contents1 Why use Nucleo boards with STM32 microcontrollers for teaching materials?2  MCU Board Specifications3 Programming learning environment using the teaching material board4 Commercially available MCU board5 Other parts for teaching materials6 Power supply Why use Nucleo boards with STM32 microcontrollers for teaching materials?  MCU Board Specifications Pin type: I Input O Output I/O […]

Read more