
RFID Access Reader
Mga Tagubilin
Assemble the relay board
Assemble the relay board
The Beefcake board ships as a kit and has to be soldered before anything else.
- Fit the relay, the screw terminals and the passives.
- Check the coil side and the contact side are on the correct halves of the board before applying power.
Mga materyales para sa hakbang na ito:
SparkFun Beefcake Relay Control Kit1 kitMga kailangang kasangkapan:
Ryobi ONE+ RSI18-0 Cordless Soldering IronMount the reader module and wire it — pin by pin
Mount the reader module and wire it — pin by pin
Fit the SM130 and its antenna to the 13.56 MHz evaluation shield, then wire the shield to the Arduino.
- SM130 TX → Arduino D2 (Arduino receives)
- SM130 RX → Arduino D3 (Arduino transmits)
- SM130 VCC → 5V, GND → GND
- Relay board control input → Arduino D7, its GND to Arduino GND
The SM130's UART is 5 V and 5 V tolerant, so it connects straight to an Uno with no level converter. That is specific to this module — the 3.3 V SM5210 parts do need one.
Never wire the module's UART pins to an RS232 port directly. RS232 swings around ±12 V and will destroy it; a USB-UART adapter is required.Mga materyales para sa hakbang na ito:
RFID Module - SM130 Mifare (13.56 MHz)1 piraso
RFID Evaluation Shield - 13.56MHz1 piraso
Arduino Uno R3 SMD1 piraso
Jumper Wires Premium M/M 20 AWG - 15.5 cm (Pack of 10)1 paketeConfigure the module for Auto Mode with ASCII output
Configure the module for Auto Mode with ASCII output
Out of the box the module is in Standard Mode, where it waits for binary commands. Put it into Auto Mode with ASCII output instead, using SonMicro's Mifare Panel tool over a USB-UART adapter.
- Set Operation Mode to Auto Mode (Automatic Card Reading).
- Under Auto Read Mode set Serial Output Type to ASCII, and tick CR and LF.
- Leave Baudrate at its factory 19200.
That combination is the stock template 02/AUTO-B-P-ASCII-CRLF, so it can also be ordered pre-configured, or applied from a supplied .xml upgrade file with no configuration step at all.
Auto Mode is what makes this project simple. The module reports each card as a line of plain text the moment it enters the field, so the Arduino never has to build a framed binary packet or verify a checksum.Mga materyales para sa hakbang na ito:
USB-B Cable1 pirasoRead a card and write its identifier down
Read a card and write its identifier down
Power the Arduino over USB, open the serial monitor at 9600, and upload the sketch from the next step with the allow-list still empty.
- Present a tag. A line of hex digits appears.
- Write that identifier down exactly as printed.
- Repeat for every card that should be allowed.
Mga materyales para sa hakbang na ito:
RFID Tag - Adhesive Mifare 1K (13.56 MHz)2 pirasoUpload the access sketch
Upload the access sketch
Put the identifiers you recorded into the ALLOWED array, then upload. SoftwareSerial ships with the IDE — nothing else is needed.
Test the reject path before the accept path
Test the reject path before the accept path
Present an unlisted card first, and confirm the relay stays shut and the monitor prints denied.
- Only then present a listed card and confirm it opens.
- Wire the strike through the relay's normally-open contact, so a power cut leaves the door secure rather than released.
Mga Materyales
7- SparkFun Beefcake Relay Control Kit10% komisyon1 kit$7.66
- RFID Module - SM130 Mifare (13.56 MHz)10% komisyon1 piraso$27.46
- RFID Evaluation Shield - 13.56MHz10% komisyon1 piraso$19.71
- Arduino Uno R3 SMD10% komisyon1 piraso$27.46
- 1 pakete$5.08
- SparkFun Cerberus USB Cable - 1.8 meter10% komisyon1 piraso$5.77
- RFID Tag - Adhesive Mifare 1K (13.56 MHz)10% komisyon2 piraso$3.62
Mga Kinakailangang Kasangkapan
1- Ryobi ONE+ RSI18-0 Cordless Soldering Iron3% komisyon$94.56
CC0 Pampublikong Domain
Ang blueprint na ito ay inilabas sa ilalim ng CC0. Malaya kang kumopya, magbago, mamahagi, at gumamit nang walang pahintulot.
Suportahan ang Maker sa pamamagitan ng pagbili ng mga produkto sa kanilang Blueprint Komisyon ng Maker itinakda ng mga Vendor, o lumikha ng bagong bersyon ng Blueprint na ito at isama bilang koneksyon sa iyong Blueprint upang ibahagi ang kita.