Close
0%
0%

FLORA | Long Range Garden Monitoring System

Local weather station + soil moisture sensing to give you access to the most important metrics to keep your garden/greenhouse healthy.

yjYJ
Similar projects worth following
This year (2022), Europe experienced its worst drought in over 4 decades. The project aims to make gardens, allotments, and small farms more water-efficient in order to help communities be better prepared and resilient to more extreme climates. It is a proof of concept exercise to make it easier for communities and households to take back control of where their produce comes from and make the process as rewarding and efficient as possible.

The elektroThing FLORA is an easy-to-use prototyping platform that makes it possible to create designs to improve the efficiency of your garden or greenhouse. It is built around an ESP32 SoC with a powerful processing core and supports WiFi, BLE, and LoRa via an onboard LoRa module. It has an ambient sensor and connectors for a soil moisture sensor.

Motivation

The UK has been experiencing one of its worst droughts in recent history (2022). River levels have dropped to record lows and local ponds have all dried up. This has made water efficiency absolutely crucial in preventing any significant food shortages due to low crop yield. Moreover, the preservation of our water table in rivers and lakes is also important in ensuring that other aspects of modern living remain unperturbed. E.g. In Germany, low river levels have resulted in the energy prices increasing as the coal barges are unable to transport their full load to the coal plants that need them - on top of the gas crisis affecting Europe at the moment. 

What is it

FLORA is a long-range ESP-32-based garden weather station with some unique tricks. First, it has a LoRa module that allows it to be used across a considerable distance (up to around 2 miles/ 3 km). This makes it suited for use in a more extensive garden or an allotment within walking distance. On top of that, it also has a companion soil moisture sensor that can measure the moisture left in the top layer of the soil. This is particularly useful to inform you if it has had some rain locally in the area recently and to prevent unnecessary waste of precious water. The system is powered by a coin cell battery that gets recharged by a solar panel.

The project, Vinduino, by Hackaday-er Reinier van der Lee, leverages simple electronics sensors for better water management to save up to 25% of irrigation water in agricultural water consumption. 

Before diving further, I have to thank JLCPCB for sponsoring this project. They have been a crucial part of the process by enabling me rapid prototype without compromising quality. All of the PCBAs related to this project were prototyped and assembled by them.  I highly recommend them for the high quality, cost, and time-efficient, if you intend to design and build any boards of your own.

Building on my Plant-Bot project, I was inspired to make a version that is a little more suited for the outdoors and looking after multiple plants.

Key Features;

  • Compatible with two energy long-range protocols - LoRa and ESP-NOW
  • Can be powered solely by a single solar panel
  • Soil Moisture sensing
  • Temperature and Humidity sensing
  • Easily programmable - USB
  • WiFi and Bluetooth Enabled

Use case | Cost-efficient water efficiency system

FLORA's main use case is to make your garden, or home farm just that little bit smarter. It has an onboard sensor that can be used to measure temperature and humidity, three ports to connect to a soil moisture sensor, and a LoRa module that can be used to transmit data to any other LoRa modules that are on the same frequency band up to 3 km away.

The ability to use multiple soil moisture sensors for each FLORA unit allows you to ensure that a particular flower bed or patch of soil is irrigated evenly. The moisture sensors themselves are based on a capacitive sensor that measures the change in the dielectric which allows them to be fully insulated and corrosion proof. Learn more about the technology here.  

The goal of this is to ensure more efficient use of resources by generating valuable insights for the user as to what the soil moisture levels are like and if the ambient environment is conducive for the particular crop or plant that is being grown. This should hopefully make gardening and home farms more convenient and resistant to our ever-changing climate.

Specification

  • Microcontroller | ESP32-WROOM-32E
    • WiFi | 802.11b/g/n
    • Bluetooth | BLE 4.2
    • FLASH | 8MB
    • Programming | USB over UART (CP2102)
  • Environment Sensor | SHT20
    • Temperature Accuracy | to within 0.3 °C
    • Humidity Accuracy | to within 3%RH
    • Interface | I²C
  • Soil Moisture Sensor | Made by elektroThing
    • Uses Capacitive Sensing
  • LoRa Transceiver | RA-01H
    • Frequency | 803/930 MHz
    • Interface | SPI
    • Antenna | External Antenna or PCB Antenna (reduced range)
  • Power | 700mA 3.3V LDO or...
