{{ currentFace }}

GUARDIAN v10.0

Environmental Monitor & Plant Whisperer

ESP32-C3 POWERED MULTI-SENSOR SERVO EXPRESSIVE

🌱 SOIL MONITORING

Real-time moisture detection

🌡️ CLIMATE TRACKING

Temperature & humidity sensing

🎭 EMOTIONAL FEEDBACK

Servo-driven expressions

HACKATHON SPECIFICATIONS

Bill of Materials

Glyph C3 Controller: ₹434
DHT22 Temp/Humidity: ₹199
Soil Humidity Sensor: ₹70
Servo Motor: ₹150
OLED Display: ₹220
Components & Wires: ₹200
TOTAL: ₹1,273

🌱 APPLICATIONS

Home Gardening

Monitor houseplants and get expressive feedback

Educational Tool

Teach environmental science with engaging visuals

IoT Prototype

Foundation for connected agriculture systems

Accessibility

Visual/physical feedback for plant care

TECHNICAL IMPLEMENTATION

🔧 HARDWARE COMPONENTS

Glyph C3 (ESP32-C3)

Main controller with WiFi/Bluetooth capability

CONTROLLER ₹434

DHT22 Sensor

High-accuracy temperature and humidity monitoring

SENSOR ₹199

Soil Humidity Sensor

Capacitive moisture detection for accurate readings

SENSOR ₹70

Servo Motor + OLED

Expressive actuator and information display

OUTPUT ₹370

📐 PIN CONFIGURATION

Glyph C3 Pinout

Glyph C3 (ESP32-C3) Pinout Reference

# PIN ASSIGNMENTS
GPIO2 → Servo Motor (PWM)
GPIO8 → DHT22 Data Pin
A2 → Soil Sensor Analog
A1/A0 → I2C (SDA/SCL) for OLED
3V3 → Sensor Power
GND → Common Ground

⚠️ WIRING NOTES

  • • Servo requires external 5V power for reliable operation
  • • DHT22 needs 4.7kΩ pull-up resistor on data line
  • • Soil sensor calibration required for accurate readings
  • • OLED uses 3.3V I2C communication

CODE ARCHITECTURE

🏗️ SOFTWARE STRUCTURE

// MAIN SYSTEM LOOP
void loop() {
readEnvironmentalData();
evaluateEmotionalState();
updateServoExpression();
refreshDisplay();
}

📊 Data Collection

Bonezegei_DHT22 library for temperature/humidity, analog reading for soil moisture

🧠 State Machine

13 emotional states based on environmental thresholds with scoring system

🎭 Expression Engine

Servo sweeps triggered on state changes with emotion-specific ranges

🎯 EMOTIONAL STATES

// EMOTION MAPPING EXAMPLE
{"X_X", "DROUGHT CRISIS", 0, 40, 20},
{"T_T", "Very Thirsty", 20, 60, 25},
{"^_^", "Happy Plant", 70, 130, 12},
{"^o^", "Thriving!", 90, 150, 10},
{"<3", "Perfect Day", 110, 170, 12},
{"@_@", "Drowning!", 30, 90, 6}
X_X
Drought Crisis
Soil < 10% | Tiny panicked movements
^_^
Happy Plant
Soil 60-75% | Content sweeping motions
<3
Perfect Day
Optimal conditions | Full range sweep
// Guardian v10.0 - Environmental Monitor
// Absurd Industries - PCBCupid Hackathon 2024

#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <ESP32Servo.h>
#include <Bonezegei_DHT22.h>

// Hardware configuration
Servo earServo;
int servoPin = 2;
int soilSensorPin = A2;
Bonezegei_DHT22 dht22(8);

PROJECT DEMONSTRATION

🎬 WORKING PROTOTYPE

{{ demoFace }}
{{ demoState }}
Temperature: {{ demoTemp }}°C
Humidity: {{ demoHumidity }}%
Soil Moisture: {{ demoSoil }}%
Servo Position: {{ demoServo }}°

FUNCTIONALITY

  • ✓ Multi-sensor data fusion working flawlessly
  • ❌ Servo expressions respond to environmental changes
  • ✓ OLED displays real-time status and conditions
  • ✓ Emotional state transitions smooth and logical