Automated Litter System
Electrical Architecture & Embedded Intelligence
Course Instructor: Dr. Remon Pop-Iliev
Project Supervisor: Dr. Murat Aydin
Group Number: 21-2-5
Problem Statement
Cat owners face ongoing issues with litter box maintenance, including frequent cleaning, odor buildup, and inconsistent hygiene, which impact both convenience and home cleanliness.
Existing Solutions
Automated products such as Litter‑Robot and CatGenie reduce manual scooping but are often:
Identified Gap
Current systems do not fully address key user needs, particularly in:
Mechanical Design & Engineering Innovation
Designing for Serviceability, and Reliability
Design Overview
that looks good and performs flawlessly.
Mechanical Overview
CAT-FRIENDLY DESIGN & ERGONOMICS
Provides ample headroom for cats to stand, turn around, and assume their natural postures
Allows for comfortable movement and digging.
A wide 30 cm entrance offers easy,unobstructed access for the cat.
Prototyping Challenges
Putting our design to the test
Scale & Geometry
Gear Selection
Due to the reduced 50% scale, the original spur gear design could no longer fit within the available space, requiring a complete reevaluation of the drivetrain.
Attempt | Gear Type | Outcome |
1 | Spur Gear + Face gear | Difficult alignment; drum rotation was erratic, shaky, and clunky |
2 | Bevel Gear | Complex alignment, space still insufficient |
3 | Helical Gear | Reduced noise & axial load for stability |
Gear Selection
Result: The final design utilizes a miter gear pair to transfer rotation 90 degrees, followed by a helical gear stage to drive the drum. This compact, two-stage gearbox fit within the reduced envelope while delivering smooth, quiet, and stable operation.
Manufacturing
Manufacturing for Serviceability, and Reliability
Prototyping
Prototype 3D Printing
Rapid design and development
Cost effectiveness
Reduced Risk
Durability
Production
Ease of processing
Recyclability
ABS Mold Injection
Power, Electrical & Sensor Integration
Design, Wiring, and System Validation.
Electrical System Architecture
ESP-32 ● Sensors ● Signal Processing ● Motor Control
Real-time sensor integration and control system
Sensor Output (Serial Monitor)
Sensor Testing & Validation
Sensor | Function | Results |
Load Cell | Presence detection | ✔ Accurate |
Hall-Effect | Position tracking | ✔ Reliable |
ACS-712 Current | Current monitoring | ✔ Stable readings |
Motor & Camera Validation
Sensor | Function | Results |
Motor | Drum rotation | ✔ Stable operation |
Camera | Object detection | ✔ Accurate detection |
Sensor Output (Serial Monitor)
Category
Outcome
Testing Summary & Validation
Power & Electrical Layout
Designing for stability, high torque, and domain isolation.
24V SRPM DC Worm Gear Motor
Main Power Loop
Powered by an industrial 24V supply to ensure maximum torque for heavy waste separation.
BTS7960 Driver
High-current H-bridge handling 43A peak current.
EACS712 Current Sensor
Monitors motor load for stall detection and safety stop.
24V → 5V
Buck Regulation Step
High-Efficiency Power Conversion
DUAL-STAGE VOLTAGE REGULATION
To support the low-power logic components, a high-efficiency Buck Converter steps down the primary 24V supply to a stable 5V rail.
ESP32 & Raspberry Pi 4 Microcontroller Stable 5V logic supply.
OpenMV Vision System 5v Powering image processing camera
Sensor Array Precise 5v for load cells and Hall sensors.
Fuse Protection
Reverse Polarity
Emergency Stop
PROTECTION & SAFETY LAYER
Dedicated overcurrent protection prevents component failure during mechanical jams.
Design-level protection against incorrect power connection during maintenance.
Design-level safety integration allowing for immediate system power-down.
Sensor Fusion & Intelligence
Implementing state-based logic for predictable and safe operation.
IDLE
WEIGHT PRESENT
EXIT DELAY
CLEANING
HOMING
STATE-BASED CONTROL SYSTEM
Monitoring sensors for presence
Load cell confirms weight entry
Wait for safety timer completion
Drum rotation and separation
Return to precise start position
Load cell confirms weight entry
CAMERA ENTRY AND EXIT DETECTION
DUAL SENSOR CONFORMATION
Signal confirmation on cat present or not
OpenMV Camera
Load Cell Sensor
DUAL-SENSOR VALIDATION LOGIC
Cleaning is only triggered when both sensors confirm absence following an entry event.
Motion detection at the entry point provides the first trigger for the "Cat Present" state.
Weight-based confirmation ensures a cat is actually inside, preventing false triggers from outside movement.
PRECISION CLEANING & HOMING
Forward Cycle Controlled rotation for litter separation phase (cleaning phase).
Reverse Cycle Drum return cycle to level the clean litter.
Hall Effect Homing Final homing using magnetic sensors for sub-millimeter positional feedback.
UART Communication Real-time event-driven link between OpenMV and ESP32 controller.
SAFETY INTELLIGENCE
Safety is the primary design pillar. The "Exit Validation Logic" ensures the drum never rotates while a cat is present.
Delay Timer Only starts after motion stops and weight returns to baseline.
Operation Blocking Cleaning is hard-blocked if load cell detects residual weight.
Prototype Video