Bar-code Scanner

#1

Does any one know is it possible for a bar-code scanner to be programmed into node red.

0 Likes

#2

Most barcode scanners appear as serial devices so can be accessed using a Serial node - but the specific details will depend on the device you want to use.

If you search the forum here you'll find previous conversations about it.

0 Likes

#3

Perfect
Thanks Nick

0 Likes

#4

Or some just appear as usb-hid (keyboard) devices.

0 Likes

#5

Thanks for you help

0 Likes

#6

Yes you can, I have a USB one which I can use to check the price of items in Tesco. It's a bit flakey from a coding point of view but it works.

0 Likes

#7

I have a program written now that seems to be OK no faults but im getting an error when deploy from my scanner node "TypeError: Cannot read property 'on' of undefined".
i have obtained the VID and PID numbers for the scanner. I obtained that by using the 'getHIDdevices' node. Its giving me a couple different readings for both PID and VID but iv tried them all but still no joy.

0 Likes