About Arduino Water Level Sensor
this app can monitor the high level of water tank using arduino,Bluetooth module and real floating level sensor
hardware:
connect pin 2 of arduino to 1 terminal of sensor
connect gnd of arduino to 1 terminal of sensor
connect 5 volt of arduino to vcc of hc-06
connect gnd of arduino to gnd of hc-06
connect tx of arduino to rx of hc-06
connect rx of arduino to tx of hc-06
arduino code:
void setup() {
//start serial connection
Serial.begin(9600);
//configure pin 2 as an input and enable the internal pull-up resistor
pinMode(2, INPUT_PULLUP);
}
void loop() {
//read the pushbutton value into a variable
int sensorVal = digitalRead(2);
//print out the value of the pushbutton
if((sensorVal)!=0)
{
Serial.println(sensorVal);
delay(1000);
}
}
Download and install
Arduino Water Level Sensor version 2.0 on your
Android device!
Downloaded 10+ times, content rating: Everyone
Android package:
com.thunkable.android.ahmadalkilani2017.Arduino_Water_Sensor, download Arduino Water Level Sensor.apk