Overview
Our hardware development focuses on creating specialized equipment and systems to support the Lychee Guardians project. This includes data collection systems, lychee bagging component, drone system, and storage shelves during transportation and preservation of lychee.
Data Collection Hardware
Custom Imaging System
We developed a specialized imaging system for consistent lychee quality assessment and dataset collection.

Technical Specifications
- Camera System: iPhone RGB camera + NIR (Near-Infrared) camera
- Positioning: Custom-built shelf for bird's-eye view positioning
- Lighting: Controlled lighting environment for consistent image quality using an LGB (LED) light strip to maintain consistent illumination levels
- Distance Control: Fixed mounting system for standardized capture distance, with precise camera positioning as visible in the custom shelf design
Design Features
- Modular Construction: Easy assembly and disassembly for field work - the 4-part modular design (excluding cameras) allows for efficient transport and quick field deployment
- Portable Design: Lightweight materials for transport to different locations
- Stable Platform: Anti-vibration mounting to prevent motion blur
- Adjustable Components: Fine-tuning capabilities for different lychee sizes
Lychee Bagging Component
We designed and manufactured a specialized bagging system to simulate commercial lychee packaging while enabling controlled shelf-life studies and time-series data collection.

Storage shelves
Drainage System: The shelves incorporate a strategic hole pattern that allows ice-melt water to flow freely, preventing water accumulation that could lead to accelerated fruit decay and bacterial growth. This passive drainage system maintains optimal humidity levels while eliminating standing water that compromises fruit quality.
Environmental Sustainability: Manufactured using PLA (Polylactic Acid) filament, our shelves represent an eco-friendly storage solution. PLA is biodegradable and derived from renewable resources, aligning with sustainable laboratory practices and reducing the environmental footprint of our experimental setup.
Compartmentalized Protection: The multi-tier design creates separated storage compartments that protect high-value lychee samples from cross-contamination and physical damage. Each compartment isolates individual fruit specimens, enabling precise tracking of preservation treatments while preventing the spread of decay between samples.
Optimized Airflow: The perforated design not only facilitates drainage but also promotes consistent air circulation around stored lychees, ensuring uniform temperature distribution and preventing the formation of microclimates that could affect experimental consistency.
This integrated shelf system enables systematic comparison of preservation methods while maintaining the integrity of our time-series data collection throughout extended storage periods.

