{"id":22899831,"url":"https://github.com/kpanesar88/automated-plant-watering-system","last_synced_at":"2026-04-30T01:36:41.736Z","repository":{"id":252514650,"uuid":"837736601","full_name":"kpanesar88/automated-plant-watering-system","owner":"kpanesar88","description":"This project features an automated plant watering system that uses an Arduino programmed with Java. It employs a soil moisture sensor to monitor the soil's moisture level and activates a water pump when watering is needed, ensuring optimal plant care with minimal manual intervention.","archived":false,"fork":false,"pushed_at":"2024-08-10T10:22:28.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T04:41:26.377Z","etag":null,"topics":["arduino","firmata","java","object-oriented-programming"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kpanesar88.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-08-03T21:45:12.000Z","updated_at":"2024-08-10T10:22:32.000Z","dependencies_parsed_at":"2024-08-10T11:44:58.111Z","dependency_job_id":null,"html_url":"https://github.com/kpanesar88/automated-plant-watering-system","commit_stats":null,"previous_names":["kpanesar88/automated-plant-watering-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kpanesar88/automated-plant-watering-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpanesar88%2Fautomated-plant-watering-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpanesar88%2Fautomated-plant-watering-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpanesar88%2Fautomated-plant-watering-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpanesar88%2Fautomated-plant-watering-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kpanesar88","download_url":"https://codeload.github.com/kpanesar88/automated-plant-watering-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kpanesar88%2Fautomated-plant-watering-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32451475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","firmata","java","object-oriented-programming"],"created_at":"2024-12-14T01:16:52.334Z","updated_at":"2026-04-30T01:36:41.706Z","avatar_url":"https://github.com/kpanesar88.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Automated Plant Watering System\n\nThis Java application reads moisture levels from a sensor and controls a water pump based on those readings. It also displays the moisture level on an OLED screen and plots the data over time using `StdDraw`.\n\n## Features\n\n- **Moisture Sensing**: Continuously reads moisture levels from a connected sensor.\n- **Water Pump Control**: Activates a water pump based on moisture levels.\n- **Data Visualization**: Plots moisture levels over time using `StdDraw`.\n- **OLED Display**: Shows real-time moisture levels and status messages on an OLED display.\n\n## Requirements\n\n- **Java**: Ensure you have Java installed on your system.\n- **Libraries**:\n  - **Firmata4j**: For communication with the Arduino board.\n  - **StdDraw**: For plotting the moisture levels.\n  - **JSSC**: For serial communication (Windows users).\n- **Hardware**:\n  - Arduino board\n  - Moisture sensor\n  - Water pump\n  - OLED display\n\n\n2. **Connect Hardware**:\n   - Connect the moisture sensor to the analog pin (Pin 14).\n   - Connect the water pump to the digital output pin (Pin 2).\n   - Connect the OLED display via I2C.\n\n3. **Configure the Port**:\n   - Update the `myPort` variable in the code with the correct port name for your Arduino board (e.g., `COM3` for Windows or `/dev/ttyUSB0` for Linux).\n   - Update the Hardware pins or addresses for your Arduino Circuit/Board.\n\n## Troubleshooting\n   - **Connection Issues**: Ensure the correct port is specified and that all hardware is properly connected.\n   - **Library Issues**: Verify that all required libraries are included in the classpath.\n\n## Resources\n  - Grove Beginner Kit Manual: [User Manual](https://files.seeedstudio.com/wiki/Grove-Beginner-Kit-For-Arduino/res/Grove-Beginner-Kit-For-ArduinoPDF.pdf)\n  - Firmata Intro: [Intro](https://www.yorku.ca/professor/drsmith/2022/02/25/easy-java-arduino-with-firmata/)\n  - I2C \u0026 Firmata Example: [Example](https://www.yorku.ca/professor/drsmith/2024/06/11/firmata-example-i2c-sensor-java-firmata4j/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpanesar88%2Fautomated-plant-watering-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkpanesar88%2Fautomated-plant-watering-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkpanesar88%2Fautomated-plant-watering-system/lists"}