Giter VIP home page Giter VIP logo

apds-9301_breakout's People

Contributors

bboyho avatar mhord avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

apds-9301_breakout's Issues

Double Check for v10

  1. Are measurements included for outer dimension and standoffs (Eagle layer 47)? [NO]
    comment: Measurement units are not included.

  2. 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

Gain scaling

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.