Circuit Documentation
Summary of the Circuit
This circuit integrates a Raspberry Pi 4B with several peripheral devices, including an RFID-RC522 module, an ADS1115 analog-to-digital converter, and a 0.96" OLED display. The Raspberry Pi 4B serves as the central processing unit, interfacing with the RFID module for tag reading capabilities, the ADS1115 for enhanced analog input resolution, and the OLED display for visual output. The circuit is designed for applications that require identification through RFID, precise analog measurements, and a compact display for real-time data visualization.
Component List
Raspberry Pi 4B
- Description: A powerful microcomputer with multiple GPIO pins for interfacing with various peripherals.
- Pins: 3V3, 5V, multiple GPIOs, GND, and others for specific functions.
Raspberry Pi Camera Module v1.3 - 5MP
- Description: A camera module designed for Raspberry Pi, capable of capturing high-quality images and video.
ADS1115
- Description: A high-precision, 16-bit analog-to-digital converter with I2C interface.
- Pins: VDD, GND, SCL, SDA, ADDR, ALRT, A0, A1, A2, A3.
RFID-RC522
- Description: An RFID reader/writer module for contactless communication using 13.56 MHz.
- Pins: VCC (3.3V), RST, GND, IRQ, MISO, MOSI, SCK, SDA.
0.96" OLED
- Description: A small OLED display for showing text and graphics with an I2C interface.
- Pins: GND, VDD, SCK, SDA.
Wiring Details
Raspberry Pi 4B
- 3V3 connected to:
- RFID-RC522 VCC (3.3V)
- ADS1115 VDD
- 0.96" OLED VDD
- GPIO2 (SDA) connected to:
- ADS1115 SDA
- 0.96" OLED SDA
- GPIO3 (SCL) connected to:
- ADS1115 SCL
- 0.96" OLED SCK
- GPIO4 not connected
- GND connected to:
- RFID-RC522 GND
- ADS1115 GND
- 0.96" OLED GND
- GPIO8 connected to RFID-RC522 SDA
- GPIO9 connected to RFID-RC522 MISO
- GPIO10 connected to RFID-RC522 MOSI
- GPIO11 connected to RFID-RC522 SCK
- GPIO25 connected to RFID-RC522 RST
Raspberry Pi Camera Module v1.3 - 5MP
- No wiring details provided.
ADS1115
- VDD connected to Raspberry Pi 4B 3V3
- GND connected to Raspberry Pi 4B GND
- SCL connected to Raspberry Pi 4B GPIO3 (SCL)
- SDA connected to Raspberry Pi 4B GPIO2 (SDA)
RFID-RC522
- VCC (3.3V) connected to Raspberry Pi 4B 3V3
- RST connected to Raspberry Pi 4B GPIO25
- GND connected to Raspberry Pi 4B GND
- IRQ not connected
- MISO connected to Raspberry Pi 4B GPIO9
- MOSI connected to Raspberry Pi 4B GPIO10
- SCK connected to Raspberry Pi 4B GPIO11
- SDA connected to Raspberry Pi 4B GPIO8
0.96" OLED
- GND connected to Raspberry Pi 4B GND
- VDD connected to Raspberry Pi 4B 3V3
- SCK connected to Raspberry Pi 4B GPIO3 (SCL)
- SDA connected to Raspberry Pi 4B GPIO2 (SDA)
Documented Code
No code has been provided for the microcontrollers in the circuit. To fully utilize the capabilities of the components, embedded code for the Raspberry Pi 4B should be developed to handle communication with the RFID-RC522, ADS1115, and the 0.96" OLED display. This code would typically include libraries for SPI and I2C communication, RFID tag handling, analog data reading from the ADS1115, and graphics or text output to the OLED display.