Driver for an Intersil ISL29023 ambient light sensor.
All correct at time of writing, but as always, manufacturers love to move things around on their website.
Intersil require you to register and request a full datasheet.
This implementation assumes a 499kOhm Rext resistor. See http://www.intersil.com/data/fn/fn6691.pdf
This code has been tested using a SolderCore CoreLight module:
http://soldercore.com/products/sensecore/corelight/
This was plugged into a SenseCore:
http://soldercore.com/products/sensecore/
And finally installed on a SolderCore:
http://soldercore.com/products/soldercore/
Parameter | Supported settings |
Range (lux) | 1000, 4000, 16000, 64000 (default) |
Resolution (bits) | 4, 8, 12, 16 (default) |
Communication | up to 400 kHz (I2C) |
Macros | |
ISL29023_I2C_ADDR | ISL29023 8-bit I2C address |
Types | |
ISL29023_DRIVER_t | ISL29023 light sensor |
Functions | |
isl29023_initialize_i2c | Initialize sensor on I2C bus |
isl29023_set_range | Set sensor range |
isl29023_set_resolution_bits | Set sensor resolution |