Ieee Pes Quiz PDF
Ieee Pes Quiz PDF
Ieee Pes Quiz PDF
This is a quiz open to all based on the topic of automatic plant watering system
using Arduino. The basic idea is to encourage more people to participate and
this seemed like a topic that everyone would be interested in as well as can be
attempted even by those who have zero knowledge regarding the topic as tiny
bits of information and code can be shared across from 5 days prior to the quiz
on our Instagram page and the final quiz will be conducted based on the
information shared by us. The final quiz would contain about 5-10 questions
circulated through a google form or so and the winners will be announced and
rewarded as well as the winners list would be put up on as our story on
Instagram.
The information that can be put up could look like:
Day1:
Whenever on a vacations, we usually get worried about our plants because
they need water on regular basis. After going through several options to
solve this problem as plants need water according to the moisture level of
soil, the Automatic Plant Watering System Using Arduino UNO came into
picture.
In this system, soil moisture sensor senses the moisture level of the soil. If
soil will get dry then sensor senses low moisture level and automatically
switches on the water pump to supply water to the plant. As plant get
sufficient water and soil get wet then sensor senses enough moisture in soil.
After which the water pump will automatically get stopped.
A self made water pump is used in this system using 5 volt DC motor. We
could use 12 volt water pump in the system but to operate this, it will
require a relay module. So, to reduce all these hardware complexity, DC
motor based water pump using diode, transistor and registers combined
circuit which operates DC motor according to the Arduino code has been
used.
Day2:
COMPONENTS AND SUPPLIES
5v DC Motor
Water tube
Glue gun
Water container
Bread board
Soil Moisture Sensor
Day3:
Circuit description:
1. DC motor using water pump:
Use DC motor to make water pump. DC motor has two leads one is positive and
another one is negative. If we connect them directly to the Arduino board then
it will damage the board. To overcome this problem, NPN transistor is used to
control the switching activity of the motor according to the code.
Serial Monitor
Day4:
CODE:
int WATERPUMP = 13; //motor pump connected to pin 13
int sensor = 8; //sensor digital pin vonnected to pin 8
int val; //This variable stores the value received from Soil moisture sensor.
void setup() {
void loop()
{
if (Serial.available()) //loop to operate motor
{
int speed = Serial.parseInt(); // to read the number entered as text in the
Serial Monitor
if (speed >= 0 && speed <= 255)
{
analogWrite(WATERPUMP, speed);// tuns on the motor at specified speed
}
}
val = digitalRead(8); //Read data from soil moisture sensor
if(val == LOW)
{
digitalWrite(13,LOW); //if soil moisture sensor provides LOW value send LOW
value to motor pump and motor pump goes off
}
else
{
digitalWrite(13,HIGH); //if soil moisture sensor provides HIGH value send HIGH
value to motor pump and motor pump get on
}
delay(400); //Wait for few second and then continue the loop.
}
Day5:
SCHEMATICS
Fritzing Diagram of the system
Black colored wire for ground, red-colored wire for VCC and blue colored
wires for arduino inputs.
Questions:
1) To use a 12volt water pump what does the system require in
additional?
2) Which of the following are components and supplies used in the
system?
3) What is the role of NPN transistor in the above system?
4) What is the input that we require to give in the serial monitor?
5) What is the role of the two leads on the soil moisture sensor?
6) How many leads are present in the soil moisture sensor?
7) What happens when there is more water in the soil?
8) What does 13 indicate in the code int WATERPUMP = 13;
9) analogWrite(WATERPUMP, speed); What does the subsequent code do?
10) What does the blue wire do?