DIY barcode scanner?
LoopyByteloose
Posts: 12,537
Barcode scanners are generally expensive. I am wondering if the Propeller could provide a hack to make your own. There are laser diodes readily available, but I am not clear on the fundamentals of the bar-code reader.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
Comments
If it is for fun, the magnetic system that controls the mirror should be quite interesting to build and to drive
The PS/2 version may be easier to interface to a Propeller - you'll find them on ebay occasionally
The output is encoded for use with their original software, but if you Google around you'll find simple algorithims to decode in software.· There are some hardware hacks you can do to some models of the Cat that also disable the encoding.· Because of their low cost, these were very popular with hackers for quite a while, so there's a lot of resources available on the net.
They work fairly well considering their low cost design, but like other wand scanners they pretty much need to be swiped with close physical contact, unlike other readers that can can be read some distance away and don't require swiping.
I grabbed several myself when RatShack was giving them away free in their promotional campaign.
Post Edited (Agent420) : 6/13/2008 1:28:53 PM GMT
One swipe of the barcode would be collected by the photo diode as pulses and the width of the pulse would be reconciled as digits between 0 and 9.
Yes - It would be nice to pick up a PS-2 barcode scanner for cheap. All I am seeing are ones that have USB interface. The PS-2 interface would allow me to use it directly with the Propeller without all that USB overhead.
There are a lot of different bar codes. I am not really interested in trying to use all and everything. I'd just like to be able to generate lable with my computer printer [noparse][[/noparse]I guess code 25 is a good one] and read them as numeric code.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PLEASE CONSIDER the following:
Do you want a quickly operational black box solution or the knowledge included therein?······
http://www.pos-printer.com/datalogic_qs2500_quickscan_barcode_scanner.html
Also, I made a barcode font if you have need for it.
·
About a month ago I was looking into a "cheap" barcode scanner for a youth function at the church I have volunteered myself in.· Anyway I have a PS/2 style Cue-Cat and created some very basic Spin code to read the Cue-Cat.· I basically used the 'keyboard" object, but needed to make a slight modification to the code (and renamed the "keyboard" object to "CueCat")·because it doesn't respond like a standard keyboard upon initialization.
·
It will read standard UPC, ISBN, and several others.· What I haven’t gotten to yet, is the ability to create my own barcodes.· I have tried various "free" barcode creators, and even a barcode font, but as of now, I have not found anything compatible that the Cue-Cat can read from a create-your-own barcode perspective.· Any ideas would be welcome.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 6/13/2008 4:24:49 PM GMT
Another option for a swipeable reader would be an optical mouse, they contain a small camera array.
Graham
·······
Post Edited (Computer Geek 101) : 6/13/2008 5:00:38 PM GMT
a PIC16C54-RC.
This was based on a linear ccd array. It used
fixed led lighting and had a filter optic and a
line shaping optic. Output was ttl to a converter
box that outputs keyboard wedge data.
Scanning a laser eliminates could eliminate the
optics, a big cost.
I can make you a stand alone Bar Code printing utility for Windows in VB.Net in a few minutes. I have a component that prints all kinds of Barcodes. Just send me a PM with the details and I throw something together for you.
Jim Fouch
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jim Fouch
FOUCH SOFTWARE