IoT of MCU
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 […]

Read more
IoT of MCU
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 […]

Read more
IoT of MCU
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 […]

Read more
IoT of MCU
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 […]

Read more
IoT of MCU
Microcontroller Ethernet-enabled system design [STM32Nucleo]

Table of contents1 Fundamentals for connecting MCUs to the Internet1.1 Network hierarchy2 Selecting a LAN Controller for Ethernet Support2.1 XPORT2.2 ENC28J60 Lan controller2.3 W5500 Lan controller2.4 LAN8720 Lan controller3 Controller W5500 with built-in TCP/IP protocol stack3.1 NUCLEO-F103RB and W5500 module4 STM32 and W5500 driver4.1 What is W5500 driver?4.2 SPI communication and driver customization for W55004.3 […]

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 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
Embedded Development Design
Power Supply without Failure for Embedded MCU system [ARM Core STM32]

When running applications on a MCU, a very important thing is to provide a stable power supply. This may seem obvious, but the power supply is so profound that a serious study of it would end with this part alone. It is important to understand the basics to prevent problems caused by unstable supply voltage, […]

Read more
Embedded Development Design
External Clock for MCU [ARM Core STM32]

Of the clocks that are indispensable for using MCSs, this section explains external clocks. Although the crystal resonator in particular is a simple component, if the selection is not properly made, it can cause problems such as clock stoppage in the worst case. This section introduces practical tips for providing a stable external clock. For […]

Read more
Embedded Development Design
Embedded system program debugging [Recommendation: Serial Monitor]

Table of contents1 Debugging as an operation check2 Serial Monitor3 Other, summary Debugging as an operation check Serial Monitor Other, summary The point Although there is no information that cannot be obtained from the Internet today, do not adopt information from others without understanding it. Use the information only as a hint, and be sure […]

Read more