What Is USB UART Serial Telemetry?
USB UART Serial Telemetry is the real-time transmission of structured sensor measurements from a microcontroller's Universal Asynchronous Receiver-Transmitter (TX/RX) over a USB bridge (or internal /dev/ttyHS1 bus) to a host computer so live physical voltages, irradiance, temperatures, and distances can be graphed and logged [1, 2, 4].
How 115200-Baud 8N1 Serial Framing Works
Unlike I2C or SPI, UART is an asynchronous protocol—meaning there is no shared clock wire between the microcontroller and the host computer [1, 2]. Instead, both endpoints must agree in advance on a precise signaling speed (baud rate, such as 115200 bits per second) and a frame structure (8N1: 1 start bit, 8 data bits, no parity bit, and 1 stop bit = 10 bits per byte) [2]:
At 11,520 bytes per second (12 times faster than legacy 9600-baud tutorials), a 32-byte telemetry line transmits in under 2.8 milliseconds—preventing serial buffer stalls while sampling high-speed analog or I2C sensors [2, 4].
Verified Science Mode C++ Telemetry Keys
In VTM Studio, Code Mode and Science Mode act as transmitter and receiver. Each Science Mode microcontroller panel (COM tab) subscribes to its matching C++ key and prints the unparsed string on a live RAW:... indicator as physical proof of authentic hardware transmission [4]:
| Science Mode Panel & Code Mode Sketch | Primary Key | 115200-Baud UART Packet Payload | Sensor / Physical Basis |
|---|---|---|---|
| Ambient Light (TSL2591) | LUX: | LUX:<val>,CH0:<full>,CH1:<ir>,RAW:<val> |
AMS-Osram TSL2591 I2C (0x29) Dual Photodiode [5] |
| Potentiometer Angle | ANGLE: | ANGLE:<0-300>,VOLT:<0-5.00>,PCT:<0-100>,RAW_ADC:<0-1023>,RAW:<str> |
10 kΩ Rotary Voltage Divider on 10-bit ADC [2, 6] |
| Ultrasonic Distance | DIST: | DIST:<cm>,RAW:<cm> |
40 kHz Acoustic Echo Time-of-Flight (HC-SR04) [1, 7] |
| Capacitive Soil Moisture | SOIL: | SOIL:<0-100>,RAW_ADC:<adc>,VOLT:<v>,PCT:<0-100>,RAW:<str> |
Dielectric Capacitance Analog Voltage Sensor [4, 6] |
| Temp & Humidity | TEMP: | TEMP:<degC>,TEMP_F:<degF>,HUM:<pct>,RAW:<str> |
DHT11 / DHT22 Digital Thermistor & Hygrometer [4, 7] |
| LoRa RSSI / Packet Link | RSSI: | RSSI:<dbm>,SNR:<snr>,PACKET:<data>,RAW:<str> |
Sub-GHz RF Received Signal Strength (dBm) [4] |
The 4-Step Maker Telemetry Workflow
Open Code Mode
Expand the left drawer and open Science Mode Examples to load a verified C++ sensor sketch [4].
Compile & Flash
Select your board and USB port (/dev/ttyACM0, /dev/ttyUSB0, or COM3+) and flash the sketch via arduino-cli [2, 4].
Connect Telemetry
Click [ CONNECT TELEMETRY ] to bind the background 115200-baud serial listener thread [4].
Graph & Export
Switch to Science Mode, spawn the matching COM panel, observe live gauges and RAW: streams, and export CSV/JSON logs [4].
References & Technical Citations
- O'Sullivan, D., & Igoe, T. Physical Computing: Sensing and Controlling the Physical World with Computers. Thomson Course Technology (2004), ISBN 978-1592003464.
- Arduino SA / Microchip Technology. Arduino Uno Rev3 (A000066) & ATmega328P 8-Bit AVR Microcontroller Datasheet (USART 8N1 & 10-Bit ADC). https://docs.arduino.cc/resources/datasheets/A000066-datasheet.pdf
- Arduino SA. Arduino UNO Q (ABX00162 / ABX00173) Datasheet & Hardware Documentation (/dev/ttyHS1 Internal UART Bridge). https://docs.arduino.cc/hardware/uno-q/
- Padilla, T. VTM Studio Science Mode & Code Mode 115200-Baud Telemetry Specification. https://videotronicmaker.com/physical-computing-robotics-software/
- AMS-Osram AG. TSL2591 Very-High Sensitivity Light-to-Digital Converter Datasheet (I2C 0x29, CH0 & CH1 Dual Photodiodes). https://ams-osram.com
- Ling, S. J., Sanny, J., & Moebs, W. University Physics Volume 2 (Chapters 8–10: Capacitance, Resistance, and DC Voltage Division). OpenStax, Rice University (CC BY 4.0). https://openstax.org/details/books/university-physics-volume-2
- OSEPP / Aosong Electronics. HC-SR04 Ultrasonic Range Finder & DHT11 Digital Temperature and Humidity Sensor Technical Datasheets. https://www.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf