sparkfun / apds-9301_breakout Goto Github PK
View Code? Open in Web Editor NEWBreakout board for the APDS-9301 lux sensor
Breakout board for the APDS-9301 lux sensor
Are measurements included for outer dimension and standoffs (Eagle layer 47)? [NO]
comment: Measurement units are not included.
Are all PTHs (aka connectors) clearly labeled with their purpose on both sides of the board? [NO]
comment: Small form factor, no space for silk on underside.
Since you have the space could you beef up the size of the address and VCC range text on the schematic?
Thanks,
Elias
After reading light levels from multiple APDS-9301 boards using this library, I have found that the values returned by APDS9301::readLuxLevel()
are at least an order of magnitude lower than expected and as measured from a phone app (though such measurements are not expected to be terribly accurate). Still, I found this library differs from how the TSL2561 library treats the empirical formula for lux found in the APDS-9301 data sheet. This library assumes that formula applies to the low gain readings, while the latter assumes it applies to the high gain readings (see here); the data sheet itself is ambiguous as to the gain to be used in that formula.
The end result is that the two libraries give lux values different by a factor of 16. Given my comparison with other sensors, I suspect the scaling in this library is incorrect. A fix would be to replace:
if (getGain() == HIGH_GAIN)
{
ch0 /= 16;
ch1 /= 16;
}
with:
if (getGain() == LOW_GAIN)
{
ch0 *= 16;
ch1 *= 16;
}
Can anyone confirm a scaling issue and, if so, apply the fix?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.