USB Bar Code Scanner and Arduino
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

USB Bar Code Scanner and Arduino

by jhanson2 on Tue Jan 23, 2018 10:23 am

I have purchased the following parts for my students for a side project. We are fairly new to the Arduino

- Barcode Reader/Scanner Module - CCD Camera - USB Interface - https://www.adafruit.com/product/1203
- Arduino USB Host Shield - https://store.arduino.cc/usa/arduino-usb-host-shield
- Arduino Uno Rev3 - https://store.arduino.cc/usa/arduino-uno-rev3

They want to bring in a scanned bar code value when requested (from a digital input) and send out an analog value for that code

So far they are unable to get the scanner to connect to the Uno through the host shield to bring in a value

The scanner is supposed to work as a keyboard input.

We have setup up a standard keyboard input on the shield and it works just fine with the USBHIDBootKbd example, but the scanner does not?
We are not using an LCD at this time. We are trying to print the value to the serial monitor
It received power, and it successfully scanned barcodes (we can hear the beep of a received bar code), but the Serial Monitor in the IDE did not say it was receiving any input?
When plugged into a computer or Raspberry Pi, the scanner sends barcodes to respective text editors with no issues.
We are also using a wall power plug to provide the scanner with more amperage and voltage than just through the USB - 12V 2amp power. We are assuming they work at the same time (USB and wall power)


Scanner Setup 2.png
Scanner Setup 2.png (399.51 KiB) Viewed 185 times

Posts: 1
Joined: Tue Jan 23, 2018 10:12 am

Please be positive and constructive with your questions and comments.