Good morning, I want to implement a project to "command" more arduino's yun from a UDOO board. The udoo board must have a rfid module. When I pass the RFID card to the reader, the UDOO must be able to read from an internal database if the card is enabled and then communicate to one (or more) Arduino Yun to activate a relay via the rest services internal to the Arduino. I want to know wich rfid module is compatible with UDOO, and how UDOO comunicate with that rfid module.In my experience with arduino i have a "driver" written in C++ wich communicate directly from arduino to rfid module. It's the same with UDOO, or exist other type of "comunication"?
With a Udoo you better do this with an USB RFID reader and do the handling of the Linux side. Then you have nu issues with databases. Such an USB RFID reader acts like a keyboard so you don't have to deal with customer drivers. To be honest you do not need a Udoo for this, a Raspberry pi will do the trick too.
Something like this https://s.click.aliexpress.com/e/K9kfuiunD but it will depend on your needs. You can buy them from 5 to 100 dollars.
Ok thanks, but now how to comunicate with the usb reader. I have found this node.js script const SerialPort = require('serialport') const port = new SerialPort('/dev/tty-usbserial1', { baudRate: 57600 }) but the port name is not correct.
Lmgtfy: https://unix.stackexchange.com/ques...-determine-ports-of-a-device-like-dev-ttyusb0 It is better to find this yourself instead of doing it the lazy way. Especially if this is a school project....