# ESP32 Road Soil Sensor ## Description Battery-powered ESP32 prototype for measuring soil/road-surface condition using HX711 load cell, MPU6050 vibration/tilt sensing, and DS18B20 temperature sensing from 18650 battery power. ## Project Details - **Owner:** momo443 - **Created:** 7/26/2026 - **Last Updated:** 7/26/2026 - **Visibility:** Public ## Key Components ### J1 — [Connector 01x04 Horizontal](https://www.flux.ai/jharwinbarrozo/connector-01x04-horizontal~h0.md) - Part Type: Connector - Role Details: Represents 18650 Battery Shield V3 output header; verify actual pin order before wiring hardware - Role: Power connector - Functional Group: Power **Pins:** - PIN_1 [pin 1] - PIN_2 [pin 2] - PIN_3 [pin 3] - PIN_4 [pin 4] ### J2 — [Connector 01x04 Horizontal](https://www.flux.ai/jharwinbarrozo/connector-01x04-horizontal~h0.md) - Functional Group: Load Cell Interface - Role Details: Load cell connector; typical colors: red E+, black E-, green/blue A+, white A-, verify actual load cell datasheet - Part Type: Connector - Role: Sensor connector **Pins:** - PIN_1 [pin 1] - PIN_2 [pin 2] - PIN_3 [pin 3] - PIN_4 [pin 4] ### U1 — [ESP32-DEVKITC-VE](https://www.flux.ai/adrian95/esp32-devkitc-ve~ezx.md) - Digi-Key Part Number: 1965-ESP32-DEVKITC-VE-ND - Role: Microcontroller development board - Package or Case Code: ESP32DEVKITCVE - Role Details: ESP32 board A: sensor acquisition, 3.3V logic; powered from 5V/VIN or USB, not both at once - Manufacturer Name: Espressif Systems - Manufacturer Part Number: ESP32-DEVKITC-VE - Datasheet URL: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-devkitc.html - License: https://creativecommons.org/licenses/by/4.0/ - Functional Group: MCU - Part Type: Development Boards **Pins:** - 3V3 [pin 1] - 5V [pin 19] - CLK [pin 20] - CMD [pin 18] - D0 [pin 21] - D1 [pin 22] - D2 [pin 16] - D3 [pin 17] - EN [pin 2] - GND_1 [pin 14] - GND_2 [pin 32] - GND_3 [pin 38] - IO0 [pin 25] - IO12 [pin 13] - IO13 [pin 15] - IO14 [pin 12] - IO15 [pin 23] - IO16 [pin 27] - IO17 [pin 28] - IO18 [pin 30] - IO19 [pin 31] - IO2 [pin 24] - IO21 [pin 33] - IO22 [pin 36] - IO23 [pin 37] - IO25 [pin 9] - IO26 [pin 10] - IO27 [pin 11] - IO32 [pin 7] - IO33 [pin 8] - IO34 [pin 5] - IO35 [pin 6] - IO4 [pin 26] - IO5 [pin 29] - RX [pin 34] - TX [pin 35] - VN [pin 4] - VP [pin 3] ### U2 — [ESP32-DEVKITC-VE](https://www.flux.ai/adrian95/esp32-devkitc-ve~ezx.md) - Manufacturer Name: Espressif Systems - Datasheet URL: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-devkitc.html - Manufacturer Part Number: ESP32-DEVKITC-VE - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Development Boards - Role Details: ESP32 board B: optional second controller/receiver; power and optional UART link to U1 - Role: Microcontroller development board - Functional Group: MCU - Digi-Key Part Number: 1965-ESP32-DEVKITC-VE-ND - Package or Case Code: ESP32DEVKITCVE **Pins:** - 3V3 [pin 1] - 5V [pin 19] - CLK [pin 20] - CMD [pin 18] - D0 [pin 21] - D1 [pin 22] - D2 [pin 16] - D3 [pin 17] - EN [pin 2] - GND_1 [pin 14] - GND_2 [pin 32] - GND_3 [pin 38] - IO0 [pin 25] - IO12 [pin 13] - IO13 [pin 15] - IO14 [pin 12] - IO15 [pin 23] - IO16 [pin 27] - IO17 [pin 28] - IO18 [pin 30] - IO19 [pin 31] - IO2 [pin 24] - IO21 [pin 33] - IO22 [pin 36] - IO23 [pin 37] - IO25 [pin 9] - IO26 [pin 10] - IO27 [pin 11] - IO32 [pin 7] - IO33 [pin 8] - IO34 [pin 5] - IO35 [pin 6] - IO4 [pin 26] - IO5 [pin 29] - RX [pin 34] - TX [pin 35] - VN [pin 4] - VP [pin 3] ### U3 — [SEN-13879](https://www.flux.ai/adrian95/sen-13879~85r.md) - Part Type: Sensor - Datasheet URL: https://www.digikey.com/en/products/detail/SEN-13879/1568-1436-ND/6202732?curr=usd&utm_campaign=buynow&utm_medium=aggregator&utm_source=octopart - Role Details: HX711 load cell amplifier; VDD logic at 3.3V, VCC excitation may be tied to 3.3V for ESP32-safe prototype - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: SparkFun Electronics - Role: Sensor interface - Manufacturer Part Number: SEN-13879 - Functional Group: Load Cell Interface **Pins:** - B- [pin 12] - B+ [pin 11] - BLK [pin 2] - CLK [pin 7] - DAT [pin 8] - GND [pin 6] - GRN [pin 4] - RED [pin 1] - VCC [pin 9] - VDD [pin 10] - WHT [pin 3] - YLW [pin 5] ### U5 — [DS18B20+](https://www.flux.ai/adrian95/ds18b20plus~f15.md) - Functional Group: Temperature Sensor - Part Type: Sensor - Role Details: Waterproof DS18B20 probe represented by DS18B20+ device; powered mode at 3.3V with 4.7k pull-up on DQ - Manufacturer Name: Analog Devices Inc./Maxim Integrated - Datasheet URL: https://www.analog.com/media/en/technical-documentation/data-sheets/ds18b20.pdf - Role: Temperature sensor - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: DS18B20+ **Pins:** - DQ [pin 2] - GND [pin 1] - VDD [pin 3] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/momo443/esp32-road-soil-sensor~10](https://www.flux.ai/momo443/esp32-road-soil-sensor~10).* --- *Generated from [https://www.flux.ai/momo443/esp32-road-soil-sensor~10](https://www.flux.ai/momo443/esp32-road-soil-sensor~10)*