Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VEML7700 Light Level Sensor #398

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

mschlenstedt
Copy link
Contributor

Add VEML7700 Light sensor, based on library from Adafruit. Config example:

sensor_modules:
- chip_addr: 0x10
  module: veml7700
  name: veml7700_1
  gain: 0.125
  integration_time: 25
sensor_inputs:
- digits: 4
  interval: 30
  module: veml7700_1
  name: illuminance_veml7700
  type: lux_corrected
  retain: true

The module also implements the correction formula mentioned in the datasheet https://www.vishay.com/docs/84323/designingveml7700.pdf for lux values > 1000. This is not supported by the original adafruit library yet. Use type "lux_corrected" for the correted value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants