This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OPT3001-Q1: OPT3001-Q1

Part Number: OPT3001-Q1

Hi SIr,

Would you pls advise how correct to read Lux of OPT3001-Q1?

According document, we should read Register address 0x00 (Result) to calculate Lux.

But I read it, just get 0x00 (2 bytes)

I try to change Register address 0x01 Configuration, from initial 0xC810  to others (0xB814, 0x0804, 0x0000, 0xC810)

and re-read register address 0x00 (Result), it only report 0x0744 或 0x1744,

it will not back to 0x00, and will not change to 0x0744 and 0x1744  (calculate lux is 18.6 and 37.2)

Can you advise how to read Lux of OPT3001-Q1?

Thanks, Ian.

  • Hi Ian,

    Yes you power up the device by setting the mode in the config register and then read the result register and apply the lux formula from the datasheet 0.01*mantissa*2^exponent

    Best,

    Alex

  • Hi Alex,

    My Lux calculation is no problem, and the problem is how to set the optimal Configuration setting (the customer ask me to verify the Lux of OPT3001-Q1, but did not provide Configuration conditions)

    Could you provide a best recommended Register Configuration setting value? In addition, after verification the lux value, the Configuration value is restored to 0xC810, is it more power-saving?

    Thanks, Ian.

  • Hi Ian,

    While I cannot give an optimal config setting without knowing what the customer requirements, I can give a suggestion that generally works well. The default setting of auto range mode will allow device to select optimal range setting. Default is 800ms conversion time. This gives best accuracy but customer needs to decide if they need 100ms for the faster data rate. For simple they can bring the device out of power down by changing mode setting in config reg from power down to continuous or single shot. I would suggest continuous if customer is expecting device to continually take data. In terms of reading data customer also needs to device if they want to poll the device or configure interrupt modes.

    0xC810 is default register value with device in power down. Yes, in power down the device will use less power. 

    Best,

    Alex