Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, two MAX7219 8x8 LED Matrix modules, and an IR sensor. The Arduino UNO serves as the main controller, interfacing with the LED matrices to display information and receiving input from the IR sensor.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
MAX7219 8x8 LED Matrix (1)
- Description: A module for driving an 8x8 LED matrix.
- Pins: CS, CLK, DIN, GND, VCC, CS(OUT), CLK(OUT), DOUT, VCC(OUT)
MAX7219 8x8 LED Matrix (2)
- Description: A module for driving an 8x8 LED matrix.
- Pins: CS, CLK, DIN, GND, VCC, CS(OUT), CLK(OUT), DOUT, VCC(OUT)
IR Sensor
- Description: An infrared sensor for detecting objects.
- Pins: out, gnd, vcc
Wiring Details
Arduino UNO
- 5V: Connected to VCC of MAX7219 8x8 LED Matrix (2) and vcc of IR sensor
- GND: Connected to GND of IR sensor and GND of MAX7219 8x8 LED Matrix (2)
- D13: Connected to DIN of MAX7219 8x8 LED Matrix (2)
- D12: Connected to CLK of MAX7219 8x8 LED Matrix (2)
- D11: Connected to CS of MAX7219 8x8 LED Matrix (2)
- D6: Connected to out of IR sensor
MAX7219 8x8 LED Matrix (1)
- CS: Connected to CS(OUT) of MAX7219 8x8 LED Matrix (2)
- CLK: Connected to CLK(OUT) of MAX7219 8x8 LED Matrix (2)
- DIN: Connected to DOUT of MAX7219 8x8 LED Matrix (2)
- GND: Connected to GND of MAX7219 8x8 LED Matrix (2)
- VCC: Connected to VCC(OUT) of MAX7219 8x8 LED Matrix (2)
MAX7219 8x8 LED Matrix (2)
- VCC: Connected to 5V of Arduino UNO
- GND: Connected to GND of Arduino UNO
- DIN: Connected to D13 of Arduino UNO
- CLK: Connected to D12 of Arduino UNO
- CS: Connected to D11 of Arduino UNO
- CS(OUT): Connected to CS of MAX7219 8x8 LED Matrix (1)
- CLK(OUT): Connected to CLK of MAX7219 8x8 LED Matrix (1)
- DOUT: Connected to DIN of MAX7219 8x8 LED Matrix (1)
- GND: Connected to GND of MAX7219 8x8 LED Matrix (1)
- VCC(OUT): Connected to VCC of MAX7219 8x8 LED Matrix (1)
IR Sensor
- vcc: Connected to 5V of Arduino UNO
- gnd: Connected to GND of Arduino UNO
- out: Connected to D6 of Arduino UNO
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation (documentation.txt)
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component descriptions, wiring details, and the code used in the Arduino UNO microcontroller.
