Нет описания

lanselambor 84bcb8a27f add keywords.txt 8 лет назад
examples 22a8e1782f add version 2 9 лет назад
.gitattributes 6e5a9f6440 Library file for testing the lux 13 лет назад
.gitignore 6e5a9f6440 Library file for testing the lux 13 лет назад
Digital_Light_ISL29035.cpp c5cd182c55 fix compatibility with arduino IDE 1.5.x, fix issues when not plugin the sensor. 8 лет назад
Digital_Light_ISL29035.h c5cd182c55 fix compatibility with arduino IDE 1.5.x, fix issues when not plugin the sensor. 8 лет назад
Digital_Light_TSL2561.cpp 3a239bfe97 fix an issue that will hang the program when the reading of ch1 equals 0 9 лет назад
Digital_Light_TSL2561.h 70f78448f0 added a judgement for channel 0 out of range to avoid invalid lux calculated. 11 лет назад
License.txt cf366efc72 add license and update readme 12 лет назад
README.md 901496f3cb resize produxt image 8 лет назад
keywords.txt 84bcb8a27f add keywords.txt 8 лет назад
library.properties 301dc4d376 library manager feature files 8 лет назад

README.md

Grove - Digital Light Sensor

Version 1

This module is based on the I2C light-to-digital converter TSL2561 to transform light intensity to a digital signal. Different from traditional analog light sensor, as Grove - Light Sensor, this digital module features a selectable light spectrum range due to its dual light sensitive diodes: infrared and full spectrum.

You can switch between three detection modes to take your readings. They are infrared mode, full spectrum and human visible mode. When running under the human visible mode, this sensor will give you readings just close to your eye feelings.

Version 2 (Fixme when we have a bazaar image)

The version 2 hasn't been on the shelf now.

Usage:

This is an Arduino Library of Grove - Digital Light Sensor (two versions).

Include the corresponding header file

Version 1:

#include <Digital_Light_TSL2561.h>

Version 2:

#include <Digital_Light_ISL29035.h>

Initialization:

//for v1
TSL2561.init();
//for v2
ISL29035.init();

Get the Lux reading of visible light

unsigned long readVisibleLux();


For more information, please refer to wiki page.


This software is written by zhangkun for seeed studio and is licensed under The MIT License. Check License.txt for more information.

Contributing to this software is warmly welcomed. You can do this basically by
forking, committing modifications and then pulling requests (follow the links above
for operating guide). Adding change log and your contact into file header is encouraged.
Thanks for your contribution.

Seeed is a hardware innovation platform for makers to grow inspirations into differentiating products. By working closely with technology providers of all scale, Seeed provides accessible technologies with quality, speed and supply chain knowledge. When prototypes are ready to iterate, Seeed helps productize 1 to 1,000 pcs using in-house engineering, supply chain management and agile manufacture forces. Seeed also team up with incubators, Chinese tech ecosystem, investors and distribution channels to portal Maker startups beyond.

Analytics