Use this block with the serial RFID Reader (#28140) [1] and the Propeller Activity Board WX, Propeller FLiP module, and Other board types. Not available for Badge or Scribbler Robot board types.
New to this sensor? Click here to see an example schematic and quick Blockly program [2] to help you get started.
This block launches a processor automatically. Use one instance of this block per project.
The RFID initialize block is used to set up the Parallax RFID module. The EN and SOUT pins on the module must be matched to the Propeller Activity Board pins they are connected to.
If you have defined a constant using the constant define block, the constant will show up in all of the pin menus and can be selected instead of a numbered pin:
The RFID read block reads the ID number from an RFID tag near the sensor. If no tag is detected, it provides a value of 0 (zero).
The RFID disable/enable block depending on the option chosen in the dropdown menu, disables or enables the RFID sensor.
The RFID close block closes the RFID object and frees up the resources the object was using inside of the Propeller microcontroller.
RFID stands for Radio Frequency Identification. The Parallax RFID Reader Serial + Tag Sampler (#32390) [3] includes several unique RFID tags.
Using the connections shown in the wiring diagram above, this example will display the unique identification number(s) of your RFID tag(s) in the Terminal. Please note this code is for the Serial RFID Reader, not the USB version.
Links
[1] https://www.parallax.com/product/28140
[2] https://learn.parallax.com/support/reference/activity-board-wx-block-reference/sensor/rfid/rfid-wiring-example-code
[3] https://www.parallax.com/product/32390