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 of MCU
Remote control of WiFi enabled STM32Nucleo with ESP32 using a browser

The following is an explanation of the method of operation. If you can remotely control MCU from a browser, your application will be much more versatile. Table of contents1 WEB Server Setting1.1 Transmission operation by AT command1.2 Receive operation by AT command2 Remote control of MCU via web browser with ESP322.1 Transmission operation from microcontroller […]

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
IoT of MCU
ESP32 makes STM32Nucleo easily WiFi-enabled

Explains how to make STM32 WiFi-enabled using the wireless module ESP32 (ESP32-WROOM-32). Although ESP32 module is very popular and there are many explanations to operate ESP32 itself as MCU, there is little information to easily convert other MCUs to WiFi. Then I tried to realize remote operation by AT command of serial communication relatively easily. […]

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
Measurement Applications
Encoder position measurement [STM32 Nucleo]

The STM32 timer has a function to count up and down using encoder 2-phase output pulses as input. This section explains how to use this function to measure the amount of motor rotation from the reference position by up-down counting the pulses from the rotary encoder. Purpose: To measure the amount of rotational position by […]

Read more
Measurement Applications
Encoder speed measurement [STM32 Nucleo]

The STM32 timer has the ability to measure external pulses. Encoders are often used as sensors to detect the position and speed of actuators such as robots, etc. This section introduces a method to measure pulses that vary with rotation speed from encoders. Purpose: To count encoder pulses pulled up and input to CH1 of […]

Read more
RTOS Applications
Queue-based application [STM32 and FreeRTOS].

This application combines a task and a queue. This program is not practical, but it is a sample program for learning to understand the concept of queues in an easy-to-understand way.

Read more