Twinleaf Sensor Software
All software running on host computers to support Twinleaf sensors is completely free, open source, and available on GitHub.
If you like to learn by example, we offer a set of software walkthroughs.
Twinleaf I/O (TIO)
Communications with Twinleaf devices is possible using the Twinleaf I/O (TIO) protocol, a simple binary protocol. Available packages include:
The Rust and Python tools are recommended. While we strongly encourage the use of our tools, we will support you with your own implementation of the TIO protocol. We are here to support you!
Troubleshooting
Windows
-
The serial-USB adapter uses FTDI drivers that may not be installed by default.
-
Mouse pointer goes crazy: If a windows computer is rebooted with a sensor plugged in, it can sometimes determine that the sensor is a serial mouse. It is possible to disable this in the registry.
Linux
- Many Linux will attempt to connect with the sensor to determine if it is a modem. On systemd systems like Ubuntu, disable ModemManager using
sudo apt remove modemmanager
. To access serial ports without superuser access usesudo usermod -a -G dialout $USER
and on WSL you may needsudo usermod -a -G tty $USER
.