"Based on a source, book, or expertise in the specialized field, I need a solution to the question." Write an Arduino program to control water tank levels, The 1st Tank level is monitored by ultrasonic sensor No.1, connected to pin Ao on the Arduino board and it's linked to a valve via port 7 to regulate the valve's opening and closing. Similarly, 2nd tank is monitored by ultrasonic sensor No.2, connected to pin A1, and linked to a valve through port 8. Follow the rules in the Table below to control valve and motor activation via port 13 with a 500 ms delay: TRIYAH UN Water level Tank Tank 1<500 (Threshold) Tank 2<300 Tank 1==500 Tank 2<300 Tank 1<500 Tank 2==300 Tank 1=500 Tank 2=300 Motor ON ON SON OFF Valve 1 ON OFF ON OFF Valve 2 ON ON OFF OFF

Electric Motor Control
10th Edition
ISBN:9781133702818
Author:Herman
Publisher:Herman
Chapter7: Relays
Section: Chapter Questions
Problem 9SQ: What is optoisolation?
icon
Related questions
Question
"Based on a source, book, or expertise in the
specialized field, I need a solution to the
question."
Write an Arduino program to control water tank levels, The 1st
Tank level is monitored by ultrasonic sensor No.1, connected to
pin Ao on the Arduino board and it's linked to a valve via port 7
to regulate the valve's opening and closing. Similarly, 2nd tank
is monitored by ultrasonic sensor No.2, connected to pin A1,
and linked to a valve through port 8. Follow the rules in the
Table below to control valve and motor activation via port 13
with a 500 ms delay:
TRIYAH UN
Water level Tank
Tank 1<500
(Threshold)
Tank 2<300
Tank 1==500
Tank 2<300
Tank 1<500
Tank 2==300
Tank 1=500
Tank 2=300
Motor
ON
ON
SON
OFF
Valve 1
ON
OFF
ON
OFF
Valve 2
ON
ON
OFF
OFF
Transcribed Image Text:"Based on a source, book, or expertise in the specialized field, I need a solution to the question." Write an Arduino program to control water tank levels, The 1st Tank level is monitored by ultrasonic sensor No.1, connected to pin Ao on the Arduino board and it's linked to a valve via port 7 to regulate the valve's opening and closing. Similarly, 2nd tank is monitored by ultrasonic sensor No.2, connected to pin A1, and linked to a valve through port 8. Follow the rules in the Table below to control valve and motor activation via port 13 with a 500 ms delay: TRIYAH UN Water level Tank Tank 1<500 (Threshold) Tank 2<300 Tank 1==500 Tank 2<300 Tank 1<500 Tank 2==300 Tank 1=500 Tank 2=300 Motor ON ON SON OFF Valve 1 ON OFF ON OFF Valve 2 ON ON OFF OFF
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Electric Motor Control
Electric Motor Control
Electrical Engineering
ISBN:
9781133702818
Author:
Herman
Publisher:
CENGAGE L
EBK ELECTRICAL WIRING RESIDENTIAL
EBK ELECTRICAL WIRING RESIDENTIAL
Electrical Engineering
ISBN:
9781337516549
Author:
Simmons
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Electricity for Refrigeration, Heating, and Air C…
Electricity for Refrigeration, Heating, and Air C…
Mechanical Engineering
ISBN:
9781337399128
Author:
Russell E. Smith
Publisher:
Cengage Learning