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

Nov 30, 2022

648 views

1 respects

Components and supplies

1

Grove - Gas Sensor(MQ2)

1

SparkFun Soil Moisture Sensor (with Screw Terminals)

1

Infrared Receiver, Remote Control

1

Grove - 12-Channel Capacitive Touch Keypad (ATtiny1616)

4

Buzzer

1

SG90 Micro-servo motor

1

Alphanumeric LCD, 16 x 2

10

LED (generic)

1

Arduino UNO

1

Breadboard (generic)

1

LDR, 5 Mohm

1

Ultrasonic Sensor - HC-SR04 (Generic)

Tools and machines

1

Hot glue gun (generic)

Apps and platforms

1

Bluetooth Electronics

1

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

Image

Comments

Only logged in users can leave comments

krishna_agarwal

0 Followers

0 Projects

0