Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller and four IR sensors. The IR sensors are used to detect objects, and their outputs are connected to the digital pins of the Arduino UNO. The Arduino UNO processes the signals from the IR sensors and can be programmed to perform various tasks based on the sensor inputs.
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
IR Sensor 1
- Description: An infrared sensor used for object detection.
- Pins: out, gnd, vcc
IR Sensor 2
- Description: An infrared sensor used for object detection.
- Pins: out, gnd, vcc
IR Sensor 3
- Description: An infrared sensor used for object detection.
- Pins: out, gnd, vcc
IR Sensor 4
- Description: An infrared sensor used for object detection.
- Pins: out, gnd, vcc
Wiring Details
Arduino UNO
- 5V: Connected to vcc of IR Sensor 1, IR Sensor 2, IR Sensor 3, IR Sensor 4
- GND: Connected to gnd of IR Sensor 1, IR Sensor 2, IR Sensor 3, IR Sensor 4
- D12: Connected to out of IR Sensor 4
- D9: Connected to out of IR Sensor 3
- D6: Connected to out of IR Sensor 2
- D3: Connected to out of IR Sensor 1
IR Sensor 1
- vcc: Connected to 5V of Arduino UNO
- gnd: Connected to GND of Arduino UNO
- out: Connected to D3 of Arduino UNO
IR Sensor 2
- vcc: Connected to 5V of Arduino UNO
- gnd: Connected to GND of Arduino UNO
- out: Connected to D6 of Arduino UNO
IR Sensor 3
- vcc: Connected to 5V of Arduino UNO
- gnd: Connected to GND of Arduino UNO
- out: Connected to D9 of Arduino UNO
IR Sensor 4
- vcc: Connected to 5V of Arduino UNO
- gnd: Connected to GND of Arduino UNO
- out: Connected to D12 of Arduino UNO
Code Documentation
Arduino UNO Code
File Name: sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
File Name: documentation.txt
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and the code used in the Arduino UNO.
