Skip to main content
stmmm
Associate II
May 3, 2023
Question

How to configure GM65 QR Module using UART

  • May 3, 2023
  • 3 replies
  • 2153 views

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

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
May 3, 2023

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
May 3, 2023

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
stmmm
stmmmAuthor
Associate II
May 3, 2023

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