https://github.com/nvonaesch/esp32_soil_moisture_sensor
This repository provides a project for monitoring soil moisture, humidity, temperature and luminosity using an ESP32 microcontroller.
https://github.com/nvonaesch/esp32_soil_moisture_sensor
android-application bluetooth bme280 esp32 luminosity-sensor socket soil-moisture-sensor ssd1306
Last synced: about 1 month ago
JSON representation
This repository provides a project for monitoring soil moisture, humidity, temperature and luminosity using an ESP32 microcontroller.
- Host: GitHub
- URL: https://github.com/nvonaesch/esp32_soil_moisture_sensor
- Owner: nvonaesch
- Created: 2024-11-04T23:58:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-05T15:25:07.000Z (over 1 year ago)
- Last Synced: 2025-07-27T07:30:58.639Z (11 months ago)
- Topics: android-application, bluetooth, bme280, esp32, luminosity-sensor, socket, soil-moisture-sensor, ssd1306
- Language: C++
- Homepage:
- Size: 914 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ESP32_Soil_Moisture_Sensor
This project set an ESP32-WROOM-32S based Bluetooth connection with a remote android application.
[Android Application Repository](https://github.com/nvonaesch/ESP_32_Android_Communication)
The ESP32 then connects to the WiFi network with the logs bluetooth provided.
Finally the ESP32 then sends over TCPSocket the soil measure sensor values.
## PINOUT ESP-WROOM-32S

## SETUP
To setup PlatformIO run the following command:
`python3 -m pip install -U platformio`
To intall libraries dependencies run the following commands:\
`pio lib -g install Adafruit SSD1306@^2.5.13`\
`pio lib -g install Adafruit BME280 Library@^2.2.4`
## WIRING

| **BME280** | **ESP32** |
|:----------------:|:---------:|
| VCC | 3.3V |
| GND | GND |
| SCL | D22 |
| SDA | D21 |
| **SSD1306** | |
| VCC | 3.3V |
| GND | GND |
| SCL | D22 |
| SDA | D21 |
| **Light Sensor** | |
| VCC | 3.3V |
| GND | GND |
| D0 | D32 |
| **Hygrometer** | |
| VCC | 3.3V |
| GND | GND |
| D0 | NC |
| A0 | VP |