Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

barcode reader to PIC16F876

Status
Not open for further replies.

thexnix

Newbie level 2
Joined
Dec 20, 2005
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,301
Hello everybody....i'm creating a portable barcode reader system that is connected serially to a PIC and will actually scan a barcode and saved in the EEPROM of the PIC. the barcode that is saved can then be retrieved via hyperterminal when connected to computer.

My problem is..can i directly connect a barcode reader to the PIC?? what shud i need?? The salesman told me that...the barcode reader CAN ONLY be connected to a computer and not to PIC...is that true??

badly need some advice here. hope someone can help me out....thanks very much.
 

How is the barcode reader connectected to a computer?
If it uses a common interface, like serial, or parallel, then you can definitely connect it to the PIC. If it uses USB, it's a little more difficult, but still possible.

If the barcode reader actually needs an adapter card to be installed in the computer, then you will have to pretty much emulate that card. This can be a more complicated thing, but it does not mean it cannot be done.

Can you provide more info? A link?
 
ya, as what u said, the barcode reader can actually be connected to the PIC through serial. But i found a swipe model that has no usermanual or software for me to program it. Anyone can help me? Thanks.
 

Is there a way you can describe the reader?

Anyway, if you have a scope, try checking the signals while reading a barcode. You can then use a PIC to decode that data.
About 10 years ago there was a Lattice appnote (it's called "Bar Code Reader", I have the hardcopy, but there is nothing on-line) that described how to decode those signals. I am not saying you should use a CPLD, but a PIC and that appnote could be useful.
I don't have a scanner, so I cannot help you there, but I can post the relevant info from it.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top