USB TTY interface intended for use with an Arduino Nano.
A very simple protocol is used to to reduce the byte traffic to the absolute minimum required.
257 symbols are used with byte values 0x00 to 0xFD to send data values 0x00 to 0xFD.
0xFF is used as the start character. Byte pair, 0xFE, 0xFD is used for data value 0xFF and byte pair 0xFE, 0xFE is used for data value 0xFE.
The byte following the start character points to a function which will receive the data and run. A lookup table associates the function pointer with the number of data bytes it requires. Note that a data byte will require one or two symbols.
Only the data bytes are counted, not the symbols required to send them.
A lookup table associates the function pointer with the receiving function.
A Nano C program is included to demonstrate how the protocol is used.

Project Activity

See All Activity >

Follow Commander

Commander Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Commander!

Additional Project Details

Registered

2025-03-16