The Tiny Code Reader is a small hardware module that's intended to make it easy to scan QR codes. It has an image sensor and a microcontroller with pre-trained software and outputs information from any identified codes over I2C.
There's a detailed developer manual available, but this guide has sample code that shows you specifically how to get the module up and running using CircuitPython on a Trinkey, and output any recognized code as text to the attached computer as if the module was a keyboard. For example, you can show it a QR code containing the text "Hello World!" and that text will be automatically typed in to your laptop.
Both the TCR and Trinkey have Stemma QT/Qwiic ports, so they can be connected with a standard cable and no soldering is required to complete this project.



Page last edited March 08, 2024
Text editor powered by tinymce.