![]() In my setup, I used a Raspberry Pi 3 B+, but it should work as well with older models. I don’t have experience with this product, but if they are as identical with my product as they look like, I can recommend them and would give them more than the 3 stars that the product has on Amazon. I haven’t found that product on, but similar products that looked exactly the same but had different names, like this product (affiliate link). I ordered my USB RFID reader from Amazon Germany (here is the link: ) (affiliate link). Which means that I want to attach unique part IDs to process parameters, sensor readings and results from quality inspection to cfreate data for analytics approaches. I will use the parsing flow to use the tag IDs in an industrial IOT demonstrator to try out product-centered process-data acquisition. So just enter and execute node-red-start in your command line and access the dashboard with the IP address that will be displayed in the command line after Node-RED is started.Īfter we have build our parsing flow, we can check the results in the debug-panel when we read our RFID-tags with our reader.īased on Node-RED, we can now further digest this ID, store it to databases or trigger other events and flows. Since reading/writing the USB devices is not allowed with the standard pi user, don’t forget to grant access to those devices as described on the flow-page in the setction “How to use”. If you haven’t installed npm yet on your raspberry pi, you find a quick solution here. We install the flow with the following command: npm install node-red-contrib-usbhid Nevertheless, we will use the flow node-red-contrib-usbhid to interface the usb reader. With current raspbian images, Node-RED is already pre-installed. Raspberry Pi (affiliate link) USB RFID Reader (affiliate link) Preparations I will not go too much into detail regarding the format of the byte arrays and the HID message format in general, the approach is more straight forward to get to a result quickly. With Node-RED, you can easily prototype this parsing in a conveniant way, which will be described in that tutorial. ![]() ![]() On the left hand side, when connected to my Windows Laptop, you directly get the ID, whereas on the right hand side we see the byte arrays. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |