Arduino-Controlled Temperature Monitoring and DC Motor Management System
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit integrates an Arduino UNO microcontroller with a DHT11 temperature and humidity sensor, an L298N DC motor driver, a DC motor, a 12V battery, and an LCD2004I2C display module. The Arduino UNO serves as the central processing unit, interfacing with the DHT11 sensor to read environmental data, controlling the DC motor via the L298N driver, and displaying information on the LCD screen. The 12V battery provides power to the motor driver, which in turn controls the DC motor's operation. The LCD2004I2C is used to display data or messages, and it communicates with the Arduino UNO via the I2C protocol.
Component List
Arduino UNO
- Microcontroller board based on the ATmega328P
- Features digital I/O pins, analog input pins, and various power pins
- Utilized for controlling the circuit's logic and interfacing with other components
L298N DC Motor Driver
- Module for controlling up to two DC motors
- Provides H-bridge support for direction and speed control
- Powered by the 12V battery and receives control signals from the Arduino UNO
DC Motor
- A simple electric motor powered by the L298N driver
- Operates based on the control signals for speed and direction
DHT11
- A digital temperature and humidity sensor
- Provides environmental data to the Arduino UNO
Battery 12V
- Provides the main power source for the motor driver and indirectly for the motor
LCD2004I2C
- An alphanumeric LCD display with an I2C interface
- Displays data or messages under the control of the Arduino UNO
Wiring Details
Arduino UNO
- D7 connected to DHT11 DATA
- GND connected to DHT11 GND, L298N GND, and battery 12V -
- Vin connected to DHT11 VCC and L298N 5V
- 5V connected to LCD2004I2C VCC
- GND (another pin) connected to LCD2004I2C GND
- A4 connected to LCD2004I2C SCL
- A5 connected to LCD2004I2C SDA
- D12 connected to L298N IN2
- D10 connected to L298N IN1
- D9 connected to L298N ENA
L298N DC Motor Driver
- OUT1 and OUT2 (not mentioned in net list, assumed unused)
- 12V connected to battery 12V +
- GND connected to Arduino UNO GND and battery 12V -
- 5V connected to Arduino UNO Vin
- OUT3 connected to DC Motor pin 2
- OUT4 connected to DC Motor pin 1
- 5V-ENA-JMP-I, 5V-ENA-JMP-O, +5V-J1, +5V-J2, IN3, IN4, ENB (not mentioned in net list, assumed unused)
DC Motor
- Pin 1 connected to L298N OUT4
- Pin 2 connected to L298N OUT3
DHT11
- DATA connected to Arduino UNO D7
- GND connected to Arduino UNO GND
- VCC connected to Arduino UNO Vin
Battery 12V
- + connected to L298N 12V
- - connected to Arduino UNO GND and L298N GND
LCD2004I2C
- GND connected to Arduino UNO GND
- VCC connected to Arduino UNO 5V
- SDA connected to Arduino UNO A5
- SCL connected to Arduino UNO A4
Documented 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:
}
Note: The provided code is a template and does not contain any functional code to operate the circuit. The user is expected to write the necessary code to read from the DHT11 sensor, control the DC motor via the L298N, and display data on the LCD2004I2C.
Additional Files
- documentation.txt: This file is mentioned but no content was provided. It is assumed to be a placeholder for additional documentation or notes related to the project.