Iot Lab Revision
Iot Lab Revision
Things
In this project, you will learn to interface a PIR sensor in smart home by IOT.
Hardware Components:
1. Arduino Uno:
board is used for interfacing the input-output elements to construct a
project. It is an open-source microcontroller board that can be
programmed according to user requirements.
What is Arduino?
Circuit Connections:
• Connect the power pin of the PIR sensor to the 5V of the Arduino via a breadboard.
• Connect the ground of the PIR sensor to the ground of the Arduino.
• Connect the signal pin of the PIR sensor to D13 of the Arduino.
• Connect the Anode of the LED pin to D12 of the Arduino through a 220Ω resistor.
• Connect the cathode of the Arduino to the ground rail on the breadboard.
Code:
Establishing a plant watering system using the Internet of
Things
Hardware Components:
• Arduino Uno:
board is used for interfacing the input-output elements to construct a
project. It is an open-source microcontroller board that can be
programmed according to user requirements.
What is Arduino?
• breadboard:
is a construction base used to build semi-permanent
prototypes of electronic circuits.
• soil moisture sensor:
is a simple breakout for measuring the moisture in soil and similar
materials
• temperature sensor:
is a device that detects and measures hotness and
coolness and converts it into an electrical signal.
• DC Motor:
is any of a class of rotary electrical motors that converts direct current
(DC) electrical energy into mechanical energy.
Circuit Connections:
Code:
Establishing a gas leakage system using the Internet of
Things
Hardware Components:
• Arduino Uno:
board is used for interfacing the input-output elements to construct a
project. It is an open-source microcontroller board that can be
programmed according to user requirements.
What is Arduino?
• breadboard:
is a construction base used to build semi-permanent
prototypes of electronic circuits.
• Gas sensor:
is defined as a device able to detect the presence of certain
gases in a controlled volume.
• Piezo:
is a Greek root meaning pressure or push. It's combined
with some other words to make new nouns and adjectives.
• LED:
Light Emitting Diode (LED) is a semiconductor device that emits light when the
current flows through it. The color of the light emitted by the LED depends on the
bandgap the electrons need to cross to recombine with the holes in the
semiconductor.
• Resistor-220Ω:
The resistor is a passive electronic component that offers resistance to the current
flowing through it. In this project, we use 220Ω resistors to reduce the current
flowing through the LED.
Circuit Connections:
Code:
IoT Smart Gate Design for Smart Home
Hardware Components:
• Arduino Uno:
board is used for interfacing the input-output elements to construct a
project. It is an open-source microcontroller board that can be
programmed according to user requirements.
What is Arduino?
• breadboard:
is a construction base used to build semi-permanent
prototypes of electronic circuits.
• Ultrasonic Sensors: