Jump to content

Search the Community

Showing results for tags 'ardunio'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • NulledSec
    • General
    • Suggestions
    • Suggestions
    • Support
    • Annoucements
    • Question And Answer
  • Leaks
    • Accounts
    • Dumps Or Databases
    • E-Books Guides And Tutorials
    • Other Leaks
    • Requests
    • Cracked Programs
    • Doxebin
  • Cracking
    • Cracking Tools
    • Cracking Tutorials And Information
    • Cracking Support
    • Configs
  • Kik
    • Mods
    • Exploits
    • Investigations
    • Bot Making
    • Cracked Accounts
  • Money
    • E-Whoring
    • Cryptography
    • Monetizing

Blogs

There are no results to display.

Product Groups

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 1 result

  1. 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); } }
×
×
  • Create New...