Compact Panel Mount NFC Reader Design
Budget: $250 – $750 USD
Develop schematics, PCB and firmware for a compact NFC reader. The suggested RFID controller is PN7160. Microcontroller - STM32
0) Two boards - antenna and the main board. The antenna diameter is 15mm with a hole in the center 4-5mm. The main board is 14mm in width and length is 35mm or less.
1) The reader must read and write password-protected memory blocks in Mifare Classic cards.
2) The reader keeps the password for the RFID cards as a hard-coded constant.
3) The reader has an 4-byte reader ID stored in its EEPROM memory.
4) The RGB LED on the edge of the main board, whose location matches the hole in the antenna. RGB LEDs are connected to the PWM pins of the controller.
5) A waterproof (if possible) speaker must be on the opposite edge of the main board, closer to one side to leave space for wires. The speaker must be connected to a PWM pin of the microcontroller.
6) RS485 interface, half-duplex.
6a) The RS485 command should trigger an RGB LED sequence and the speaker sound effect. The command contains a reader ID. The reader accepts commands only if the reader ID matches.
6b) When an RFID card is applied, the reader reads a password-protected memory block and sends it to RS485 with the reader's 4-byte ID.
6c) The RS485 command should be able to change the reader's 8-byte ID and update it in EEPROM.
7) One or two digital sourcing outputs that can send a pulse to a lock or an indicator lamp. Let's say 500mA.
8) One or two digital inputs, sinking, working in the full range of the power supply voltage.
9) Power voltage range 5-26VDC. A decent capacitor must compensate for possible voltage drop when an output is energized.
10) External connections: holes for a 1.27mm compatible for a header connector. Flexible wires will be soldered in production. Pogo pins will be used for programming.
10a) Power VCC and GND
10b) Digital outputs and outputs
10c) RS485 A+ and B-
10d) Programmer and debugger interface
11) I must be able to load firmware without IDE for production and debug the system through the same pins using an IDE.
12) NXP has a sample code for the reader for LPC824M201JHI33Y + PN7160. The controller must be STM32, the library can be ported from NXP to ST.
13) Debug messages must be sent to the debug probe. RS485 should be used for communication with the host only.
14) The LED must have as much illuminated surface as possible and the best possible diffuser (semi-transparent) to illuminate the hole in the antenna as even as possible.
15) The LED center must match the center on the hole in the antenna
16) Schematics and PCB must be made using KiCad
17) Use a free development software
0) Two boards - antenna and the main board. The antenna diameter is 15mm with a hole in the center 4-5mm. The main board is 14mm in width and length is 35mm or less.
1) The reader must read and write password-protected memory blocks in Mifare Classic cards.
2) The reader keeps the password for the RFID cards as a hard-coded constant.
3) The reader has an 4-byte reader ID stored in its EEPROM memory.
4) The RGB LED on the edge of the main board, whose location matches the hole in the antenna. RGB LEDs are connected to the PWM pins of the controller.
5) A waterproof (if possible) speaker must be on the opposite edge of the main board, closer to one side to leave space for wires. The speaker must be connected to a PWM pin of the microcontroller.
6) RS485 interface, half-duplex.
6a) The RS485 command should trigger an RGB LED sequence and the speaker sound effect. The command contains a reader ID. The reader accepts commands only if the reader ID matches.
6b) When an RFID card is applied, the reader reads a password-protected memory block and sends it to RS485 with the reader's 4-byte ID.
6c) The RS485 command should be able to change the reader's 8-byte ID and update it in EEPROM.
7) One or two digital sourcing outputs that can send a pulse to a lock or an indicator lamp. Let's say 500mA.
8) One or two digital inputs, sinking, working in the full range of the power supply voltage.
9) Power voltage range 5-26VDC. A decent capacitor must compensate for possible voltage drop when an output is energized.
10) External connections: holes for a 1.27mm compatible for a header connector. Flexible wires will be soldered in production. Pogo pins will be used for programming.
10a) Power VCC and GND
10b) Digital outputs and outputs
10c) RS485 A+ and B-
10d) Programmer and debugger interface
11) I must be able to load firmware without IDE for production and debug the system through the same pins using an IDE.
12) NXP has a sample code for the reader for LPC824M201JHI33Y + PN7160. The controller must be STM32, the library can be ported from NXP to ST.
13) Debug messages must be sent to the debug probe. RS485 should be used for communication with the host only.
14) The LED must have as much illuminated surface as possible and the best possible diffuser (semi-transparent) to illuminate the hole in the antenna as even as possible.
15) The LED center must match the center on the hole in the antenna
16) Schematics and PCB must be made using KiCad
17) Use a free development software