Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 01/23/2020 in all areas

  1. 1 point
  2. 1 point
    Arduino moisture sensor that I have coded. Note: This will work if you have all Arduino components already and if you have access to them otherwise this will not work (May edit this in the future - current Version: 1.0.0) Code Version int sensorPin = A0; int sensorValue; int limit = 300; void setup() { Serial.begin(9600); pinMode(13, OUTPUT); } void loop() { sensorValue = analogRead(sensorPin); Serial.println("Analog Value : "); Serial.println(sensorValue); if (sensorValue<limit) { digitalWrite(13, HIGH); sensorValue = analogRead(sensorPin); Serial.println("Analog Value : "); Serial.println(sensorValue); Serial.println("High Moisture!"); delay(1500); } else { digitalWrite(13, LOW); sensorValue = analogRead(sensorPin); Serial.println("Analog Value : "); Serial.println(sensorValue); Serial.println("Low Moisture!"); delay(1500); } } Enjoy :) ☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲☲ Written Version int sensorPin = A0; int sensorValue; int limit = 300; void setup() { Serial.begin(9600); pinMode(13, OUTPUT); } void loop() { sensorValue = analogRead(sensorPin); Serial.println("Analog Value : "); Serial.println(sensorValue); if (sensorValue<limit) { digitalWrite(13, HIGH); sensorValue = analogRead(sensorPin); Serial.println("Analog Value : "); Serial.println(sensorValue); Serial.println("High Moisture!"); delay(1500); } else { digitalWrite(13, LOW); sensorValue = analogRead(sensorPin); Serial.println("Analog Value : "); Serial.println(sensorValue); Serial.println("Low Moisture!"); delay(1500); } }
  3. 1 point
    Enjoy : www.mediafire.com/file/mj7pnsp3qke65zs/Amazon_Gift_Card_Generator_2020.pdf/file
  4. 1 point
    That number must of went up for real. Our generation is fucking retarded
×
×
  • Create New...