Accelerometer using STM32 Nucleo
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 of the screen by detecting the tilt based on gravity applied to the internal acceleration […]
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 […]
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]. Piezoelectric buzzer specifications Circuit of Piezoelectric buzzer with […]
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 […]
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 […]
STM32Nucleo board recommended for learning while electronics work
Why use Nucleo boards with STM32 microcontrollers for teaching materials? MCU Board Specifications Pin type: I Input O Output I/O Input/output, S Supply powerI/O level: FT 5V withstand voltage Blank Supply voltage Programming learning environment using the teaching material board The point Minimum equipment required for learning microcontroller:・Microcontroller board (with STM32F1xx Cortex-M3)・USB cable(Mini USB Type-B)・Debugger […]