Open viruzkil opened 5 years ago
"Max.pwr:C8" indicates the scanner can draw as much as 400 mA. PC USB ports are limited to sourcing 500 mA. The combination of Arduino board, USB host board, and scanner might be drawing more than 500 mA.
Try powering the Arduino board using the round black barrel connector. Find a suitable AC wall adapter.
I've used this power adapter to power up the Arduino but still ended up i the same problem.
Were you ever able to solve this?
I am trying to get my 2D barcode scanner to print on the serial monitor. I have tried USBHIDBootKbd and the USBHIDBootMultiMediaKbd that were provided with the library. I have seen a thread in the Arduino forum that mentioned very identical problems but unfortunately, the same solution did not work for me.
The problem is that the scanner works normally on a computer but when connected to the USB Host Shield, the scanner is still able to scan a barcode but it sounds different and does not print to the serial monitor. I have also tried the code from this issue that was the proposed solution from the Arduino thread mentioned earlier.
USB_desc:
and this is the USBHID_desc