Measurement Applications
Let's clarify the mechanism of the complementary filter [acceleration/gyro sensor]

Complementary filters are often used to combine accelerometers and gyroscopes, but there are few explanations on the details of these filters. It is interesting to know how the complementary filter equation is derived and what the equation means. I will explain the calculation process to show that there is a deep meaning in a relatively […]

Read more
Measurement Applications
Posture detection by accelerometer and gyro sensor [STM32Nucleo]

The GY-521 Sensor Board with Accelerometer and Gyro Sensor (MPU-6050) can easily acquire 3-axis acceleration and 3-axis gyro data via I2C interface, and is recommended for its high information content and low cost. However, most of the information on the Internet is for Arduino, and while the programming can be easily utilized by anyone using […]

Read more
Measurement Applications
Graphing and collecting sensor data via serial communication on STM32 MCU

When creating applications, it is often necessary to collect digital data such as sensor data captured by MCU while graphing it in real time like an oscilloscope. We introduce an easy-to-use data logger that can import data into Microsoft Excel while displaying the data on a PC monitor using serial communication. Table of contents1 What […]

Read more
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
IoT Applications
Operating the STM32 with ESP32 WiFi from a browser

Nucleo (STM32) is converted to wireless (WiFi) using the ESP32 wireless module and configured as a web server. We will introduce an application that remotely operates MCU by sending a string of command codes from a web browser on a client PC or smartphone. The details of setting up the ESP32 and browser and sending/receiving […]

Read more
IoT Applications
Send from WiFi enabled STM32 with ESP32 to web browser

This section introduces an application that uses the ESP32 wireless module to put Nucleo (STM32) into wireless (WiFi) mode and send strings to a terminal on a PC or smartphone as a web server. The details of ESP32 and browser settings and sending/receiving are explained in "Remote control of WiFi enabled STM32Nucleo with ESP32 using […]

Read more
IoT Applications
TCP communication(WiFi) receive of STM32 with ESP32

Nucleo(STM32) is converted to wireless(WiFi) using the ESP32 wireless module and configured as a TCP server. I will introduce an application that remotely controls MCU by sending a string of command codes from a terminal emulator on a PC or smartphone. For more details about the ESP32 wireless module, see "ESP32 makes STM32Nucleo easily WiFi-enabled". […]

Read more
IoT Applications
TCP communication (WiFi) send of STM32 with ESP32

This section introduces an application that uses the ESP32 wireless module to make Nucleo (STM32) wireless (WiFi) and send strings to a terminal on a PC or smartphone as a TCP server. The wireless module ESP32 is explained in detail in "ESP32 makes STM32Nucleo easily WiFi-enabled". Colum The ESP32 UART communication settings can be changed […]

Read more
Measurement Applications
Heart rate monitor using pulse sensor and STM32 Nucleo

Try an application that counts the pulse, which is a slow pulse, and displays the heart rate per minute. Table of contents1 Creating a pulse rate sensor using a photo reflector and operational amplifier2 Connect pulse sensor signal and LED for output monitoring to MCU3 Program Description4 Pulse sensor input5 LED and monitor outputs Creating […]

Read more