Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, a 16x2 I2C LCD, a Membrane Matrix Keypad, and a Micro servo 9G. The Arduino UNO serves as the central controller, interfacing with the LCD for display purposes, the keypad for user input, and the servo for mechanical movement.
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
16x2 I2C LCD
- Description: A 16x2 character LCD display with I2C interface.
- Pins: GND, VCC, SDA, SCL
Membrane Matrix Keypad
- Description: A 4x3 matrix keypad for user input.
- Pins: Row 1, Row 2, Row 3, Row 4, Column 1, Column 2, Column 3
Micro servo 9G
- Description: A small servo motor for precise control of angular position.
- Pins: GND, +5V, PWM
Wiring Details
Arduino UNO
- 5V: Connected to VCC of 16x2 I2C LCD and +5V of Micro servo 9G
- GND: Connected to GND of 16x2 I2C LCD and GND of Micro servo 9G
- A4: Connected to SDA of 16x2 I2C LCD
- A5: Connected to SCL of 16x2 I2C LCD
- D10: Connected to PWM of Micro servo 9G
- D9: Connected to Column 3 of Membrane Matrix Keypad
- D8: Connected to Column 2 of Membrane Matrix Keypad
- D7: Connected to Column 1 of Membrane Matrix Keypad
- D6: Connected to Row 4 of Membrane Matrix Keypad
- D5: Connected to Row 3 of Membrane Matrix Keypad
- D4: Connected to Row 2 of Membrane Matrix Keypad
- D3: Connected to Row 1 of Membrane Matrix Keypad
16x2 I2C LCD
- GND: Connected to GND of Arduino UNO
- VCC: Connected to 5V of Arduino UNO
- SDA: Connected to A4 of Arduino UNO
- SCL: Connected to A5 of Arduino UNO
Membrane Matrix Keypad
- Row 1: Connected to D3 of Arduino UNO
- Row 2: Connected to D4 of Arduino UNO
- Row 3: Connected to D5 of Arduino UNO
- Row 4: Connected to D6 of Arduino UNO
- Column 1: Connected to D7 of Arduino UNO
- Column 2: Connected to D8 of Arduino UNO
- Column 3: Connected to D9 of Arduino UNO
Micro servo 9G
- GND: Connected to GND of Arduino UNO
- +5V: Connected to 5V of Arduino UNO
- PWM: Connected to D10 of 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 the loop() function is where the main logic of your program runs repeatedly.
