D1 mini Environment Brightness Sensor

D1 mini Environment Brightness Sensor

prusaprinters

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-lightsensor esp8266: 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

Download Model from prusaprinters

With this file you will be able to print D1 mini Environment Brightness Sensor with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on D1 mini Environment Brightness Sensor.