Hardware:
Board: ESP32 DevKitC
USB – TTL converter CP2102
Datalogic QuickScan QD2430
Hi,
this is my starting point: I connect the gun laser scanner to a laptop via USB, I hear a beep sound and I see one flash of the gun light. This means that the device is ready, I can read barcodes.
Then, I connect the laser scanner to an ESP32 using an USB-TTL converter with the following connections (CP2102 – ESP32):
GND --> GND (common)
RXD --> TXD
TXD --> RXD
5V --> 5V by external source
The light flashes continuosly, but the gun does not emit sound and does not read barcodes.
What is missing to get the gun scanner working?
Does it need a startup message to work properly?
Please help me.
Thank you
Connecting barcode scanner to ESP32
-
- Posts: 9725
- Joined: Thu Nov 26, 2015 4:08 am
Re: Connecting barcode scanner to ESP32
That's conceptually not going to work. An USB-serial chip like the CP2102 is an USB device, the laser scanner also is one. You can't generally have two devices talk to eachother.
Re: Connecting barcode scanner to ESP32
Hi !
Did you find a solution ?
I have the same problem with an ESP32-S2.
Thanks
Did you find a solution ?
I have the same problem with an ESP32-S2.
Thanks
Who is online
Users browsing this forum: No registered users and 63 guests