Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller interfacing with a 16x2 I2C LCD, a DHT 11 temperature and humidity sensor, a 12V single-channel relay, and a DC motor. The circuit is powered through a 2.1mm barrel jack with a terminal block. The Arduino UNO controls the relay, which in turn controls the DC motor. The DHT 11 sensor provides temperature and humidity data, which is displayed on the 16x2 I2C LCD.
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
DC Motor
- Description: A simple DC motor.
- Pins: pin 1, pin 2
DHT 11
- Description: A temperature and humidity sensor.
- Pins: VCC, GND, DATA
16x2 I2C LCD
- Description: A 16x2 character LCD with I2C interface.
- Pins: GND, VCC, SDA, SCL
2.1mm Barrel Jack with Terminal Block
- Description: A power connector for external power supply.
- Pins: POS, NEG
12V SINGLE CHANNEL RELAY
- Description: A relay module for switching high power devices.
- Pins: NC, COM, NO, IN, GND, VCC
Wiring Details
Arduino UNO
GND connected to:
- 16x2 I2C LCD (GND)
- DHT 11 (GND)
- 12V SINGLE CHANNEL RELAY (GND)
5V connected to:
- 16x2 I2C LCD (VCC)
- DHT 11 (VCC)
- 12V SINGLE CHANNEL RELAY (VCC)
A4 connected to:
A5 connected to:
D3 connected to:
- 12V SINGLE CHANNEL RELAY (IN)
D2 connected to:
DC Motor
pin 1 connected to:
- 12V SINGLE CHANNEL RELAY (NO)
pin 2 connected to:
- 2.1mm Barrel Jack with Terminal Block (NEG)
2.1mm Barrel Jack with Terminal Block
- POS connected to:
- 12V SINGLE CHANNEL RELAY (COM)
12V SINGLE CHANNEL RELAY
GND connected to:
VCC connected to:
IN connected to:
NO connected to:
COM connected to:
- 2.1mm Barrel Jack with Terminal Block (POS)
16x2 I2C LCD
GND connected to:
VCC connected to:
SDA connected to:
SCL connected to:
DHT 11
GND connected to:
VCC connected to:
DATA connected to:
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
}
void loop() {
}
Additional Documentation (documentation.txt)