Read more »

  • 1 × JLCPCB Custom PCB
  • 1 × ESP32-WROOM-32E
  • 1 × RA-01SC
  • 1 × AMS1117-3.3V
  • 1 × SHT-20

View all 8 components

  • Announcement and project update!

    YJ11/14/2022 at 12:22 0 comments

    ANNOUNCEMENT 

    Thank you all for the support I have received over the past year. 

    I really appreciate the comments and feedback through this forum and I fully intend to update my content here frequently with useful content as soon as they become available. However due to the format of this platform, it is quite difficult to present small yet important updates, therefore I am creating an Instagram page where I will post my content more regularly and also demonstrate more of the "behind-the-scenes" work that goes into creating my projects. 

    You can access my Instagram page here, elektroThing (@elektrothing) • Instagram photos and videos.  For those of you who do not want to use Instagram, I am also launching my website, elektrothing.com, which will serve as the landing page for all things elektroThing. :) 


    PROJECT UPDATE

    And now for the fun part. 

    I have been testing out FLORA over the summer months and I can confirm that it does work over the ESP-NOW protocol up to a distance of around 30m. Which should be fine for your house + garden. I have been able to set up the LoRa hardware with the ESP32 but have yet to run experiments over a larger distance - we might have to wait a few months for the sun too. 

    Thus with the downtime, my plan over the next few months is to complete the following; 

    1. Improve the SMPS design to boost the efficiencies further.
    2. Design a 3D printable housing that has better airflow. 
    3. Add connectors to the extra soil moisture sensor so that it can be "plug-and-plug".
    4. Develop the firmware so that setup can be done "out of the box" or at least, easier - between sender and receiver modules. At the moment, it involved getting MAC Addresses as it is over ESP-NOW. 
    5. Write the same firmware for LoRaWAN.

    Do reach out if there is something on this list that you would like to help with. I am more than happy to send over a board and in return get some work off my shoulders.

  • A note on ThingSpeak

    YJ09/04/2022 at 14:39 0 comments

    Hi,

    Just wanted to share some of the ThingSpeak IOT platform's capabilities and how it has been used for this project. 

    ThingSpeak is powered by MATLAB which allows for easy data analysis and data viz. The visualizations can be updated in real-time as the data arrives which allows you to seek trends and create smart alerts. For FLORA I have done a basic moving averaged time series plot, 2 hours, 1 day, and 1-week window, & a boxplot to help view the distribution during the day. 

    You can see the live plots through these two links; 

    1. https://thingspeak.com/apps/matlab_visualizations/475925?height=auto&width=auto
    2. https://thingspeak.com/apps/matlab_visualizations/476046?height=auto&width=auto

    Hope this shows how FLORA can leverage existing IOT platforms to help inform better decisions and actions.

  • Initial Prototype

    YJ08/18/2022 at 14:52 0 comments

    Project Update

    Over the past few months, I have been writing up the firmware for FLORA as well as identifying and trying to resolve the issues with the board. I am happy with what it is capable of doing for now however, there are still some niggling issues that need to be overcome for it to be able to perform as described. 

    The setup how the FLORA units are shown below. Using two usings, one as a receiver and the other as the "boots on the ground". The unit placed outside is powered solely by solar power and can read from its sensors and relay them back to the receiver. The intention is to leverage LoRaWAN to increase operational range and broaden its use cases. However, for simplicity, the current setup uses ESP's very own ESP-NOW communication protocol that performs well up to 50m. Over ESP-NOW, the receiver can read the temperature, humidity, and soil moisture levels from the unit in the garden.

    The data is then presented over a simple GUI that can be accessed over the WiFi network by typing in the IP address of the unit - e.g. 192.168.1.111::8080. Each data point is also sent to the cloud using Thingspeak's services to further analyze and visualize the data. This could then be used to trigger some sort of action to the user such as sending an email/SMS to rectify an issue in the garden. 

    FLORA Dashboard
    ThingSpeak Data

    Future plans

    • Enable hardware capability to open/close valves to automatically irrigate.
    • Create an app with configurable moisture and environmental thresholds to alert the user. 
    • Update mechanical design for more accurate weather monitoring that can be fed back to OpenWeather.


View all 3 project logs

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