Soil Moisture Monitoring

Hardware Needed:

  1. Breadboard
  2. Elegoo Uno R3 Microcontroller
  3. Micro SD card adapter
  4. Power cable
  5. Two LEDs
  6. MicroSD card
  7. Push button
  8. 1-6 Soil Moisture Sensors

Step 1: Hardware Setup

Set up the Arduino setup as seen in the picture above. The shown setup had a single sensor connected, but the Arduino used and code provided have the capability to accommodate 6 sensors. For each addition sensor connect it to the board the same as the first, taking note on which analog port it is connected to.

Step 2: Code

This code from adapted from code originally written by Bill Atkens. The code is written to be able to collect and store data for up to 6 different sensors. For our experiment only three sensors were used, therefore three sensors are commented out. Changing the names of the sensors may also be helpful depending on the experiment being run.

Step 3: Testing

For testing insert the sensors into the soil that is being monitored. For this experiment three sensors were used to monitor the top, middle and bottom moisture of a soil sample. Push the button to start collecting data, and push the button again to stop collecting data. The code will collect data every 15 minutes.

Share

    Recommendations

    • PCB Contest

      PCB Contest
    • Toys Contest

      Toys Contest
    • Big and Small Contest

      Big and Small Contest

    Discussions

    0
    None

    Hello there!

    We're glad you want to share something with the Instructables community!

    And we’re here to help you out.

    Due to some recent changes on the site, we are no longer able to publish stand-alone videos and other forms of incomplete posts. In order to be published live on the site, Instructables must consist of the following things:

    - Multiple steps showing how you made your project

    - Written instructions in each step

    - Your own original images

    Beyond making your Instructable simply publishable, this guide (https://www.instructables.com/id/How-to-Create-a-Feature-Worthy-Instructable/) explains what is required to have your Instructables featured by our site editors. It’s very helpful, and definitely worth checking out.

    We would love to review your project again after you have made the necessary edits, and we will publish your project if it is eligible.

    If you have any questions, please feel free to ask right here or send us an email at service@instructables.com.

    Best,

    Instructables Community Manager