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.
- 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.
- MCU - ESP32-S3-WROOM1U-N16R8
- Cellular & GPS - SIM7080G
- Soil Sensor - ZTS-3002-TR-*-N01
- Display - SmartElex 3.5" TFT Resistive Touch Display 320x480
SoilMetrics/
│
├── assets/ images
├── cad/ CAD source files & exports
├── firmware/ ESP-IDF firmware
├── kicad/ kicad source file
├── production/ BOM & gerber
│
├── README.md
├── LICENSE
└── JOURNAL.md
Contains all the power realted things of the device including Type-c for programming, barrel jack for charging, BMS circuitory, Buck Converter and LDOs
Contains the MCU, Buttons, LTE module, Receiver, SD card, sim slot etc
The hardware is designed on a 4 layer PCB, The complete design files are available here
| 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 |
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
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.
- Get the PCB manufactured using this file.
- Order components listed in the BOM.csv
- Assemble the board using KiCad source file as reference.
- Inspect the PCB before powering it.
- Connect teh TFT display, antennas, and soil sensor.
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
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/





