Documentation
Schematic
The system schematic is given below, including the RFID reader, DFPlayer, speaker, LED strip, MCU, and FPGA.

Code
All the code for this project can be found in the associated GitHub repository.
Bill of Materials
| Item | Qty | Part Number | Source |
|---|---|---|---|
| Speaker | 1 | N/A | Lab |
| SD Card | 1 | N/A | Lab |
| RFID Tag | 1 | UID-M1-BAISE | 20 pack |
| RFID Reader | 1 | RFID RC522 | RFID Reader |
| DFPlayer | 1 | B01D1D0E7Q | DFPlayer |
| LED Strip | 1 | HD-5V-WS2812E-100L-B-IP30 | 144 LED/1 m |
| Servo motors | 1 | 4 x SG90 Servo | Servo motor |
The total cost for this project was $46.92, which was under the $50 limit.
References
- Arduino code translated into C for RFID Reader
- Access here
- NXP Semiconductors, “Standard performance MIFARE and NTAG frontend”, MFRC522 datasheet, April 2016.
- Access here
- Worldsemi, “Intelligent control LED integrated light source”, WS2812B datasheet.
- Access here
- Lattice Semiconductor, “iCE40 SPRAM Usage Guide”, March 2021.
- Access here
- STMicroelectronics, “STM32L41xxx/42xxx/43xxx/44xxx/45xxx/46xxx advanced Arm®-based 32-bit MCUs”, RM0394 Reference Manual, October 2018.
- Access here
- STMicroelectronics, “Ultra-low-power Arm® Cortex®-M4 32-bit MCU+FPU, 100DMIPS, up to 256KB Flash”, STM32L432KB STM32L432KC datasheet, May 2018.
- Access here