Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/octaprog7/BH1750
MicroPython module for work with BH1750 Ambient Light Sensor (ALS)
https://github.com/octaprog7/BH1750
als micropython sensor
Last synced: 3 months ago
JSON representation
MicroPython module for work with BH1750 Ambient Light Sensor (ALS)
- Host: GitHub
- URL: https://github.com/octaprog7/BH1750
- Owner: octaprog7
- License: mit
- Created: 2022-07-17T18:40:35.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-12T19:04:53.000Z (about 1 year ago)
- Last Synced: 2024-04-30T06:32:21.980Z (6 months ago)
- Topics: als, micropython, sensor
- Language: Python
- Homepage:
- Size: 9.74 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-micropython - BH1750 - MicroPython module for the BH1750 ambient light sensor (ALS). (Libraries / Sensors)
README
# 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. SCLUpload 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](https://github.com/octaprog7/BH1750/blob/master/ide1750.png)
## Breadboard
![alt text](https://github.com/octaprog7/BH1750/blob/master/bh1750board.jpg)