I hope to upload a video tutorial shortly to show how to set up the Arduino and the sensors to a breadboard.
I have attached the code here:
#include
int sensorPin = A0;
int sensorValue = 0;
int outPinRed = 9;
int outPinGreen = 10;
int outPinBlue = 11;
SoftwareSerial BT(1, 0); //TX, RX respectively
void setup() {
Serial.begin(9600);
pinMode(outPinRed, OUTPUT);
pinMode(outPinGreen, OUTPUT);
pinMode(outPinBlue, OUTPUT);
}
void loop() {
// while (Serial.available()) {
int sensorValue = analogRead(sensorPin);
Serial.println(sensorValue);
digitalWrite(outPinRed, LOW);
digitalWrite(outPinGreen, LOW);
digitalWrite(outPinBlue, HIGH);
digitalWrite(outPinRed, LOW);
digitalWrite(outPinGreen, HIGH);
digitalWrite(outPinBlue, LOW);
} else {
digitalWrite(outPinRed, HIGH);
digitalWrite(outPinGreen, LOW);
digitalWrite(outPinBlue, LOW);
}
delay(3000);
}
//}
We do not host Plant H2O Tester for Arduino on our servers. We did not scan it for viruses, adware, spyware or other type of malware. This app is hosted by Galad and passed their terms and conditions to be listed there. We recommend caution when installing it.
The APK Download link for Plant H2O Tester for Arduino is provided to you by apps112.com without any warranties, representations or guarantees of any kind, so access it at your own risk.
If you have questions regarding this particular app contact the publisher directly. For questions about the functionalities of apps112.com contact us.
| ||||
Downloads: 15 | ||||
Updated At: 2024-04-19 20:35:57 | ||||
Publisher: EpicMansDad007 | ||||
Operating System: Android | ||||
License Type: Free |