{"id":51035575,"url":"https://github.com/qppd/coconut-dryer","last_synced_at":"2026-06-22T05:31:51.515Z","repository":{"id":323346428,"uuid":"1092924430","full_name":"qppd/coconut-dryer","owner":"qppd","description":"An intelligent coconut drying system designed for the Southern Luzon State University (SLSU) Lucban BSME program.","archived":false,"fork":false,"pushed_at":"2025-12-21T13:25:23.000Z","size":1279,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-23T04:48:15.365Z","etag":null,"topics":["arduino-esp32","cplusplus","dryer","pid-algorithm","solar-power"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qppd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-09T15:22:02.000Z","updated_at":"2025-12-21T13:25:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/qppd/coconut-dryer","commit_stats":null,"previous_names":["qppd/coconut-dryer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qppd/coconut-dryer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qppd%2Fcoconut-dryer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qppd%2Fcoconut-dryer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qppd%2Fcoconut-dryer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qppd%2Fcoconut-dryer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qppd","download_url":"https://codeload.github.com/qppd/coconut-dryer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qppd%2Fcoconut-dryer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34636427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino-esp32","cplusplus","dryer","pid-algorithm","solar-power"],"created_at":"2026-06-22T05:31:50.588Z","updated_at":"2026-06-22T05:31:51.510Z","avatar_url":"https://github.com/qppd.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coconut Dryer\n\n## Overview\n\nAn intelligent coconut drying system designed for the Southern Luzon State University (SLSU) Lucban BSME program. This Arduino-based embedded system provides automated temperature, humidity, and moisture control for efficient coconut drying operations using PID control algorithms and real-time sensor monitoring.\n\n## Table of Contents\n\n- [Features](#features)\n- [System Architecture](#system-architecture)\n- [Hardware Components](#hardware-components)\n- [Software Dependencies](#software-dependencies)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Configuration](#configuration)\n- [Project Structure](#project-structure)\n- [3D Models and Manufacturing](#3d-models-and-manufacturing)\n- [Technical Specifications](#technical-specifications)\n- [Contributing](#contributing)\n- [License](#license)\n- [Developer](#developer)\n\n## Features\n\n### Core Functionality\n- **Automated Drying Process**: PID-controlled temperature regulation for optimal drying conditions\n- **Multi-Parameter Monitoring**: Real-time tracking of temperature, humidity, and moisture levels\n- **Smart Control System**: Automatic shutdown when target moisture levels are achieved\n- **User Interface**: 20x4 LCD display with intuitive menu navigation\n- **Status Indicators**: Real-time system status and operational feedback\n\n### Technical Features\n- **PID Control Algorithm**: Precise temperature control using industry-standard PID implementation\n- **Sensor Integration**: SHT31 temperature/humidity sensor and soil moisture monitoring\n- **Relay Control**: Multiple solid-state relay (SSR) control for heating elements and fans\n- **Push Button Interface**: Multi-button navigation system for parameter adjustment\n- **Serial Monitoring**: Real-time debugging and monitoring via serial communication\n\n## System Architecture\n\nThe system employs a modular architecture with separate components for different functionalities:\n\n```\nCoconutDryer.ino (Main Controller)\n├── LCD_CONFIG.h (Display Management)\n├── SHT31_CONFIG.h (Temperature/Humidity Sensor)\n├── SOIL_MOISTURE_CONFIG.h (Moisture Monitoring)\n├── RELAY_CONFIG.h (Actuator Control)\n├── PID_CONFIG.h (Control Algorithm)\n├── BUZZER_CONFIG.h (Audio Feedback)\n├── PUSH_BUTTON_CONFIG.h (User Input)\n└── LIB.h (Utility Functions)\n```\n\n## Hardware Components\n\n### Essential Components\n- **Microcontroller**: Arduino-compatible board (ESP32/Arduino Uno)\n- **Display**: 20x4 I2C LCD (Address: 0x27)\n- **Temperature/Humidity Sensor**: Adafruit SHT31 (I2C Address: 0x44)\n- **Moisture Sensor**: Analog soil moisture sensor\n- **Relays**: Multiple solid-state relays for heating elements and fans\n- **User Interface**: Push button array for navigation\n- **Audio Feedback**: Buzzer for system alerts\n\n### Power Requirements\n- Operating Voltage: 5V/12V (depending on relay configuration)\n- Power Consumption: Variable based on heating element usage\n- Backup Power: Optional battery backup for data retention\n\n## Software Dependencies\n\n### Arduino Libraries\n```cpp\n#include \u003cLiquidCrystal_I2C.h\u003e  // LCD display control\n#include \u003cAdafruit_SHT31.h\u003e     // Temperature/humidity sensor\n#include \u003cPID_v1.h\u003e             // PID control algorithm\n#include \u003cWire.h\u003e               // I2C communication\n```\n\n### Installation Requirements\n- Arduino IDE 1.8.x or higher\n- ESP32/Arduino board support packages\n- Required libraries (installable via Arduino Library Manager)\n\n## Installation\n\n### Hardware Setup\n1. **Circuit Assembly**: Connect components according to the provided schematic\n2. **Sensor Calibration**: Calibrate moisture sensors for coconut-specific readings\n3. **Relay Configuration**: Set up solid-state relays for heating elements and fans\n4. **Display Connection**: Wire I2C LCD to appropriate pins\n\n### Software Installation\n1. **Clone Repository**:\n   ```bash\n   git clone https://github.com/qppd/coconut-dryer.git\n   cd coconut-dryer\n   ```\n\n2. **Open Arduino IDE**: Load `source/CoconutDryer/CoconutDryer.ino`\n\n3. **Install Dependencies**: Install required libraries via Library Manager\n\n4. **Board Configuration**: Select appropriate board and port\n\n5. **Upload Firmware**: Compile and upload to microcontroller\n\n## Usage\n\n### Initial Setup\n1. **Power On**: Connect power supply and initialize system\n2. **Calibration**: Allow sensors to stabilize (approximately 30 seconds)\n3. **Parameter Setting**: Use push buttons to set desired parameters:\n   - Temperature Setpoint: Default 60°C\n   - Humidity Setpoint: Default 20%\n   - Moisture Setpoint: Default 6%\n\n### Operation Modes\n- **Standby Mode**: System monitoring without active drying\n- **Drying Mode**: Active temperature control and moisture monitoring\n- **Completion Mode**: Automatic shutdown when target moisture is achieved\n\n### Display Information\n```\nT:XX.X°C    SP:XX.X°C\nH:XX.X%     SP:XX.X%\nM:XX.X%     SP:XX.X%\nStatus: [Standby/Drying]\n```\n\n## Configuration\n\n### PID Parameters\nLocated in `PID_CONFIG.h`:\n```cpp\ndouble THRESHOLD_1 = 4;   // Proportional gain\ndouble THRESHOLD_2 = 0;   // Integral gain\ndouble THRESHOLD_3 = 22;  // Derivative gain\n```\n\n### Sensor Calibration\nModify calibration constants in respective configuration files:\n- SHT31: Temperature offset adjustment\n- Moisture sensor: Analog-to-percentage conversion\n\n### Operational Parameters\nDefault setpoints can be modified in main code:\n```cpp\ndouble TEMPERATURE_SETPOINT = 60;  // °C\ndouble HUMIDITY_SETPOINT = 20;     // %\ndouble MOISTURE_SETPOINT = 6;      // %\n```\n\n## Project Structure\n\n```\ncoconut-dryer/\n├── LICENSE                          # Project license\n├── README.md                        # Project documentation\n├── models/                          # 3D models and manufacturing files\n│   ├── gcode/                      # G-code files for 3D printing\n│   │   ├── Coconut_Dryer_Board_Mount.gcode\n│   │   ├── Coconut_Dryer_Button_Lock.gcode\n│   │   ├── Coconut_Dryer_Case_Cover.gcode\n│   │   └── Coconut_Dryer_Case.gcode\n│   └── stl/                        # STL files for 3D printing\n└── source/                         # Source code\n    └── CoconutDryer/              # Main Arduino project\n        ├── CoconutDryer.ino       # Main program file\n        ├── BUZZER_CONFIG.h        # Audio feedback configuration\n        ├── LCD_CONFIG.h           # Display configuration\n        ├── LIB.h                  # Utility functions\n        ├── PID_CONFIG.h           # PID control configuration\n        ├── PUSH_BUTTON_CONFIG.h   # Input handling\n        ├── RELAY_CONFIG.h         # Actuator control\n        ├── SHT31_CONFIG.h         # Temperature/humidity sensor\n        ├── SOIL_MOISTURE_CONFIG.h # Moisture sensor configuration\n        ├── include/               # Header files\n        │   ├── LCDController.h\n        │   ├── MoistureSensor.h\n        │   ├── RelayController.h\n        │   └── TemperatureHumiditySensor.h\n        └── src/                   # Implementation files\n            ├── LCDController.cpp\n            ├── MoistureSensor.cpp\n            ├── RelayController.cpp\n            └── TemperatureHumiditySensor.cpp\n```\n\n## 3D Models and Manufacturing\n\n### Available Models\nThe project includes complete 3D models for manufacturing:\n\n- **Board Mount**: Secure mounting for electronic components\n- **Button Lock**: User interface protection and organization\n- **Case Cover**: Protective housing for the control system\n- **Main Case**: Primary enclosure for all components\n\n### Manufacturing Files\n- **STL Files**: Ready for 3D printing on standard FDM printers\n- **G-code Files**: Pre-sliced for common 3D printer configurations\n- **Material Recommendations**: PLA or PETG for durability and temperature resistance\n\n## Technical Specifications\n\n### Operating Parameters\n- **Temperature Range**: 0-100°C (sensor range)\n- **Humidity Range**: 0-100% RH\n- **Moisture Detection**: Analog sensing with percentage conversion\n- **Control Precision**: ±0.1°C temperature control\n- **Response Time**: \u003c60 seconds for temperature stabilization\n\n### Communication Interfaces\n- **Serial**: 9600 baud rate for debugging and monitoring\n- **I2C**: For sensor and display communication\n- **Digital I/O**: Push button inputs and relay outputs\n\n### Performance Characteristics\n- **Loop Interval**: 500ms for real-time monitoring\n- **PID Update Rate**: Synchronized with main loop\n- **Display Refresh**: Real-time parameter updates\n- **Auto-completion**: Moisture-based process termination\n\n## Contributing\n\nWe welcome contributions to improve the Coconut Dryer project. Please follow these guidelines:\n\n### Development Process\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes with proper documentation\n4. Test thoroughly with hardware setup\n5. Submit a pull request with detailed description\n\n### Code Standards\n- Follow Arduino coding conventions\n- Document all functions and major code blocks\n- Test with actual hardware before submission\n- Maintain backward compatibility when possible\n\n## License\n\nThis project is open source and available under the [MIT License](LICENSE).\n\n## Developer\n\n**Sajed Lopez Mendoza** - Full Stack Developer \u0026 IoT Specialist\n\n### Professional Background\n- **Location**: Unisan, Quezon Province, Philippines\n- **Specialization**: Embedded Systems, IoT Development, Full-Stack Web Development\n- **Experience**: Freelance Developer at QPPD (Quezon Province Programmers/Developers)\n- **Education**: Southern Luzon State University (SLSU) Lucban\n\n### Technical Expertise\n- **Embedded Systems**: ESP32, Arduino, Raspberry Pi development\n- **IoT Solutions**: Sensor integration, real-time monitoring systems\n- **Hardware Integration**: 3D printing, PCB design, solar power systems\n- **Programming**: C/C++, Python, JavaScript, PHP, Java\n- **Machine Learning**: TensorFlow, AI-powered applications\n- **Mobile Development**: Android applications with hardware integration\n\n### Notable Projects\n- **IoT Smart Fan**: Intelligent climate control system\n- **IoT Bike Tracker**: Solar-powered GPS tracking solution\n- **CNC Jog Trainer**: GRBL-based CNC machine controller\n- **Smart Cabinet**: Advanced automated storage solution\n- **Umbrella Holder**: PID-controlled drying system\n\n### Contact Information\n- **Email**: quezon.province.pd@gmail.com\n- **GitHub**: [github.com/qppd](https://github.com/qppd)\n- **Portfolio**: [sajed-mendoza.onrender.com](https://sajed-mendoza.onrender.com/)\n- **Facebook**: [facebook.com/qppd.dev](https://facebook.com/qppd.dev)\n- **Community**: [facebook.com/QUEZONPROVINCEDEVS](https://facebook.com/QUEZONPROVINCEDEVS)\n\n---\n\n**Project Status**: Finished | **Last Updated**: November 2025 | **Version**: 1.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqppd%2Fcoconut-dryer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqppd%2Fcoconut-dryer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqppd%2Fcoconut-dryer/lists"}