Project Overview
This project uses an ESP32-CAM module connected to AWS IoT Core via MQTT to capture images, upload them to AWS services, process them using Lambda functions, and control physical LEDs based on image analysis.then use Ai to analyes images , web to interfacing the project . Vision: Revolutionizing greenhouse management through IoT and AI Goal: Automated, efficient, and intelligent plant cultivation Impact: Reducing resource usage while maximizing yield
System IOT Architecture ( The part i developed and was responsible for) :
Devices & Services involved:
ESP32-CAM: Captures images and sends them via MQTT.
AWS IoT Core: Acts as the MQTT broker and message router.
IoT Rules:
Image Upload Rule: Triggers a Lambda when image is published to esp32-image topic, saves image to S3.
LED Control Rule: Sends analyzed LED color result from Lambda to led-color-topic for the ESP32 to subscribe to and act upon.
Emergency Detection Rule: If image analysis detects abnormal brightness, publishes a message to ESP32/Emergency topic, and triggers both an SNS notification and saves event to DynamoDB.
AWS Lambda: Processes images and determines LED color.
Amazon S3: Stores received images.
Amazon SNS: Sends alerts for emergency cases.
Amazon DynamoDB: Logs emergency events.
?️ ESP32 Workflow
Connect to WiFi.
Sync time (for SSL/TLS certs).
Connect to AWS IoT Core with secure credentials.
Every 3 minutes:
Capture image via onboard camera.
Encode image in Base64.
Send to esp32-image MQTT topic.
Wait for response on led-color-topic to light up the specified LED color until next image capture. ** Screenshot form my IDE ** 