Krishishakti
Farming Anywhere Everywhere
The problem Krishishakti solves
For your Devfolio submission, you can use these polished paragraphs to describe your project. They are designed to sound professional, technically grounded, and high-impact.
Project Description: KrishiShakti
The Problem
Traditional agriculture, particularly in arid regions like India, Israel, and the UAE, remains a high-stakes gamble against an increasingly unpredictable climate. Farmers are currently trapped in a cycle of "Resource Blindness," where over-irrigation wastes up to 40% of precious groundwater, and "Micro-Droughts" stress crops long before visible wilting occurs, cutting millet yields by nearly 20%. Furthermore, the crisis doesn't end at the harvest; without precise environmental monitoring, nearly one-third of stored millets are lost to fungal Aflatoxins caused by undetected humidity spikes in storage silos.
The Solution
KrishiShakti is a comprehensive IoT-driven Agri-Tech ecosystem designed to transform millet farming from a manual struggle into a data-backed science. At its core, the system utilizes a NodeMCU-based sensor array to automate precision irrigation, ensuring the soil moisture stays within the "Goldilocks Zone" for specific millet varieties across their 60–120 day growth cycles. To combat total water scarcity, the project integrates an Atmospheric Water Generation (AWG) system using a Peltier-Desiccant hybrid model, which "mines" liquid water from air humidity as a sustainable backup source. All critical data—from temperature and gas leaks to water levels—is fetched via a Python-based REST API and logged into a JSON digital twin, providing farmers with a historical ledger for predictive crop management.
The Innovation
What sets KrishiShakti apart is its circular approach to energy and resources. The system doesn't just treat "Latent Heat" from the water condensation process as waste; it redirects this thermal energy to dry harvested seeds or warm nurseries during cold winter nights. By combining real-time Blynk cloud control with an automated "Safety-First" logic, the project solves the conflict between human oversight and machine precision. It effectively bridges the gap between traditional harvesting and high-tech sustainable farming, offering a low-cost, scalable solution that directly addresses global food security and water conservation challenges.
Challenges I ran into
- The "Ghost Switch" Pin Conflict
The Challenge: Early in the build, the Water Pump would trigger automatically whenever the water tank was full, even if I manually turned it "OFF" in the Blynk app. After hours of debugging, I discovered a GPIO Pin Conflict. I had assigned both the Pump Relay and the Green Status LED to pin D4.
The Fix: The Ultrasonic sensor logic was sending a HIGH signal to D4 to light the LED, which the Relay board interpreted as a command to start the pump. I performed a "Pin Migration," moving the LED to an independent pin (D8) and the Gas Sensor to D2. This physically isolated the high-current relay logic from the status indicators, restoring 100% manual control via the Blynk cloud.
🌡️ 2. Latent Heat & Peltier Thermal Runaway
The Challenge: When testing the Atmospheric Water Generator (AWG), the cold side of the Peltier module would stay cold for only 5 minutes before the entire unit began to overheat. I realized that the Latent Heat released during condensation, combined with the module's own heat, was causing "Thermal Runaway."
The Fix: I redesigned the cooling stack using a high-CFM brushless fan and a dual-heat-pipe aluminum sink. I also implemented a Software Interlock in the code that monitors the ambient temperature via the DHT11. If the temperature exceeds a safety threshold, the system automatically toggles the Peltier relay to prevent hardware burnout, while the LCD alerts the user to "Cooling Mode."
📡 3. The REST API "Data Throttling"
The Challenge: While fetching real-time data into my JSON ledger using Python, the script would frequently crash or return "Error 429" (Too Many Requests). My initial script was pinging the Blynk Cloud too fast, hitting the server's rate limits.
The Fix: I implemented Request Pacing and Error Handling in the Python script. I added a time.sleep(2) delay between fetches and wrapped the API calls in a try-except block. This ensures that even if one sensor read fails, the script continues to log the rest of the data, maintaining a consistent and reliable historical record for the crop's digital twin.
Tracks Applied (1)
Main Track: The Deepforge Arena
Technologies used