I am trying to connect a bar code scanner to Node Red on Serial Port.
Scanner : Make: Henex, Model: HC3208R
This scanner is a wireless type. We need to use its wireless dongle at USB port and then scanner should work wireless.
Normally this scanner provide output to any text editor field like a keyboard entry. When I use it for Node Red on WINDOWS OS. I need to change the interface to "USB Virtual COM". Then It works perfectly fine via serial port. I configure the right COM Port - COM4 to which scanner is connected in node red Serial IN node.
Now when I try the same thing with Raspberry pi with Raspbian OS, this device (wireless dongle) is detected at ttyUSB0. I configure USB0 at serial IN port. Connection is successful and serial in node status is "Connected". But I don't get any input at debug when I scan any code using scanner.
I have rightly used the settings "USB Virtual COM" which works really well with windows OS.
For text editor input, it works fine with Raspberry pi also.
I need this to work with node red Serial IN on raspberry pi. Please suggest what can be wrong and how this can be solved? I tried with the manufacturer, but did not get much details.
Node Red Version: V1.3.5. Flow example is as below:
[
{
"id": "736c7e71.a8a8",
"type": "serial in",
"z": "d3889328.d4132",
"name": "",
"serial": "85ed1317.7df08",
"x": 330,
"y": 160,
"wires": [
[
"7ab9457.d922dbc"
]
]
},
{
"id": "7ab9457.d922dbc",
"type": "debug",
"z": "d3889328.d4132",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 580,
"y": 180,
"wires": []
},
{
"id": "85ed1317.7df08",
"type": "serial-port",
"serialport": "/dev/ttyUSB0",
"serialbaud": "9600",
"databits": "8",
"parity": "none",
"stopbits": "1",
"waitfor": "",
"dtr": "none",
"rts": "none",
"cts": "none",
"dsr": "none",
"newline": "0",
"bin": "false",
"out": "time",
"addchar": "",
"responsetimeout": "10000"
}
]