AIMS (Artificial Intelligence of Mechanical Society)
We have designed a smart city plan through which we can save a lot of water, electricity, time and we are securing our home from many problems
Components and supplies
Grove - Gas Sensor(MQ2)
SparkFun Soil Moisture Sensor (with Screw Terminals)
Infrared Receiver, Remote Control
Grove - 12-Channel Capacitive Touch Keypad (ATtiny1616)
Buzzer
SG90 Micro-servo motor
Alphanumeric LCD, 16 x 2
LED (generic)
Arduino UNO
Breadboard (generic)
LDR, 5 Mohm
Ultrasonic Sensor - HC-SR04 (Generic)
Tools and machines
Hot glue gun (generic)
Apps and platforms
Bluetooth Electronics
Arduino IDE
Project description
Code
Code
c_cpp
Code for both Arduino
Downloadable files
Circuit Diagram
const int trig = 2; // Ultrasnoic Sensor const int echo = 3; // Ultrasnoic Sensor const int autopin = 4; //Rmote Recieving Sensor const int ldr = A0; // Auto Day and Nigaght const int gas = A1; //Gas Detection const int ir = A2; //IR Sensor for Security const int soil = A4; //Bathroom IR for Auto Light const int ultraled = 5; //Ultrasnoic LED // buzzer const int irled = 6; // IR Security LED // buzzer const int ldrled = 7; // Auto LDR const int autoled = 9; // Button for On Off switch const int gasled = 10; // To Attach Buzzer also //Gas Sensor LED const int gaswater = 11; // IR Security Buzzer const int soilw = 12; // Gas Sensor Buzzer const int extraldrled = 13;
Circuit Diagram

Comments
Only logged in users can leave comments