Circuit Documentation
Summary of the Circuit
This circuit integrates an Arduino UNO microcontroller with a 16x2 I2C LCD display and an RFID-RC522 module. The Arduino UNO serves as the central processing unit, controlling the LCD display for user interaction and the RFID reader for wireless communication with RFID tags. The LCD display is connected via the I2C protocol, which minimizes the wiring required for communication. The RFID-RC522 module interfaces with the Arduino UNO through the SPI protocol, allowing for the reading and writing of RFID tags.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Purpose: Acts as the central controller for the circuit, interfacing with the LCD and RFID modules.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13.
16x2 I2C LCD
- Description: An alphanumeric liquid crystal display with an I2C interface.
- Purpose: Displays information to the user, controlled by the Arduino UNO.
- Pins: GND, VCC, SDA, SCL.
RFID-RC522
- Description: An RFID reader/writer module.
- Purpose: Reads and writes RFID tags, interfacing with the Arduino UNO via SPI.
- Pins: VCC (3.3V), RST, GND, IRQ, MISO, MOSI, SCK, SDA.
Wiring Details
Arduino UNO
- 3.3V connected to RFID-RC522 VCC (3.3V)
- 5V connected to 16x2 I2C LCD VCC
- GND connected to RFID-RC522 GND and 16x2 I2C LCD GND
- A4 (SDA) connected to 16x2 I2C LCD SDA
- A5 (SCL) connected to 16x2 I2C LCD SCL
- D13 (SCK) connected to RFID-RC522 SCK
- D12 (MISO) connected to RFID-RC522 MISO
- D11 (MOSI) connected to RFID-RC522 MOSI
- D10 (SS) connected to RFID-RC522 SDA
- D9 connected to RFID-RC522 RST
16x2 I2C LCD
- GND connected to Arduino UNO GND
- VCC connected to Arduino UNO 5V
- SDA connected to Arduino UNO A4 (SDA)
- SCL connected to Arduino UNO A5 (SCL)
RFID-RC522
- VCC (3.3V) connected to Arduino UNO 3.3V
- RST connected to Arduino UNO D9
- GND connected to Arduino UNO GND
- IRQ (Not connected)
- MISO connected to Arduino UNO D12 (MISO)
- MOSI connected to Arduino UNO D11 (MOSI)
- SCK connected to Arduino UNO D13 (SCK)
- SDA connected to Arduino UNO D10 (SS)
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
}
void loop() {
}
Note: The provided code is a template and does not include specific functionality. It is expected that the user will add the necessary code to interact with the LCD and RFID modules.