Hey Guys i actually wnated to Make A Barcode Scanner Using a Mega 2560 And a CH375B Usb Module and i Hve No idea if this setup will Work or not I'll be very great full if some one can help me with this thanks
Google on "Mega 2560 + CH375B" gave me this: (Swedish)
Mega 2560 + CH375B - Sök (bing.com)
I hope you also have a barcode scanner. the CH375B is just a USB host chip that you would attach to your Mega and a barcode reader.
I do have the scanner the host shield and the mega
But have no idea where to beging with
hey i wired the Ch375 module up according to the wiring diagram but the status led on the board dosent turn on I got Another Module as well but still the same thing do you know what might be the reason?
so i gave upp on using the CH375B as i could not find any data ragarding the same application and bought a USB host Sheild 2.0 and now i uploaded the sample code of usbHID_desc but i am not getting any data from the sacnner all i get in serial monitor is Start
All we know is that you have mega. If you need help you should present all your hardware, wiring and sample code
apologies the details are as follows
the wiring is very simple mega with usb Host shield and the scanner im using is honey well Voyager 1450g2 DHR series scanner
as of now i havent started working on the code but im trying the USBbootKBD example from the USB host 2.0 library
and USb HID Desc
all i can get is start in the serial monitor output and nothing more
First of all, you have to read the scanner manual, there are various steps to set up your scanner for different type of communications.
I agree the wiring is very simple, but even more simple to get it wrong.
Good that you start with sample code, higher changes that it works.
Yes I am going through the manual as well and have set it to serial RS232 communication 8bit 1 stop bit and 0 parity bit and 115200 baud
And idk if this is correct but I’m guessing it is
Hey guys I have run into a problem for some reason the barcode scanner doesn’t establish usb communication with my mega I’ve tried 2 scanner and when connected to the board they enter USB suspended state any idea why??
I think I’m under powering the board tbh idk if that is the issue rn but the thing is when I connect the barcode scanner to the board the usb communication is suspended which is odd, I tried another scanner but the same issue happens so I’m gonna check the code if there is any issue with it as well as the power supply