Do u need a Bar-code scanner for your app?
Today we will try to use a Metrologic Voyager Bar-code scanner to scan a coke bottle,
Jagermeister bottle, CT1721 Start Kit Bard code label, and yes, UPS tracking number.
1 CuTOUCH CT1720 or CT1721
Okay, I was thinking the other day, I need to keep track of stuff on my desk and my drawers.
Since there’s a bar code on almost every commercial and household item these days,
I figured why don’t I just make a touch-screen item management system
so I know exactly where I put my things?
So here we go again, you will need to make a male to male RS232 null cable.
It’s the same one we used to make the GPRS modem (MAN102).
RS232 Null-Modem Cabling
You will need to somehow connect your CuTOUCH to the serial port of the Bar-code scanner.
I made my own (which took me over 5 hours!!!).
Yes, this was the hardest part for me, connecting bunch of wires together.
Well, you can always goto Radio Shack or any electronic shop should have null cables for sale.
More info here from taltech on null-cables:
Well to make your own, simply get 2 MALE serial port ends,
then connect Pin 5 (GND) together and then cross RX & TX.
In the above picture,
I simply cut out two MALE ends of 2 serial ports and connected Ground (Green)
together w/ crossed TX (Red) & RX (Orange) like shown in above picture.
Please note that color may differ among serial cable manufacturers.
(The ones above are obviously the ones Comfile sells)
Okay, when you have your null-modem done, you should have something like this:
Okay now, use this null-modem cable you just made and connect one end
to Channel 1 serial port of the CuTOUCH and the other end to the serial output of the bar-code scanner.
You should end up w/ overall system that looks like this:
(yes, grab some items w/ bar codes for testing…)
(Touch Screen Bar-code system)
(Bar-code Scanner & test items ready to go)
(Now download barcode005.cul source file to your CuTOUCH unit and start scanning items)
For each item you scan, you should see the item number showing up on the screen.
Now I challenge you to further this app.
Maybe add a data acquisition system adding an SD Card reader such as the SD-COM5.
Const Device = CT1720
‘Open Channel 1 w/ receive & send buffers @ 200 bytes each
‘If it has been more than 500ms, then print the bar-code to
If Blen(1,0) > 0 Then ‘ if there is at least 1 byte in the buffer
If you are having any trouble with above app, please e-mail firstname.lastname@example.org
If you have any cool apps you’d like to share, please e-mail to email@example.com