Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino UNO, a 0.96" OLED display, and two pushbuttons. The Arduino UNO serves as the main microcontroller, interfacing with the OLED display and pushbuttons to create an interactive system. The document includes a component list, wiring details, and the embedded code used in the circuit.
Component List
0.96" OLED
- Description: A small OLED display used for visual output.
- Pins: GND, VDD, SCK, SDA
Arduino UNO
- Description: A popular 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
Pushbutton 1
- Description: A simple pushbutton used for user input.
- Pins: Pin 3 (out), Pin 4 (out), Pin 1 (in), Pin 2 (in)
Pushbutton 2
- Description: Another simple pushbutton used for user input.
- Pins: Pin 3 (out), Pin 4 (out), Pin 1 (in), Pin 2 (in)
Wiring Details
0.96" OLED
- GND connected to Arduino UNO GND
- VDD connected to Arduino UNO 5V
- SCK connected to Arduino UNO A5
- SDA connected to Arduino UNO A4
Arduino UNO
- D3 connected to Pushbutton 2 Pin 3 (out)
- D2 connected to Pushbutton 1 Pin 3 (out)
- GND connected to:
- Pushbutton 1 Pin 4 (out)
- Pushbutton 1 Pin 2 (in)
- Pushbutton 2 Pin 4 (out)
- Pushbutton 2 Pin 2 (in)
- 0.96" OLED GND
- 5V connected to 0.96" OLED VDD
- A5 connected to 0.96" OLED SCK
- A4 connected to 0.96" OLED SDA
Pushbutton 1
- Pin 3 (out) connected to Arduino UNO D2
- Pin 1 (in) connected to Pushbutton 1 Pin 3 (out)
- Pin 4 (out) connected to:
- Pushbutton 1 Pin 2 (in)
- Pushbutton 2 Pin 4 (out)
- Pushbutton 2 Pin 2 (in)
- Arduino UNO GND
Pushbutton 2
- Pin 3 (out) connected to Arduino UNO D3
- Pin 1 (in) connected to Pushbutton 2 Pin 3 (out)
- Pin 4 (out) connected to:
- Pushbutton 1 Pin 4 (out)
- Pushbutton 1 Pin 2 (in)
- Pushbutton 2 Pin 2 (in)
- Arduino UNO GND
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:
}
Documentation (documentation.txt)
This document provides a comprehensive overview of the circuit, including the components used, their wiring, and the embedded code. This should serve as a useful reference for understanding and replicating the circuit.
