Introduction: BarcodeScanner Using Arduino
I spent time trying to gather information to make this project and it was successfull .As a result ,I decided to share it to make it easy for everyone to find all the project in one place.
Step 1: Arduino Connection
We are tying to apply this sketch . So the arduino connection will be as the shown picture .
taking 4 external wires from :
pin 29 (green) //Data
pin 30 (Yellow) //Clock
5V (red) //+ve
ground (blue) //- ve
** the handwritten sketch is copied from :
Step 2: Connect to Barcode Scanner
We will look at the terminal with wires(in the above picture) of the connector as male data pins .
Connecting the 4 taken wires(from previous step) to the wires of that connector (data with data , ground with ground , clock with clock and power with power ).
** connection is by spinning each wire on the corresponding one .
Now connect the socket of the connector to the ps2 barcode scanner .
Step 3: The Code
Now it is ready to scan barcodes :)
We have a be nice policy.
Please be positive and constructive.