How to Send Data From M5Stack StickC to Delphi
2026-08-18 | By Ron Cutts
License: GNU Lesser General Public License Bluetooth / BLE Microcontrollers Wifi Arduino ESP32
In this video, we will learn how to send values from a StickC board to a Delphi VCL Application using Visuino.
Watch the video.
Learn more about Visuino: What is Visuino
What You Will Need
- M5StickC ESP32: you can get it here
- Visuino program: Download Visuino
Note: Check this tutorial here on how to install StickC ESP32 board
- Delphi - Embarcadero Link
Learn how to install Delphi here
- Mitov CommunicationLab for Delphi, download here




Start Visuino, and Select the M5 Stack Stick C Board Type
Start Visuino as shown in the first picture. Click on the "Tools" button on the Arduino component (Picture 1) in Visuino. When the dialog appears, select "M5 Stack Stick C" as shown in Picture 2


In Visuino Connect Components
Connect the pin (with the value that you want to send to the Delphi application) to the serial[0] pin
In our case, we connected the battery voltage pin to the serial[0] pin

Generate, Compile, and Upload the Arduino Code
In Visuino, at the bottom, click on the "Build" Tab, make sure the correct port is selected, then click on the "Compile/Build and Upload" button.

Start Delphi and Add Components
In Delphi, create a new Windows VCL Application
In the palette window, find 'TCLComPort' component and drag it to the Form
In the Object Inspector, set the port of the StickC board (you can find the port number in Arduino>Tools>Port
In the palette window, find 'CLTerminal' component and drag it to the Form
In the Object Inspector, double-click on the 'InputPin' and in the connections window, select 'CLComPort1'
Click on the green Run button in Delphi








Play
If you power the M5Sticks module (connected via USB to the computer), it will start to send data to the Delphi application.
Congratulations! You have completed your M5Sticks project with Visuino and Delphi. Also attached is the Visuino project that I created for this , you can download it here and the Delphi project that you can download here.


