View previous topic :: View next topic |
Author |
Message |
digitalfreak
Joined: 16 Feb 2005 Posts: 25
|
Barcode Reader (Host) |
Posted: Wed Apr 18, 2012 3:32 pm |
|
|
Hi All,
This place has been very helpful to me (esp., PCM Programmer and Ttelmah and many others), coming back on to obtain input on my next dilemma...
I have custom device with [USB -> FT232BM (USB2SERIAL) -> PIC18F6720] - clearly this is USB slave device.
Now I need to interface this device with a barcode reader. Modifying the device is not an option. But could possibly design something (like FTDI Vinuculum) between barcode reader and the device
Are there things like USB host barcode readers? (stupid me)
What are my options here?
Thanks much in advance... |
|
|
Markdem
Joined: 24 Jun 2005 Posts: 206
|
|
Posted: Thu Apr 19, 2012 5:40 pm |
|
|
Easy solution would be to get a PS2 or serial bar-code reader. Will interface straight to the PIC.
Otherwise you are stuck with using Vinuculum, or have a look at microchips USB on-the-go.
Have fun
Mark |
|
|
digitalfreak
Joined: 16 Feb 2005 Posts: 25
|
|
Posted: Thu Apr 19, 2012 6:51 pm |
|
|
Thanks for reply Mark
I cannot modify the device which consists of [USB -> FT232BM (USB2SERIAL) -> PIC18F6720]
I need to communicate a bar-code reader to this device now!
how would i go about?
Thanks |
|
|
asmboy
Joined: 20 Nov 2007 Posts: 2128 Location: albany ny
|
|
Posted: Fri Apr 20, 2012 10:16 am |
|
|
Re: "You can not modify" and all you have is a "B" USB slave port on the PIC gadget side?
As in you can't get to the TTL RX/TX of the pic ?
( You could not cut traces etc etc ?? )
You see, with RS-232, no more than proper cable wiring would resolve your issue, but if there is no way to update the PIC side hardware - you do have a substantial problem on your hands. |
|
|
digitalfreak
Joined: 16 Feb 2005 Posts: 25
|
|
Posted: Fri Apr 20, 2012 11:23 am |
|
|
Thanks asmboy for reply.
Thats exactly what my problem is.
Any suggestions to get this barcode reader to talk to USB-B slave port? |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9241 Location: Greensville,Ontario
|
|
Posted: Fri Apr 20, 2012 11:33 am |
|
|
Unless I'm misreading the problem it sounds like the Vinculum could be the easiest/fastes/cheapest way to make it happen as it can be configured to be both host on one port, slave on the other. |
|
|
digitalfreak
Joined: 16 Feb 2005 Posts: 25
|
|
Posted: Fri Apr 20, 2012 1:24 pm |
|
|
Thanks for reply temtronic
That is what my initial thought was... to have two Vinculum chips as hosts (one for barcode reader and one for the device). Am i right?
I looked at FTDI site without much help on sample projects!. If this is THE way to do it ... could someone point me to a similar projet / reference / a book.
I am planning to ask CCS Support Team for project quote too.
Thanks, |
|
|
|