RFID


It is possible to use an RDM630 / RDM6300 125kHz RFID receiver. In the Setup/Peripheral menu, select the RFID menu item and specify which GPIO pin the receiver's TX pin is connected to. Power supply is 5V! RX is not used, as this is a receiver only. The TAGs are not writable and are available with factory-programmed UID identifiers. The paired TAGs' UID numbers are saved in the RFID.txt file on the storage, along with an assigned name and a command to be executed upon reading. If there is also an NFC reader, 13.56MHz NFC TAGs can be used with the RFID command in the same way as 125kHz TAGs, provided no command is stored in the active sector.

RFID(Alice):STR[0]@=ALICE
RFID(Bob):STR[0]@=BOB
Associates the TAG UID number with the name in parentheses, along with the command following the colon. To delete or modify, use the edit button in the file manager.

RFID@
Sends the name associated with the last read TAG to STDOUT.
RFID(UID)@
Sends the UID number of the last read TAG to STDOUT.

RFID(ERR):STR[0]@=Unknown TAG !!!
Executes the command upon reading an unpaired TAG.

RFID EMULATOR


The module can emulate an RFID TAG using a 125kHz coil connected between the pin set in the Setup/Peripheral menu and GND.

RFID>0012345678
This command emulates a TAG with the given UID number. This is usually written on the TAG. If it is not written on it, the RFID(UID)@ command will tell you if a reader module is connected. The transmission lasts for two seconds, during which the code is sent out five times.
RFID(Alice)>
This command emulates the TAG paired with the name Alice.



Examples

Records the time of TAG reading in the Check.txt file.
RFID(Alice):STR[0]=%RFID %DATE %TIME;STR[0]#(rn)Check.txt