Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Human-visible light levels - Adafruit Breakout board with I2C

by anita2R (Scribe)
on Feb 14, 2017 at 14:58 UTC ( #1181976=note: print w/replies, xml ) Need Help??


in reply to Re: Human-visible light levels - Adafruit Breakout board with I2C
in thread Human-visible light levels - Adafruit Breakout board with I2C

stevieb

"There are apps out there for smartphones that are reasonably accurate (at least accurate enough to tell whether your numbers are within a reasonable range)."

A quick check with an app for my ipad shows that the results from the breakout board are in the right ballpark.
I need to test over a wider range of light intensities, but now I feel happier that I haven't got it completely wrong!

  • Comment on Re^2: Human-visible light levels - Adafruit Breakout board with I2C
  • Download Code

Replies are listed 'Best First'.
Re^3: Human-visible light levels - Adafruit Breakout board with I2C
by stevieb (Canon) on Feb 15, 2017 at 04:23 UTC

    I've found that dealing directly with hardware and reading registers yourself can be tedious and frustrating, especially when it's difficult to find reference points (testing lux is definitely one of these times, as someone across the 'net may have several 1kW bulbs burning, but their bulbs may have x, or y, or z or any number of other spectrum-diffusing things happening).

    I'm glad the recommendation for an app helped. After my units arrive, I'll drum up some code being non-biased, and we can compare some numbers (again though, I'm sure my light source'll be different from yours. However, there's always one that is pretty consistent ;)

    I often write C against my Arduino that has analog inherent, then translate the C code to something I can provide a Perl API for, so I get results on two separate platforms (for instance, my ADCs/dpots I test against the Arduino, then port to the Rasperry Pi). I'm looking forward to getting these units so I can have someone live-time to compare numbers with and discuss.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1181976]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2020-12-03 01:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (49 votes). Check out past polls.

    Notices?