MONK MAKES 00096 Plant Monitor Owner’s Manual
- May 15, 2024
- MONK MAKES
Table of Contents
Instructions:
PLANT MONITOR – PICO AND PICO W Instructions version 1c.
WARNING
Only the prong of the Plant Monitor below the white line should be allowed to get wet. If the top of the board gets wet, disconnect it from everything, dry it using a paper towel and then leave it the throughly dry out before trying to use it again.
INTRODUCTION
The MonkMakes Plant Monitor measures soil moisture, temperature and relative humidity. This board is compatible with the BBC micro:bit, Raspberry Pi and most microcontroller boards.
- Superior capacitative sensor (no electrical contact with soil)
- Alligator / crocodile clip rings (for use with BBC micro:bit and Adafruit Clue etc.
- Ready soldered header pins for Arduino and other microcontroller boards.
- Easy to use UART serial interface
- Additional analog output for moisture only
- Built-in RGB LED (switchable)
USING THE PLANT MONITOR
The plant monitor should be placed as shown below.The front side of the prong should be as
close to the edge of the pot as possible. The sensing all takes place from the
far side of the prong.
The electronics should be facing out of the pot and the prong of the Plant
Monitor pushed into the dirt as far as the white line (but no deeper).
It’s a good idea to attach the wires you are going to use to connect to the
Plant Monitor before positioning it in the plant pot.
Once powered up, the plant monitor will immediately start displaying the level
of wetness using the builtin LED. Red means dry, green means wet. Before you
put the Plant Monitor in the pot, try gripping the prong in your hand and the
moisture of your body should be enough to alter the LED’s color.
Connect the Plant Monitor to your Raspberry Pi Pico using solderless
breadboard and female to male jumper wires as shown below, or if you prefer
female to female jumper wires, directly from board to board.. The connections are as follows:
- GND to GND
- 3V on the Pico to 3V on the Plant Monitor
- TX on the Pico to RX_IN on the Plant Monitor
- RX on the Pico to TX_OUT on the Plant Monitor
Using the MonkMakes Breadboard for Pico (https://www.monkmakes.com/pico_bb)
will make it very much easier to identify which pin of the Pico is which.
To get you started, you will find a MicroPython library and test program in
the examples for this board on its github page here:
https://github.com/monkmakes/pmon
If you are unfamiliar with git, the easiest way to download it is to go to the
github page above and then use the download ZIP feature (see below).This
download contains the example files for the Plant Monitor for lots of
platforms, not just the Pico. So having downloaded the ZIP archive and
extracted it, you will find it contains a folder called raspberry_pi_pico.
Inside this folder you will find four files, that you should open using Thonny
(https://thonny.org/).
- pmon.py – a MicroPython library for the Plant Monitor
- microdot.py – the microdot light-weight web server
- mm_wlan.py – A Wireless LAN library
- test.py – a test program using the pmon library
The middle two of these files are only needed if you want to run the Pico W
web server example.
Before you can run test.py copy the files pmon.py, microdot.py and mm_wlan.py
onto your Pico, by using the SaveAs menu option in Thonny and then selecting
Raspberry Pi Pico for the destination. When you run test.py you should see the
wetness, temperature and humidity being printed out.
Use the program test.py as a template for your own programs for the
Pico.If you have
a Pico W, then you can take advantage of its wireless capabilities and try out
the example pico_w_server.py. Before running pico_w_server.py, find the
following lines, and put your network name and password into the code.
ssid = ‘network name’
password = ‘password’
When you run the program, you should see something like:
Connecting to Network…
Connected IP Address = 192.168.1.132
Setting up webserver…
Now open a browser window on a computer on the same network as the Pico W and
navigate to the IP address shown when the program first ran (in this case,
192.168.1.132).
The readings will refresh every second.
WATERPROOFING
Your Plant Monitor is a Printed Circuit Board (PCB). These are made from
layers of material, including copper layers used as a capacitative sensor. If
you are leaving your Plant Monitor in wet soil, for long periods of time, the
water may eventually seep between the layers of the PCB and stop it working
properly.
Because the sensing does not rely on an electrical connection with the soil,
you can take steps to waterproof your sensor. One way to do this is to cover
it in outdoor wood varnish.
You can paint the varnish on, but its difficult to make sure that the edges
(where the water is likely to get in) are well covered. So, we suggest dipping
the prong of the plant Monitor in the varnish and then hanging it up to drip-
dry. You can repeat this a few times, to give the Plant Monitor’s prong a
really good covering of varnish.
Generally lots of thin layers are better than a few thick layers.
Be sure to follow the varnish’s instructions for safely and drying times.
After dipping the Plant Monitor’s prong, you can hang it up by the middle
connector ring, using a piece of string or wire. Put something underneath to
catch the drips.
This could be the varnish can to start with but you’ll want to put the lid
back on after the main dripping is over, to stop the varnish in the can drying
out.
TROUBLESHOOTING
Problem: When I first connect power to the PlantMonitor, the LED cycles
through colors. Is this normal?
Solution: Yes, this is the Plant Monitor doing a self-test as it starts
up.
Problem: The LED on the Plant Monitor does not light at all.
Solution: Check the power connections to the Plant Monitor. Alligator
leads and jumper wires can become faulty. Try changing the leads.
Problem: I am connecting using the serial interface, and I get wetness
readings, but the humidity and temperature readings are wrong and not
changing.
Solution: You may have inadvertently powered your Plant Monitor from 5V
rather than 3V. This may have destroyed the temperature and humidity sensor.
SUPPORT
You can find the Product’s information page here: https://monkmakes.com/pmon
including a datasheet for the product.
If you need further support, please email
support@monkmakes.com.
MONKMAKES
As well as this kit, MonkMakes makes all sorts of kits and gadgets to help with your electronics projects. Find out more, as well as where to buy here: https://monkmakes.com you can also follow MonkMakes on Twitter @monkmakes.
References
- GitHub - monkmakes/pmon: Example code for the MonkMakes Plant Monitor for various platforms
- Home | MonkMakes
- Home | MonkMakes
- MonkMakes | MonkMakes Ltd. is a manufacturer of electronic kits and parts for education and makers.
- Thonny, Python IDE for beginners
- MonkMakes | MonkMakes Ltd. is a manufacturer of electronic kits and parts for education and makers.
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>