Close
0%
0%

GreenGuard: The Smart Plant Environment Monitor

A smart plant care system using ESP8266 & Pi for optimal growth monitoring.

Similar projects worth following
This project employs a Wi-Fi-capable ESP8266 microcontroller paired with a DHT22/11 sensor to monitor ambient temperature and humidity, a practical choice for home environmental tracking or plant care. Efficiently powered via micro USB, it features a 10kΩ pull-up for dependable sensor performance. The ESP8266's Wi-Fi feature wirelessly relays data for real-time monitoring, making it a perfect tool for smart home enthusiasts and gardeners to keep their surroundings at ideal conditions.

🌿 What's This About?
Imagine if keeping your plants healthy was as easy as checking your phone. That's what my project does! It's a smart system that tells you if your plants are too dry, too cold, or just right.

How It Works:

  • Raspberry Pi 3B: The brain of our operation, this diligent server gathers, analyzes, and stores environmental data, offering you a real-time peek into the wellbeing of your leafy companions.
  • ESP8266 Microcontroller: Armed with ESPHome, these little wizards get their initial programming via USB but soon take to the airwaves, communicating wirelessly to report back on the climate surrounding your chlorophyll charges.
  • DHT11 Sensors: The eyes and ears of our setup, these temperature and humidity watchdogs keep tabs on the air your plants breathe, ensuring they're always in the prime of health.

Cool Features:

  • No Wires Needed: After setting it up, the system uses Wi-Fi to keep things neat and tidy.
  • Easy Updates: I can improve the system without touching it, using over-the-air updates – it's like magic!

Why It's Great:

This isn't just about cool tech. It's about making it super easy for anyone to make their plants happy. Busy people, plant lovers, or anyone who just wants to start gardening – this project is for you!

  • 1 × Raspberry Pi Any raspberry pi will work
  • 1 × ESP8266/32
  • 1 × Some jumper cables
  • 1 × Breadboard
  • 1 × DHT11 Sensor or DHT22 Temp and humidity sensor

  • DHT11 Wiring

    PKvirus03/10/2024 at 22:16 0 comments

    In this image, we have outlined the setup for our temperature and humidity monitoring using the DHT11 sensor. The DHT11 is interfaced with the ESP8266 microcontroller, with the sensor’s data pin connected to the ESP8266's D1 pin. This allows the microcontroller to read the environmental data captured by the sensor. Power is supplied to the DHT11 through the VCC pin, and the ground is connected to the GND pin as indicated on the sensor's pinout. It's essential to consult the sensor's documentation to accurately identify the pin configuration and ensure correct connections for reliable readings.

  • DHT22 Wireing

    PKvirus03/10/2024 at 18:07 0 comments


    DHT22 Sensor:
    • The ESP8266 in the diagram is mounted on a breadboard for easy connection and may be programmed to send the data it gathers from the DHT22 to the Raspberry Pi or directly to the cloud for monitoring.
    • It is powered through a micro USB connection, which can be connected to a computer, USB charger, or battery pack.
    • This is the main component that controls the sensor and will process its data.
    • The data signal pin of the DHT22 is connected to a GPIO  (general purpose input/output) pin on the ESP8266 (D1/GPIO5) via an orange wire. This connection is used to transmit the temperature and humidity readings from the sensor to the microcontroller.

    ESP8266 Microcontroller:

    • The GND (ground) pin on the sensor is connected to one of the GND (ground) pins on the ESP8266 to complete the circuit.
    • The sensor's VCC (power) pin is connected to the 3V3 (3.3 volts) output on the ESP8266, providing it with the necessary power.
    • The DHT22 sensor has four pins, but only three are used in this setup.

    Resistor:

    • There is a pull-up resistor connected between the data line and the VCC line of the DHT22 sensor. This resistor is typically around 10kΩ and is necessary for the DHT22 to function correctly, as it ensures the data line is at a defined voltage level when it's not being pulled down to ground by the sensor during communication.

  • Hardware

    PKvirus03/09/2024 at 02:08 0 comments

    HardwarePlease ignore dust

    Esp8266

  • All connected

    PKvirus03/09/2024 at 02:07 0 comments

    Raspberry pi 3 b plant monitor


    My setup for the plants :)

View all 4 project logs

  • 1
    First download and install Raspberry Pi Imager from Raspberry offcial site
    1. Go to the official Raspberry Pi Software page: https://www.raspberrypi.com/software/
    2. Download the Raspberry Pi Imager for your operating system (Windows, macOS, or Ubuntu).
    3. Open the downloaded file and follow the on-screen instructions to install the Raspberry Pi Imager.
  • 2
    Grab your sd card and flash em!

    Prepare Your SD Card

    1. Insert your SD card into the card reader of your computer. Make sure to
      back up any existing data on your SD card, as this process will erase all data.
    2. Open the Raspberry Pi Imager application on your computer.
    3. Choose the correct device for your setup
    4. Click on "CHOOSE OS."
    5. Scroll down and select "Raspberry Pi OS (other)."
    6. From the submenu, choose "Raspberry Pi OS Lite (32-bit)."
    7. Click on "CHOOSE SD CARD."
    8. Select the SD card you've inserted. Be very careful to select the correct drive, as selecting the wrong one will erase its contents.

    Enable remote access via SSH

    1. Navigate to Advanced Options in Raspberry Pi Imager.
    2. Click the checkbox next to Enable SSH.
    3. Set up a username and password.*
    4. Select Configure wireless LAN, and fill in the details.
    5. Click Save, and write
      Here is a nice video on how to do this step by step -

  • 3
    Powering up!
    1. After the writing process is complete, safely eject the SD card from your computer
    2. Insert the flashed SD card into your Raspberry Pi.
    3. Connect your Raspberry Pi to a power source. If this is the first boot,
      it will take a bit longer as the system expands the file system and does initial setup tasks

    Find Your Raspberry Pi's IP Address : 

    You can find your Raspberry Pi's IP address from your router's DHCP client list. The exact steps vary depending on the router, but you typically log in to your router's web interface and look for a section labeled something like "DHCP Clients," "Attached Devices," or "LAN Clients."
    NOTE: You can also use a LAN scanner app from the phone to look for the Raspberry Pi on your network!


View all 6 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates