CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Barcode Reader (Host)

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
digitalfreak



Joined: 16 Feb 2005
Posts: 25

View user's profile Send private message

Barcode Reader (Host)
PostPosted: Wed Apr 18, 2012 3:32 pm     Reply with quote

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

View user's profile Send private message Send e-mail

PostPosted: Thu Apr 19, 2012 5:40 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Apr 19, 2012 6:51 pm     Reply with quote

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

View user's profile Send private message AIM Address

PostPosted: Fri Apr 20, 2012 10:16 am     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Apr 20, 2012 11:23 am     Reply with quote

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: 9221
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Apr 20, 2012 11:33 am     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Apr 20, 2012 1:24 pm     Reply with quote

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,
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group