Arduino UNO Controlled Environmental Monitoring System with RFID and Stepper Motor
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit is designed to interface various sensors and actuators with an Arduino UNO microcontroller. The components include a stepper motor, a buzzer, two LEDs (red and green), a DHT11 humidity and temperature sensor, an MQ135 air quality sensor, a 16x2 I2C LCD display, an RFID-RC522 module, a water sensor, and a heat flame sensor. The circuit is powered by the 5V and 3.3V outputs from the Arduino UNO. The sensors provide environmental data to the Arduino, which can then drive the stepper motor, activate the buzzer, and display information on the LCD. The RFID module adds the capability to read RFID tags for identification or other purposes.
Component List
Stepper Motor
- Name: Stepper Motor One
- Pins: IN1, IN2, IN3, IN4, +, -
- Description: A motor that moves in discrete steps, used for precise control of angular or linear position, velocity, and acceleration.
Buzzer
- Name: Buzzer
- Pins: PIN, GND
- Description: An audio signaling device that can be used to alert users or provide feedback from the circuit.
LEDs
Name: LED: Two Pin (red)
Pins: Cathode, Anode
Description: A red light-emitting diode used as an indicator.
Name: LED: Two Pin (green)
Pins: Cathode, Anode
Description: A green light-emitting diode used as an indicator.
DHT11 Humidity and Temperature Sensor
- Name: DHT11 Humidity and Temperature Sensor
- Pins: VDD, DATA, NULL, GND
- Description: A sensor that measures ambient humidity and temperature.
MQ135 Air Quality Sensor
- Name: MQ135
- Pins: VCC, GND, A0, D0
- Description: A sensor for monitoring air quality, detecting a wide range of gases, including NH3, NOx, alcohol, benzene, smoke, and CO2.
16x2 I2C LCD
- Name: 16x2 I2C LCD
- Pins: GND, VCC, SDA, SCL
- Description: A liquid crystal display capable of displaying 16 characters per line across 2 lines, with an I2C interface for communication.
Arduino UNO
- Name: Arduino UNO
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13
- Description: A microcontroller board based on the ATmega328P, widely used for building digital devices and interactive objects.
RFID-RC522
- Name: RFID-RC522
- Pins: VCC (3.3V), RST, GND, IRQ, MISO, MOSI, SCK, SDA
- Description: An RFID reader/writer module for contactless communication at 13.56MHz.
Water Sensor
- Name: Water Sensor
- Pins: Signal, VCC, GND
- Description: A sensor for detecting water leaks, levels, or the presence of water.
Resistor
- Name: Resistor
- Pins: Pin1, Pin2
- Description: A passive two-terminal electrical component that implements electrical resistance as a circuit element.
- Properties: Resistance: 200 Ohms
Heat Flame Sensor
- Name: Heat Flame Sensor
- Pins: AO, DO, GND, VCC
- Description: A sensor for detecting flames or fire in the vicinity, often used in fire alarm systems.
Wiring Details
Stepper Motor One
- + connected to Arduino UNO 5V
- - connected to Arduino UNO GND
- IN1 connected to Arduino UNO D4
- IN2 connected to Arduino UNO D3
- IN3 connected to Arduino UNO D2
- IN4 connected to Arduino UNO D1
Buzzer
- PIN connected to Arduino UNO D5
- GND connected to Arduino UNO GND
LED: Two Pin (red)
- Anode connected to Arduino UNO D7
- Cathode connected to Arduino UNO GND
LED: Two Pin (green)
- Anode connected to Arduino UNO D6
- Cathode connected to Arduino UNO GND
DHT11 Humidity and Temperature Sensor
- VDD connected to Arduino UNO 5V
- DATA connected to Arduino UNO D8
- GND connected to Arduino UNO GND
MQ135 Air Quality Sensor
- VCC connected to Arduino UNO 5V
- GND connected to Arduino UNO GND
- A0 connected to Arduino UNO A1
16x2 I2C LCD
- VCC connected to Arduino UNO 5V
- GND connected to Arduino UNO GND
- SDA connected to Arduino UNO A4
- SCL connected to Arduino UNO A5
RFID-RC522
- VCC (3.3V) connected to Arduino UNO 3.3V
- RST connected to Arduino UNO D9
- GND connected to Arduino UNO GND
- IRQ not connected
- MISO connected to Arduino UNO D12
- MOSI connected to Arduino UNO D11
- SCK connected to Arduino UNO D13
- SDA connected to Arduino UNO D10
Water Sensor
- Signal connected to Arduino UNO A0
- VCC connected to Arduino UNO 5V
- GND connected to Arduino UNO GND
Heat Flame Sensor
- AO connected to Arduino UNO A2
- VCC connected to Arduino UNO 5V
- GND connected to Arduino UNO GND
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 include specific functionality. It should be populated with the setup and loop code required to control the components in the circuit.