2 months, 3 weeks ago. This question has been closed. Reason: Off Topic
Connecting UART Barcode Scanner with stm32f072rb nucleo board
I'm trying to figure out how to connect a UART barcode scanner with my stm32f072rb microcontroller. This is the barcode scanner that I am using: https://www.waveshare.com/wiki/Barcode_Scanner_Module
I'm trying to use the UART interface and I have been able to connect the cables correctly to the pins on the board(VCC to 5v, GND to GND, TXD to PA_10, RXD to PA_9). I have tried using example code on mbed's Serial API of passing data from an external UART device to the PC Serial monitor but I am not able to get anything to display to my serial monitor.
If anyone can help me out/give me some guidance where to look or send me a simple program that can output the barcode to the serial monitor via UART communication that would be greatly appreciated, thank you!
2 months, 3 weeks ago.
Connect wire from scanner TxD to RxD on board and scanner RxD to TxD on board and test again.