Skip to content

Aryan-git-byte/Soil-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoilMetrics

License: MIT Platform Kicad

zine

A Portable AI & IoT-Based Soil Health Monitoring Device


Overview:

SoilMetrics is an affordable soil health monitoring system to measure key soil parameters in real time including NPK, EC, pH, Moisture, and Temperature. Which can empower small and marginal farmers to make informed decisions for improved crop management and sustainable agriculture.

Features:

  • Measure soil moisture, temperature, pH, electrical conductivity, and NPK.
  • Remote connectivity via LTE using SIM7080G module.
  • Touch Based Interface to view sensor readings, AI recommendations, weather reports.
  • Offline Data Logging in a onboard SD card.
  • GPS connectivity for accurate weather reports via openweather API.
  • on device rechargeable batteries (2S 18650) for portability.

Hardware Specifications:

Repo Structure:

SoilMetrics/
│
├── assets/   images
├── cad/       CAD source files & exports
├── firmware/       ESP-IDF firmware
├── kicad/          kicad source file
├── production/     BOM & gerber
│
├── README.md
├── LICENSE
└── JOURNAL.md

Hardware:

Schematic:

Page-01-Schematic

Contains all the power realted things of the device including Type-c for programming, barrel jack for charging, BMS circuitory, Buck Converter and LDOs

Page-02-Schematic

Contains the MCU, Buttons, LTE module, Receiver, SD card, sim slot etc

PCB:

The hardware is designed on a 4 layer PCB, The complete design files are available here

Pcb 3D-pcb 3D-pcb-back


Enclosure

File Download Link Description
Top Body Enclosure here This is the source file of the top body
Bottom plate here This is the source file of the Bottom plate
Top Body Enclosure here This is the printable file of the top body
Top Body Enclosure here This is the printable file of the top body

Firmware

Note: The complete firmware is not available as of now, there are lot of things that can only be written after making actual hardware, so i will update the repo with complete firmware after build. For now its just a test code.

Configure ESP-IDF

idf.py set-target esp32s3

Build

idf.py build

Flashing Firmware

Connect the board using USB.

Flash

idf.py flash

Open Serial Monitor

idf.py monitor

If flashing fails, place the board into download mode according to your ESP32-S3 hardware design and retry the command.


How to Assemble

  1. Get the PCB manufactured using this file.
  2. Order components listed in the BOM.csv
  3. Assemble the board using KiCad source file as reference.
  4. Inspect the PCB before powering it.
  5. Connect teh TFT display, antennas, and soil sensor.

Enclosure:

Enclosure is not complete yet due to the online unavailability of 3d model of the Display. After getting the display i'll update the repo with correct files


Bill of Materials

The completed BOM of the components used on PCB is in production/bom.csv.

And expect those you need to order these:

Component Link Price
SmartElex 3.5" TFT Resistive Touch Display 320x480 here 917 rs
ZTS-3002-TR-*-N01 here 4396 rs
2 x 18650 batteries here 699 rs each
PCB + Stencil Sub-8K rs

Made with 🔬🧪 (science) by aryan-git-byte

# AI USE: AI has assisted me in firmware/

About

Portable AI-powered soil monitoring device with LTE connectivity, GPS, touchscreen interface, and real-time soil health analytics.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors