ControlProtocol and ControlTool

After many MCU based project I had a need to have a generic protocol between a PC and an MCU.

Protocol

My protocol communicates in a binary way not a text based way so it provides kind of a dense communication. This make it able to transmit high resolution real-time sensor data. The values are organized in a three structure and the client software can subscribe to each node. In this case the device will send the values asynchronously. The tree and the name, type, etc. of the values read once after connection and after this the values are referenced by the 32 bit identifier. The protocol is independent from the physical layer as it only requires the transmission of bytes.

ControlTool

To show the data coming from the MCU I created a Java based software that can communicate over TCP/IP or over serial port. It can show the values in many forms like textbox, slider, chart, etc. These widged types defined in the MCU. The software also can record values so we can analyze them later.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top