Technical Specifications
- Material: Food-grade PLA (Polylactic Acid) for safe fruit contact
- Bag Capacity: Standardized 500g lychee portions
- Sealing Method: Heat-sealable film compatible design
- Ventilation Control: Adjustable perforation patterns for controlled gas exchange
- Dimensions: 150mm × 120mm × 80mm internal chamber volume
- Wall Thickness: 2mm for structural integrity and thermal insulation
Design Features
- CAD Development: Precision-engineered using Fusion 360 with optimized geometries for uniform lychee distribution and minimal pressure points
- 3D Printing Optimization: Layer-by-layer manufacturing with 0.2mm resolution ensuring smooth internal surfaces and consistent wall thickness
- Bagging Convenience:
- Quick-release mechanism for efficient sample loading and unloading
- Ergonomic handle design for comfortable operation during extended use
- Transparent viewing windows for visual quality assessment without opening
- Stackable design for efficient storage and transport
- Standardization: Consistent packaging conditions across all experimental samples
- Reusability: Dishwasher-safe components for easy cleaning and sterilization between uses
- Modularity: Interchangeable perforation inserts for different atmospheric conditions
Custom Fabrication
3D Printed Components
We utilized 3D printing technology to create custom components for our hardware systems.
Design Process
- CAD Modeling: We developed comprehensive 3D models using Autodesk Fusion 360, incorporating precise dimensional specifications for optimal camera positioning and lychee placement.
- Prototype Testing: Iterative design and testing process
- Material Selection: We carefully selected food-grade PLA (Polylactic Acid) for all surfaces that come into direct contact with lychees, ensuring safety and compliance with food handling standards. Additional material considerations included UV resistance for outdoor use, dimensional stability under varying temperatures, and ease of cleaning and sterilization between sampling sessions.
- Quality Control: Dimensional accuracy verification
Printed Components
- Camera Mounts: Custom brackets for precise camera positioning
- Sample Holders: Standardized containers for lychee specimens
- Sensor Housings: Protective enclosures for environmental sensors
- Calibration Tools: Reference objects for image analysis
- Lychee Bagging Component: Specialized packaging system designed to simulate commercial lychee storage conditions while maintaining sample integrity during extended shelf-life studies and time-series data collection
Drone System
Core Functionality & Technical Highlights
Autonomous Flight Planning: GPS-guided flight paths with customizable survey patterns like grid and waypoint for orchards.
Real-time Target Detection: On-the-fly analysis of the video feed to accurately identify lychee fruits and trigger the spraying command.
Dynamic Threshold Spraying: A proprietary smart algorithm that adjusts the detection sensitivity based on the drone's flight altitude.
High Altitude: The detection threshold is lowered to broaden the search area, ensuring large clusters of fruit are not missed.
Low Altitude: The threshold is raised, requiring a stronger feature match to prevent mis-spraying due to complex backgrounds or individual leaves.
Morphological Intensity Analysis: To enhance detection robustness in challenging lighting or complex backgrounds, we've introduced "Morphological Intensity" as the spraying criterion. The algorithm first applies a slight blur to the image, then searches the vicinity of detected red pixels to expand the red area. This quantifies the target's "intensity," and only areas with sufficient intensity trigger the sprayer.
Efficient Frame Analysis: To ensure real-time processing on the onboard computer, the system analyzes 10 frames per second, sampled from the 60fps video stream. This strategy significantly boosts algorithm efficiency and response speed while maintaining detection accuracy.
Technical Specifications
Aircraft Platform
- Frame Type: Professional-grade quadcopter with carbon fiber construction
- Flight Time: 30-45 minutes per battery cycle with payload
- Maximum Range: 5 km operational radius with real-time telemetry and video feed
- Weather Resistance: IP65 rating for operation in various field conditions
- Payload Capacity: 3.5 kg (including camera, processing unit, and spraying system)
- Spraying System: High-precision pressure nozzles with programmable flow and spray width control
Imaging System
- Primary Camera: 16 Megapixel high-quality RGB camera
- Video Performance: 1080p @ 60fps HD video recording
- Lens Configuration: 28-84mm full-frame equivalent focal length, suitable for various operational altitudes
- Image Stabilization: 3-axis mechanical gimbal with ±0.02° accuracy
Onboard Processing Unit
- Onboard Computer: NVIDIA Jetson Xavier NX for powerful edge AI processing
- Storage: 1TB SSD for data buffering and flight logs
- Connectivity: 4G LTE module for real-time data transmission and remote monitoring
- Battery System: Hot-swappable lithium polymer batteries with quick charge capability
Precision Agriculture Applications
Pesticide Application Optimization
- Targeted Spraying: Automatically identifies and sprays only the lychee fruit clusters, avoiding waste on leaves, branches, and bare ground. Here are two real system pictures to show the results.
Farm Management Integration
- Operational Reports: Generates a report after each mission, detailing the flight path, spray points, and pesticide volume used.
- Resource Planning: Optimizes pesticide procurement and labor scheduling based on operational data.
- Compliance Documentation: Provides detailed operational logs to support agricultural compliance and traceability requirements.
Performance and Validation
System Testing
We conducted comprehensive field tests to validate the system's hardware performance and algorithmic efficacy.
- Accuracy Testing: Compared the effectiveness of our system against traditional spraying methods to evaluate the target-hit rate.
- Repeatability Studies: Conducted multiple flights under identical conditions to verify the consistency of the detection and spraying logic.
- Environmental Testing: Assessed system stability under various lighting, temperature, and humidity conditions.
- Long-term Stability: Performed extended operational tests to evaluate system reliability.
Results
- Detection Accuracy: >95% target detection accuracy at typical operational altitudes.
- Spraying Efficacy: Increased the effective utilization rate of pesticides by over 60% compared to traditional methods.
- System Reliability: >99% uptime during extended testing periods.
- Data Integrity: Zero data loss incidents during validation testing.
Future Developments
Planned Improvements
Based on our initial results, we have identified areas for future hardware development.
Next Generation Features
- Enhanced Automation: Fully automated sample handling systems
- Improved Sensors: Higher accuracy environmental monitoring
- Mobile Platform: Portable systems for field deployment
- AI Integration: On-device machine learning for real-time analysis
Scalability Considerations
- Manufacturing: Design for mass production capabilities
- Cost Optimization: Component selection for commercial viability
- Maintenance: User-serviceable components and modular design
- Standards Compliance: Meeting industry and regulatory requirements
Conclusion
Our hardware development for the Lychee Guardians project has successfully established a comprehensive, integrated ecosystem addressing critical stages of the lychee lifecycle, from precision agriculture in the orchard to post-harvest quality assessment and shelf-life studies. The synergy between our custom-developed systems—the AI-powered Drone System for targeted spraying, the standardized Imaging System for consistent data collection, and the 3D-printed Bagging Component for controlled experimentation—provides a powerful, end-to-end technological backbone for our research.
The modular, field-ready design of our equipment, combined with meticulous validation and performance testing, has demonstrated exceptional reliability and accuracy. Our drone achieved over 95% detection accuracy, and our custom fabrication process ensures the repeatability necessary for rigorous scientific inquiry. This hardware platform is not merely a set of tools but a scalable, data-driven foundation poised to reduce chemical usage, enhance crop management, and enable the advanced research central to the Lychee Guardians' mission.