r/ArduinoProjects • • Jun 17 '24

Barcode scanner communication suspended

Hey guys while connecting the barcode to my mega with USB host Shield the barcode scanner runs into usb disabled mode or the communication is suspended, the same happens with the other scanner I tried can anyone help me with this ??

0 Upvotes

7 comments sorted by

1

u/gbafamily Jun 17 '24

Does it work with a plain USB keyboard? If so, the scanner may be drawing too much current. Try powering the Mega via the round barrel connector. USB ports are limited to 500 mA which may be too low for the scanner.

1

u/jugnu_89 Jun 18 '24

I’m powering the mega with a 5V smps but I’m still facing the same issue but I don’t think that may be the cause for suspending the usb communication even tho it’s receiving power

1

u/jugnu_89 Jun 18 '24

Just checked its is not working with keyboard but works with mouse

1

u/gbafamily Jun 18 '24

1

u/jugnu_89 Jun 18 '24

Yes

1

u/gbafamily Jun 18 '24

I am not sure what else to try.

1

u/jugnu_89 Jun 18 '24

I just came across a post in forum that suggests using USBmultimediabootkbd for the same issue I’m gonna try that now let’s see what happens