BH1750
BH1750
Micropython module for BH1750 ambient light sensor.
Just connect your BH1750 board to Arduino, ESP or any other board with MicroPython firmware.
Supply voltage BH1750 3.3 or 5.0 volts! Use four wires to connect (I2C).
- +VCC (Supply voltage)
- GND
- SDA
- SCL
Upload micropython firmware to the NANO(ESP, etc) board, and then four *.py files: main.py, bh1750.py, bus_service.py, base_sensor.py. Then open main.py in your IDE and run it.
Pictures
IDE
Breadboard
Описание
Модуль для работы с датчиком внешней освещенности BH1750 (ALS). MicroPython.
Языки
Python