TroubleshootingArduino

SEN0390 Ambient light sensor collection time

userHead AgustinOrro 2022-08-11 09:13:58 1044 Views1 Replies

I am using the SEN0390 sensor with Arduino but I see that its sampling frequency or collection time is quite slow since it takes time to update the value of the current light intensity.

I see that in the library you can define a "manual" mode (eManual) in which there are combinations of "CDR" and "TIME" but I don't know how to define these values. 

I tried with:


"myLux.setMode(myLux.eManual,myLux.eCDR_0,myLux.eTime25ms);"

 

Where I am defining manual mode, CDR_0 so that it does not divide the CDR and the collection time in 25ms. However, the behavior of the sensor remains the same, the sampling frequency does not change.

 

Has anyone already managed to change that parameter with said sensor?

2022-11-04 09:56:20

Please check the value returned by the serial port.

userHeadPic jenna