Troubleshoot Soil Moisture Sensor Power

This guide will test whether the soil moisture sensor power is wired up correctly.

Connect the USB cable to the arduino and the host computer:

TODO: Add ESP WiFi board photo

TODO: Add support for ESP WiFi board in blink sketch

Upload the blink sketch:

  • sh upload-blink-sketch.sh [DigitalPin] [Port]
  • sh upload-blink-sketch.sh 12 ttyUSB0

The output should look something like this:

Verify that the LED on the soil moisture sensor adapter is flashing on for a second:

...then off off for a second:

If the LED is flashing at 1 second intervals then it means the soil moisture sensor is being powered properly.