π± FaunaPulse - AI-Driven IoT system for non-invasive soil fauna monitoring via bioacoustic and environmental sensing.
FaunaPulse is an AI- and IoT-powered system designed to non-invasively monitor the biological activity of underground soil organisms in real time using bioacoustic signals and environmental data. The system empowers farmers to remotely assess soil vitality, detect anomalies in soil ecosystems, and support sustainable agricultural practices.
At its core, piezoelectric discs detect subtle vibrations generated by soil-dwelling organisms. A trained deep learning model then classifies these acoustic signals into activity levels:
- High: Indicates diverse and active fauna
- Low: Suggests sparse or absent soil life
Simultaneously, the system gathers essential environmental metrics via sensors:
- SHT30 Sensor Probe β Soil Temperature and Humidity
- Capacitive Analog Sensor β Soil Moisture
All data is securely transmitted to a cloud backend (Supabase) and displayed in a user-friendly mobile app. When critical conditions are detected (e.g., low fauna activity, poor moisture), real-time alerts are triggered via email and in-app notifications. FaunaPulse enables proactive soil health management and ecological sustainability.
Below is the demo video showcasing all the features, functionalities and workflow of FaunaPulse:
π¬ Watch Demo Video
π GitHub Repository
- Python 3.8+
- Flutter SDK (for running the mobile app)
-
Clone the repository:
git clone https://github.com/SammyGbabs/FaunaPulse-Capstone-Project cd FaunaPulse-Capstone-Project -
Navigate to the API directory:
cd API -
(Optional) Set up a virtual environment:
python -m venv venv venv\Scripts\activate # On Windows source venv/bin/activate # On Mac/Linux
-
Install dependencies:
pip install -r requirements.txt
-
Run the FastAPI server:
uvicorn API.main:app --reload --host localhost --port 8000
π Deployed API: See
API/README.mdfor the live Render link.
-
Navigate to the mobile app directory:
cd Mobile App -
Install dependencies:
flutter pub get
-
Run the application:
-
Open
lib/main.dartin your preferred editor -
Run using:
flutter run
-
-
To build APK for Android:
flutter build apk
Or download the APK directly:
π Download APK
The diagram below illustrates the overall system architecture of FaunaPulse, showing how the IoT devices, backend, machine learning model, and user interfaces interact to enable real-time soil monitoring and alerting.
The following diagram presents the architecture of the deep learning model used for classifying soil bioacoustic signals. It highlights the key layers and data flow from input MEL spectrograms to the final activity prediction.
Below is the screenshot of my circuit diagram.
-
π§ Info Pages: This section contains general information about soil health and how FaunaPulse works.

-
π Sign Up / Sign In: Secure authentication pages for new and returning users.

-
π Dashboard: A real-time overview of soil fauna bioacoustic activity and environmental readings.

-
β¬οΈ Manual Upload: Manually upload audio or sensor data for analysis.

-
π€ Chatbot: An AI-powered assistant that answers user queries about soil health and app usage.

π Push Notification: Real-time alerts to notify users of critical soil conditions like low fauna activity or abnormal moisture levels.

π¨ Figma File
The model was deployed on the Hugging Face platform, and the entire project was tested in a real farm located in Nyamata. In this project, vibration levels from the soil were recorded as audio over a period of time. These audio recordings were then converted into MEL spectrogram images and passed through the model to classify the biological activity in the soil. Temperature and humidity data were collected using the SHT30 sensor, while a capacitive analog sensor was used to measure soil moisture. All readings were displayed in real-time on a dashboard. Whenever the activity of soil-dwelling organisms or the environmental conditions were not suitable, alerts were sent through email and mobile push notifications. The system continues to be improved by updating the model with new data, helping it become more accurate and effective over time.
FaunaPulse demonstrates the power of integrating AI, IoT, and real-time data analytics to address critical challenges in sustainable agriculture such as decline in agricultural productivity, and in climate change including loss of soil biodiversity, and soil degradation. By enabling non-invasive monitoring of soil health, the system empowers farmers with actionable insights, helping them make informed decisions to improve crop yield and ecological balance. The projectβs modular design allows for continuous improvement, with the potential to incorporate more advanced sensors, predictive analytics, and broader deployment in diverse agricultural settings. As the system evolves, FaunaPulse aims to become an indispensable tool for promoting soil vitality, environmental stewardship, and food security worldwide.
For questions or collaborations, feel free to reach out:
Babalola Samuel π§ s.babalola@alustudent.com π LinkedIn











