Add Smart Irrigation System project: Arduino sketch, IoT upgrade, docs, and circuit reference - #1
Draft
prashanth-nayak6 with Copilot wants to merge 2 commits into
Draft
Add Smart Irrigation System project: Arduino sketch, IoT upgrade, docs, and circuit reference#1prashanth-nayak6 with Copilot wants to merge 2 commits into
prashanth-nayak6 with Copilot wants to merge 2 commits into
Conversation
- code/smart_irrigation.ino: Arduino sketch with soil moisture reading, relay control, threshold comparison, and Serial Monitor output - code/esp8266_iot_upgrade.ino: NodeMCU Wi-Fi + MQTT upgrade with remote pump control via irrigation/command topic - docs/circuit_diagram.md: ASCII schematic, pin tables, safety notes - docs/components.md: Full components list with costs and descriptions - docs/simulation_guide.md: Tinkercad and Proteus step-by-step guide - images/README.md: Placeholder with Fritzing/Tinkercad screenshot guide - README.md: Detailed readme with overview, setup, config, working principle, IoT upgrade, future enhancements, troubleshooting Agent-Logs-Url: https://github.com/prashanth-nayak6/Smart-Irrigation-System-Using-Arduino/sessions/ba7cffa5-df44-4b1c-9ca9-0dee65e954bf Co-authored-by: prashanth-nayak6 <208974686+prashanth-nayak6@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Build smart irrigation system using Arduino
Add Smart Irrigation System project: Arduino sketch, IoT upgrade, docs, and circuit reference
Apr 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bootstraps a complete Smart Irrigation System project from a stub README — structured code, hardware docs, and an optional ESP8266 Wi-Fi upgrade.
Core Arduino sketch (
code/smart_irrigation.ino)MOISTURE_THRESHOLD(default 600) andRELAY_ACTIVE_LOWflagmillis()— nodelay()in main loopIoT upgrade (
code/esp8266_iot_upgrade.ino)irrigation/moisture(int %) andirrigation/pump(ON/OFF) every 10 sirrigation/command— acceptsON,OFF,AUTOfor remote overrideDocumentation (
docs/)circuit_diagram.md— pin tables for sensor/relay/pump/LCD, ASCII schematic, power budget, safety notes (flyback diode, AC relay warning)components.md— full BOM with specs, costs ($24–$64), capacitive vs. resistive sensor trade-offs, sourcing optionssimulation_guide.md— step-by-step Tinkercad (free) and Proteus walkthroughs; troubleshooting table for common sim issuesimages/README.mdPlaceholder listing expected assets (Fritzing diagram, breadboard photo, serial monitor screenshot) with creation instructions.
Original prompt