I’m interested in scanning barcode information directly into node-red through the Edge MC. If I connect a USB barcode scanner as a KB wedge or as a serial device, I can put barcode data into Node-red on my PC. But, I’m not sure if it is possible to configure the Edge MC device to handle this data to go into node-red. How would I go about getting the driver into the device to recognize the scanner?
When I connect the scanner set up for serial, I see a new device show up in the serial port list, but I get the error shown when I deploy the flow.
Good morning. We tested a serial barcode scanner on an Edge MC this morning running the latest OS44.1 and it still isn’t working for us. The message still shows that we don’t have a driver. We can see a new device show up in the serial port list, but it gives the error when we try to use it. It is ACM0 in the list. This same scanner works perfectly on other systems running Node-Red, such as a laptop or an Opto22 Groov Rio. Can you please let me know if we are doing something wrong?
We tested this on another unit and it worked with no issues. We rebooted the first unit and it still didn’t work. I may try to do a factory reset on it and see if the firmware update missed something.
I may know what happened. The ttyACM0 and ttyACM1 devices do not normally exist on the device and are generated when the scanner is plugged in. When Node RED is starting, it tries to find the ttyACM devices, but if they do not exist at that point; it doesn’t allow you to use them. The same thing probably happens to ttyUSB0 and ttyUSB1 devices too.
Thanks for pointing this out. Restarting only the Node RED service when the scanner is plugged in should fix it for now while I work on a better long term solution.
Currently seeing the same issue. I’m trying to connect a Nicla Sense ME to an Edge MC. Looking through the logs I don’t see any reference to either /dev/ttyUSB0 or /dev/ttyACM0. Just updated to the latest firmware (eMMC-os44.2-nanopi-r1-stable).