VEML6070 maximum value

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
giorgio_new
 
Posts: 76
Joined: Mon Apr 06, 2015 9:56 am

VEML6070 maximum value

Post by giorgio_new »

Hello, I am using this component: https://learn.adafruit.com/adafruit-vem ... t?view=all
What is the maximum value I can get? I am confused by what the datasheet describes about that... Can you help me?

User avatar
giorgio_new
 
Posts: 76
Joined: Mon Apr 06, 2015 9:56 am

Re: VEML6070 maximum value

Post by giorgio_new »

Any idea???

User avatar
adafruit_support_carter
 
Posts: 29469
Joined: Tue Nov 29, 2016 2:45 pm

Re: VEML6070 maximum value

Post by adafruit_support_carter »

What is the maximum value I can get?
Do you mean what is the maximum value you'll get back from some library function call? If so, what library are you using?

Or do you want to know what the max range of the sensor is? For that, look in the datasheet:
https://learn.adafruit.com/adafruit-vem ... /downloads

User avatar
giorgio_new
 
Posts: 76
Joined: Mon Apr 06, 2015 9:56 am

Re: VEML6070 maximum value

Post by giorgio_new »

Yes I mean what is the min and max values I can get from the library function call...? I use the Adafruit library.

User avatar
adafruit_support_carter
 
Posts: 29469
Joined: Tue Nov 29, 2016 2:45 pm

Re: VEML6070 maximum value

Post by adafruit_support_carter »

The reading is returned as a 16 bit unsigned integer, so possible value range is 0 to 65535.

User avatar
giorgio_new
 
Posts: 76
Joined: Mon Apr 06, 2015 9:56 am

Re: VEML6070 maximum value

Post by giorgio_new »

Ok, but here: https://cdn-learn.adafruit.com/assets/a ... ml6070.pdf it says: 5 steps per μW/cm^2/step. So 65535/5 = 13107 μW = 13 mW, but the datasheet says maximum optical power = 328 mW... What I miss here?

User avatar
adafruit_support_carter
 
Posts: 29469
Joined: Tue Nov 29, 2016 2:45 pm

Re: VEML6070 maximum value

Post by adafruit_support_carter »

That's the possible range for the sensor. You may not see the full range of a uint16_t (what the library returns) due to actual physical limits of the sensor. That's the sort of information you'd get from the datasheet.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”