Pages: [1]   Go Down
Author Topic: ps/2 barcode reader input being used to move stepper -feasibility  (Read 885 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi All,

I am new to arduino and am trying to do some design prototyping/proof of concept. I have little programming skills so be gentle!

I would like your opinions on whether arduino could utilise a ps/2 barcode scanner (like cue cat etc) to read a product barcode (EAN 13) and then match (correlate) the barcode to a piece of code making a stepper motor move a pre-defined number of steps in a preset direction. The arduino would need to match up to 10 barcodes to stepper activities.

for example:

-> Scan barcode
-> Returns reading of 9123456789123
-> Arduino processes this barcode input and matches to specific code making motor move 1000 steps forward
-> Read/input result displayed on LCD screen -> read, execute, complete....ready for input again
-> Once complete easydriver sets motor to sleep until next reading.

If this is possible what would be required apart from:
1. arduino board
2. Easydriver V4.3
3. ps/2 barcode reader
4. Stepper
5. Barcodes and matched stepper instructions

Thanks in advance.
Pharmboyz
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 216
Posts: 13664
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Looks very well possible to me, barcode readers behave as keyboards so check PS2 keyboard - http://www.arduino.cc/playground/Main/PS2KeyboardExt2 - the example code there must be enough get you started.




Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

United States (Texas)
Offline Offline
God Member
*****
Karma: 3
Posts: 525
Arduino socks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i've used a cuecat with arduino before. worked very nice with the ps/2 library
Logged

Pages: [1]   Go Up
Jump to: