Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, a 128x64 OLED Display (I2C IIC SPI Serial), and an IR sensor. The Arduino UNO serves as the central controller, interfacing with the OLED display for visual output and the IR sensor for input detection.
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
128x64 OLED Display (I2C IIC SPI Serial)
- Description: A 128x64 pixel OLED display module that supports I2C, IIC, and SPI serial communication.
- Pins: GND, SDA, SCL, VCC
IR Sensor
- Description: An infrared sensor used for detecting objects or measuring distance.
- Pins: out, gnd, vcc
Wiring Details
Arduino UNO
- 3.3V: Connected to VCC of the 128x64 OLED Display
- 5V: Connected to vcc of the IR sensor
- GND: Connected to GND of both the 128x64 OLED Display and the IR sensor
- A0: Connected to out of the IR sensor
- A4: Connected to SDA of the 128x64 OLED Display
- A5: Connected to SCL of the 128x64 OLED Display
128x64 OLED Display (I2C IIC SPI Serial)
- VCC: Connected to 3.3V of the Arduino UNO
- GND: Connected to GND of the Arduino UNO
- SDA: Connected to A4 of the Arduino UNO
- SCL: Connected to A5 of the Arduino UNO
IR Sensor
- vcc: Connected to 5V of the Arduino UNO
- gnd: Connected to GND of the Arduino UNO
- out: Connected to A0 of the Arduino UNO
Code Documentation
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This code is a basic template for the Arduino UNO. The setup() function is where you initialize your components and settings, and it runs once when the microcontroller is powered on or reset. The loop() function contains the main code that runs repeatedly, allowing the microcontroller to perform continuous tasks.
Additional Documentation
This section is reserved for any additional documentation or notes related to the code or circuit. Currently, it is empty.
