Skip to content

MicroPython module for work with BH1750 Ambient Light Sensor (ALS)

License

Notifications You must be signed in to change notification settings

octaprog7/BH1750

Repository files navigation

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).

  1. +VCC (Supply voltage)
  2. GND
  3. SDA
  4. 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

alt text

Breadboard

alt text

About

MicroPython module for work with BH1750 Ambient Light Sensor (ALS)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages