This is the set, connected to the netduino:
Code to read is simple:
public class Program { // Reference to the Rdm630 board public static Rdm630 RFID; public static void Main() { // Initializes the Rdm630 board, connected to COM1 RFID = new Rdm630(SerialPorts.COM1); // Defines the event which should be triggered when there is new data RFID.DataReceived += new NativeEventHandler(RFID_DataReceived); // Waits infinitely for new data Thread.Sleep(Timeout.Infinite); } /// <summary> /// Triggered when there is new data /// </summary> /// <param name="data1">Unused</param> /// <param name="data2">Unused</param> /// <param name="time">Date and time when the event occured</param> static void RFID_DataReceived(uint data1, uint data2, DateTime time) { // Prints the read RFID tag Debug.Print(RFID.Tag); } }
Code can be downloaded here: RDM630_Driver.zip