Arduino Water Level Sensor 2.0 APK
APK Version History
- Version
- 2.0 (Updated)
- Architecture
- All
- Release Date
- January 04, 2018
- Requirement
- Android 4.0 and up
About Radio FM 90s
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);
}
}