๐ŸŒฑ

Fyto

Transform your houseplant into an interactive pet with emotions that respond to environmental conditions

๐Ÿ“ฆ View on GitHub ๐Ÿ”Œ See Wiring Diagrams ๐Ÿ“– Full Tutorial

See Fyto in Action

Watch how Fyto brings your plant to life

Six Expressive Emotions

Fyto displays different emotions based on real-time sensor data
๐Ÿ’ก Hover over each emotion to see the animated display!

Happy emotion animation
Happy
Optimal conditions - perfect environment!
Sleepy emotion animation
Sleepy
Low light detected (< 20%)
Hot emotion animation
Hot
Temperature above 30ยฐC
Freeze emotion animation
Freeze
Temperature below 22ยฐC
Savory emotion animation
Savory
Recently watered - moisture rising
Thirsty emotion animation
Thirsty
Soil moisture < 10% - needs water!

Wiring Diagrams

Complete visual guides for assembling your Fyto

Fyto Wiring Diagram
Fyto Circuit Schematic
Fyto Pinout Reference
โš ๏ธ Important Setup Notes
  • Use LM35, NOT DS18B20: The code requires an analog temperature sensor. DS18B20 is digital and won't work without modifications.
  • Logic Level Converter Recommended: Use a 5V to 3.3V bi-directional converter to protect your Pi's GPIO pins.
  • Enable I2C: Run sudo raspi-config โ†’ Interface Options โ†’ I2C โ†’ Enable. Also disable Serial.
  • Channel Assignment: The original tutorial has different ADC channel assignments. Our wiring matches the actual code: A1=Temperature, A2=Moisture, A3=Light.
  • Calibrate Sensors: Use calibration.py to test each sensor individually before final assembly.

Hardware Requirements

Everything you need to build Fyto

Core Components

  • Raspberry Pi Zero 2W - Main controller (1GHz quad-core)
  • 2" IPS LCD Display (240ร—320) - For emotion animations
  • ADS1115 16-bit ADC - Analog-to-digital converter
  • LM35 Temperature Sensor - Analog temp sensor (TO-92 package)
  • Capacitive Soil Moisture Sensor - Corrosion-resistant
  • LDR Light Sensor Module - Ambient light detection
  • 5V 2A Power Adapter - Power supply
  • Micro USB Power Module - Breadboard power distribution
  • 30AWG Silicone Wires (5m) - Flexible wiring
  • Logic Level Converter (5V โ†” 3.3V) - GPIO protection (highly recommended)

Key Features

๐ŸŽจ

Animated Emotions

180 frames per emotion create smooth, engaging animations on the vibrant IPS LCD display

๐Ÿ“Š

Real-Time Monitoring

Continuous sensor readings for temperature, moisture, and light levels

๐Ÿ”Œ

I2C & SPI

Uses both I2C (sensors) and SPI (display) for efficient communication

๐Ÿ

Python Powered

Easy-to-modify Python code using Adafruit libraries

๐ŸŒก๏ธ

Multi-Sensor

Temperature, moisture, and light sensors work together to assess plant health

๐Ÿ–จ๏ธ

3D Printable Case

Custom-designed planter case with STL files included

Quick Start

# Clone the repository
git clone https://github.com/CodersCafeTech/Fyto.git
cd Fyto

# Install dependencies
sudo apt-get update
sudo apt-get install python3-pip python3-pil python3-numpy
pip3 install adafruit-circuitpython-ads1x15 spidev

# Enable I2C
sudo raspi-config
# Navigate to: Interface Options โ†’ I2C โ†’ Enable

# Calibrate sensors
cd Code
python3 calibration.py

# Run Fyto (two terminals)
# Terminal 1:
python3 main.py

# Terminal 2:
python3 sensors.py

Resources & Links