Ultra-highspeed real-time monitor of WebSocket on Microcontroller [STM32Nucleo]
I managed to send data from a microcontroller (STM32Nucleo) implementing WebSocket to a browser and display it on the monitor, but when I increased the update rate, the system became unstable and would stop or disconnect. At first I thought it was due to browser or WebSocket specifications, but when I found the cause and […]
Bidirectional communication via WebSocket on Microcontroller[STM32Nucleo]
In the previous article "Bidirectional communication via WebSocket on Microcontroller", I explained how to develop IoT for devices more closely by installing a web server in MCU and accessing it from a browser such as a PC or smartphone without using a dedicated application. Browsers usually communicate with devices according to the HTTP protocol, but […]
Microcontroller system with the HTTP protocol [STM32Nucleo]
If the microcontroller is equipped with a TCP server, which I explain in the section "Socket communication with TCP server", it can easily be developed into a web server configured with the HTTP protocol. The advantage of a system equipped with a web server is that it can be accessed from a browser, allowing communication […]
Socket communication with TCP server[STM32Nucleo]
Simply making MCU Ethernet-enabled and joining the network with ping passing through it does not mean anything, but by installing protocols such as TCP and UDP in the upper transport layer, communication between the server and the client becomes possible. Socket communication is a means of communication according to the TCP protocol, which belongs to […]
Microcontroller Ethernet-enabled system design [STM32Nucleo]
Fundamentals for connecting MCUs to the Internet The IoT, which is used by connecting to a network, has been spreading to embedded devices as well. While WiFi network connections are common for home appliances such as televisions and other consumer products such as smartphones, Ethernet, a wired communication method, is used for products for industrial […]
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. WEB Server Setting Transmission operation by AT command Receive operation by AT command Remote control of MCU via web browser with ESP32 Transmission operation from microcontroller to web browser […]
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. […]