nicholaswsw WROTE:ermm i have a problem more like a question my barcode scanner which i want to connect to my PIC16F877A using UART.
the barcode scanner only comes with USB cable, can i use UC00A to convert from USB to UART??
if no are there any solution around this?? as in how do i convert from USB to serial without going through a PC?
No, like kl84 stated, Since your barcode scanner is USB, you will need to connect it to USB host and the ready and easiest to get USB host is computer. If you observe carefully, you will notice that USB device cannot connect with USB device, they are being block in-term of hardware connection. Try this, connect USB mouse and USB keyboard, it cannot be done, why? Because both these device have the same USB connector which prevent them to interconnect.
Yes, there is microcontroller with USB host capability, but still you will need the driver on it. Microchip do provide several type of microcontroller with USB host or USB OTG, and USB driver too, but I have yet to see bar code scanner in the list.