Generating Keyboard Events using MilliKey USB Serial Commands

First posted February 27, 2019. LabHackers’ MilliKey and USB2TTL8 devices can generate a USB Keyboard event after receiving a USB serial command from the software it is connected to. This post explains the LabHackers’ KGEN command and illustrates how to use it in a simple Python script. KGEN Serial Command Both the MilliKey and USB2TTL8… Continue reading Generating Keyboard Events using MilliKey USB Serial Commands

Testing Round Trip USB Serial Latency using Python

Originally posted February 26, 2019. One important consideration when using a 1000 Hz USB Serial device interface is the delay from when a Serial message is sent to the device to the time when the Serial reply is received by the program. We call this the round trip, or end to end, USB Serial latency… Continue reading Testing Round Trip USB Serial Latency using Python

Detecting LabHackers’ Serial Port Addresses using Python

First posted February 26, 2019 LabHackers’ MilliKey and USB2TTL8 devices have a USB Serial interface that is assigned a unique address by the operating system the first time the device is connected to a computer. The LabHackers’ Device Manager application can be used to view the serial port address assigned to a device. However, the… Continue reading Detecting LabHackers’ Serial Port Addresses using Python