Skip to content

qppd/Soil-Tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌱 Soil Tester with ESP32

NPK Sensor + 20x4 I2C LCD + Firebase + Android App


📦 Project Description

This IoT-powered Soil Tester utilizes an ESP32 microcontroller to measure soil Nitrogen (N), Phosphorus (P), and Potassium (K) levels using an NPK sensor. It displays real-time values on a 20x4 I2C LCD and synchronizes data to Firebase Realtime Database, which is consumed by a custom-built Android app developed in Java using Android Studio.


⚙️ Components Used

Component Description
ESP32 Board Main microcontroller with Wi-Fi + UART
NPK Sensor Measures Nitrogen, Phosphorus, and Potassium
20x4 I2C LCD Displays live NPK readings

🔗 System Overview

  1. ESP32 reads data from the NPK sensor via UART.
  2. Data is displayed on a 20x4 LCD using the I2C interface.
  3. Sensor values are uploaded to Firebase Realtime Database using Firebase_ESP_Client.
  4. Android app fetches and displays the data in a mobile-friendly UI and suggests a plant perfect for the soil.

💻 Arduino IDE Setup

  1. Install these libraries:
    • LiquidCrystal_I2C
    • Firebase_ESP_Client
  2. Configure Firebase in code:
    • Firebase Host (e.g., your-project.firebaseio.com)
    • Firebase Auth / Secret Key
  3. Clone the repo:
    git clone https://github.com/qppd/Soil-Tester.git
  4. Open SoilTester_ESP32.ino in Arduino IDE
  5. Select board: ESP32 Dev Module
  6. Upload to your ESP32 board

📁 Project Structure

Soil-Tester/
├── SoilTester.ino
├── README.md
└── .gitignore

📝 License

This project is licensed under the MIT License. You may use, modify, and share it freely with credit to the author.


🙌 Acknowledgements

  • ESP32 Arduino Community
  • Firebase Realtime Database
  • Arduino & open-source contributors

🔗 Connect With Me

📘 Facebook facebook.com/qppd.dev
📦 GitHub github.com/qppd
🎥 TikTok @jed.lopez.mendoza.dev
✉️ Email quezon.province.pd@gmail.com

🌿 Empowering Smart Agriculture with QPPD
Made with ❤️ by QPPD

About

This IoT-powered Soil Tester utilizes an ESP32 microcontroller to measure soil Nitrogen (N), Phosphorus (P), and Potassium (K) levels using an NPK sensor. It displays real-time values on a 20x4 I2C LCD and synchronizes data to Firebase Realtime Database, which is consumed by a custom-built Android app developed in Java using Android Studio.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors