Measure brightness in Lux using BH1750 sensor on Spark core

bh1750_spark

Davide Gironi writes:

A Spark.io library for the BH1750FVI IC.
The BH1750 IC is a light intensity sensor module with built-in a 16 bit AD converter generating digital signal. With the BH1750 Light Sensor intensity can be directly measured by the luxmeter, without needing to make calculations. This library provides function to measure lux through I2C on a Spark Core.

Code is available on GitHub.

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.