This code is used with a capacitive moisture sensor, arduino uno and a small OLED screen. Remember to recalibrate your moisture sensor and to download the necessary libraries. This can be done in the arduino software or manually. Links can be found Here for the adafruit_SSD1306.h and Here for the adafruit_GFX.h
When the sensor detects a certain amount of water the screen will show a smiley face, however if the sensor does not detect enough water it will show a frowny face.
This can be used to let the user know if a plant is watered or not.