https://github.com/boneskull/sludge-sensor
omg a soil moisture sensor of things
https://github.com/boneskull/sludge-sensor
Last synced: 6 months ago
JSON representation
omg a soil moisture sensor of things
- Host: GitHub
- URL: https://github.com/boneskull/sludge-sensor
- Owner: boneskull
- License: other
- Archived: true
- Created: 2016-10-02T04:43:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-03T04:28:17.000Z (over 9 years ago)
- Last Synced: 2025-04-04T06:12:56.126Z (10 months ago)
- Language: C++
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sludge-sensor
> omg a soil moisture sensor of things

## Notes
- Used [Adafruit Feather HUZZAH](https://www.adafruit.com/products/2821)
- Install libs and toolchain via [PlatformIO](http://platformio.org)
- Used DFRobot's [capacitive soil moisture sensor](https://www.dfrobot.com/index.php?route=product/product&path=156_36&product_id=1385) after noting how quickly resistive sensors tend to corrode
- Due to the 1.0V cap of the ESP8266's ADC pin--and 3.0V being the maximum voltage the sensor will produce--had to use a voltage divider (*R1* 2.2kΩ, *R2* 1.0kΩ and 100Ω in series; used metal film) and multiply the pin reading by 3
- After uploading firmware (`pio run -t upload`) and SPIFFS (`pio run -t uploadfs`) find **Sludge Sensor** AP and connect.
- Hit `http://192.168.1.1` and give it a new SSID/pass to connect to existing WiFi network; this is stored in EEPROM
- Thing will then restart and connect to new network
## TODO
- Add configurable pins
- Add configurable timing
- Add value fudging
- OTA updates
- mDNS
## License
:copyright: 2016 [Christopher Hiller](https://boneskull.com). Licensed MIT.