Smart Garden

Requirement:​

The client envisioned a Smart Garden solution aimed at promoting self-sustaining agriculture by enabling users to control irrigation and lighting systems for optimal plant growth. They needed a firmware for ESP32 and a test mobile application built using Expo, which would allow users to connect to the device via BLE, input configuration data through forms, and receive over-the-air (OTA) update notifications within the app. The system was to automate the use of natural resources efficiently while providing users with a seamless interface to monitor and control the garden ecosystem.

Solution​

We developed the ESP32 firmware using the ESP-IDF framework to manage and automate grow LEDs and water pumps based on user-defined schedules. The ESP32 is connected to multiple peripherals, including an SHT40 sensor for humidity and temperature monitoring, an LDR for ambient light sensing, an NTC for soil temperature, water level sensors, and a notification LED. BLE was implemented for communication between the mobile app and the ESP32, allowing the user to transmit configuration inputs such as watering times or lighting durations. A .NET backend integrated with AWS IoT Core and AWS Lambda enabled MQTT-based cloud communication, supporting remote monitoring and control. The Expo-based mobile app allowed users to configure schedules, send commands to the device, and receive OTA firmware update alerts, ensuring a reliable and interactive smart gardening experience.