1 / 1
D1 mini Environment Brightness Sensor
Zamów wydruk tego modelu
Obliczymy ostateczną cenę na podstawie wybranego pliku. Sprawdzisz ją i zaakceptujesz przed płatnością.
Zapisane na tym urządzeniu.
Informacje o modelu
- Źródło
- Printables
- Kategoria
- Electronics
- Licencja
- Creative Commons — Attribution — Noncommercial — Share Alike
This is a case I remixed for a plugged-in environment brightness sensor using Wemos D1 mini and dome type BH1750FVI brightness sensor module.
There are two pitfalls about this sensor module:
- It contains an on-board regulator so VCC can be 3.3V-5V. However it appears to also contain an on-board level shifter, thus the power supply cannot exceed 3.3V when using with ESP8266, otherwise you risk damaging the I2C pins.
- The ADDR pin floating can cause undefined behaviour. Tie it to either GND (0x23) or VCC (0x5C).
Connect as follows: VCC-3.3V, SCL-D1, SDA-D2, GND-GND. Also I bridged the ADDR pin to GND on the module itself.



Here is the ESPHome profile I am using:
esphome:
name: esp8266-lightsensor
friendly_name: esp8266-lightsensoresp8266:
board: d1_mini
logger:
api:
encryption:
key: "ChangeMe"
ota:
password: "ChangeMe"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
i2c:
sda: D2
scl: D1
scan: false
frequency: 400khz
sensor:
- platform: bh1750
address: 0x23
name: “Room Illuminance”
device_class: illuminance
unit_of_measurement: lx
accuracy_decimals: 0
update_interval: 1s
filters:
- or:
- delta: 3.0
- throttle: 5s