Circuit Documentation
Summary of the Circuit
This circuit consists of an Arduino UNO microcontroller board interfaced with two IR sensors. The IR sensors are connected to the Arduino UNO to receive power and to send their output signals to two of the digital input pins on the Arduino. The purpose of this setup is to detect infrared signals using the IR sensors and process these signals with the Arduino UNO.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13.
- Purpose: Acts as the central processing unit for the circuit, reading sensor data and executing embedded code.
IR Sensor 1
- Description: An infrared sensor capable of detecting infrared signals.
- Pins: out, gnd, vcc.
- Purpose: To detect infrared signals and send the data to the Arduino UNO.
IR Sensor 2
- Description: An infrared sensor capable of detecting infrared signals.
- Pins: out, gnd, vcc.
- Purpose: To detect infrared signals and send the data to the Arduino UNO.
Wiring Details
Arduino UNO
- 5V: Provides power to both IR sensors.
- GND: Connected to the ground pins of both IR sensors to complete the power circuit.
- D7: Receives the output signal from IR Sensor 1.
- D5: Receives the output signal from IR Sensor 2.
IR Sensor 1
- vcc: Connected to the 5V pin on the Arduino UNO for power.
- gnd: Connected to the GND pin on the Arduino UNO.
- out: Sends the output signal to pin D7 on the Arduino UNO.
IR Sensor 2
- vcc: Connected to the 5V pin on the Arduino UNO for power.
- gnd: Connected to the GND pin on the Arduino UNO.
- out: Sends the output signal to pin D5 on the Arduino UNO.
Documented Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
File: sketch.ino
Description: This is the main code file for the Arduino UNO. The setup() function is intended to contain initialization code that runs once, such as pin mode configurations. The loop() function is meant to contain the main logic of the program, which runs repeatedly. Currently, both functions are empty and should be filled with the appropriate code to interact with the IR sensors.
Note: There is an additional text file named "documentation.txt" associated with the microcontroller, but it contains no content.
