Skip to main content

MicroPython Library

The de2120 module talks to the scanner over a UART at 9600 baud. Create a DE2120 object with the TX and RX pins you wired (or a UART you made yourself), call begin(), then poll readBarcode() for scanned codes. The module also sends the scanner's configuration commands: scan modes, the illumination and aiming lights, the reading area and the symbology groups.

The scanner has to be in UART mode first: scan the POR232 configuration barcode once, as the Quick Start shows.

Not installed yet? Follow Quick Start before using the functionality pages.

Functionality​

Each page starts with one verified module example and explains every function the example uses to get that result.