970 B
ESP32-Light-and-Soil-sensor
A simple light and soil sensor for use in HomeAssistant. Built on a Xiao ESP32C3 with a Adafruit BH1750 sensor and a Grove Capacitive Moisture Sensor
https://wiki.seeedstudio.com/XIAO_ESP32C3_Getting_Started/
https://learn.adafruit.com/adafruit-bh1750-ambient-light-sensor/arduino
https://wiki.seeedstudio.com/Grove-Capacitive_Moisture_Sensor-Corrosion-Resistant/
How to wire the bh1750
The bh1750 is soldered to the 3v output on the ESP32 (red), ground is soldered to ground (black). The SCL (yellow) is soldered to D5 on the ESP32. SDA (green) is soldered to D1 on the ESP32.
How to wire the Grove Moisture Sensor
The moisture sensor is plugged in on it's end with a grove connector. I've just cut off the other connector from the cable. Get rid of the white wire entirely. The red wire is soldered to the 3v output on the ESP32, ground is soldered to ground (black). The signald cable (yellow) is soldered to D2 on the ESP32.