Wednesday, July 1, 2020

Water Level Sensor Interfacing with Arduino Uno By Engr.Habib Ur Rehman


 
Water Level Sensor Interfacing
 with Arduino Uno
By Engr.Habib Ur Rehman

Components/Equipment Required:
            Following Components/Equipment are required to perform task.
2.    Water Level Sensor (https://piees.pk/product/water-lavel-sensor/)
3.    Breadboard
Circuit Diagram:

Arduino Program:
void setup()
{
  Serial.begin(9600);
}
void loop()
{
  int val = analogRead(A0); // read input value
  Serial.print("Pin Value   ");
  Serial.println(val);
  delay(2000);
}
Note:
            To See the Output Serial Communication Emulator is use.


No comments:

Post a Comment