cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure GM65 QR Module using UART

stmmm
Associate II

I am using L476RG ST board, and I recently purchased a GM95 QR scanner that supports standard TTL-232 serial communication. UART2 is configured to work with my PC using PuTTY as an interface, but how do I receive the data from the QR scanner and display it on the same PuTTY interface?

A link to the QR datasheet is below:

http://www.microtechnica.tv/support/manual/brm65_man.pdf

3 REPLIES 3

If RS232 you'll need level converters for the STM32 UARTs

Get the baud rate right and the RX/TX senses.

To forward from one port to the other, perhaps have some ring-buffers filling from one UART RX and output via the other UART TX

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

TTL-232 looks like it should be CMOS level compatible, so wiring directly to STM32

Default 9600 8N1

Might be convenient to convert the hex/binary forms into ASCII for display on a terminal.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thank you for the response, I will use your advice and get to work on it.