This guide will test whether the pump output is wired up properly.
Arduino Version
Syntax:
sh upload-blink-sketch.sh [DigitalPin] [Port]
Example:
sh upload-blink-sketch.sh 11 ttyUSB0
The output should look something like this:
ESP12 WiFi Version
Syntax:
sh upload-blink-sketch.sh [DigitalPin] [Port]
Example:
sh upload-blink-esp-sketch.sh 13 ttyUSB0
Note: The physical pin 11 on the Wemos D1 board is called pin 13 in the code. This is not a typo.
The output should look something like this:
Watch the LED on the MOSFET module to make sure the pump pin is blinking on and off.
The LED on the MOSFET module should now be flashing on:
... and off:
If the LED is flashing at 1 second intervals then it appears the MOSFET module is wired up correctly.