Jump to content

How fast is ambient light sensor?


Recommended Posts

Posted

Can I use it to detect the flashes of red led on the grid Power Metter.

I have such a system done on the RPI with custom photoresistor but it would be so much easier just to get the bricklet.

 

The envirnment will be pitch black and the sensor will by glued to the led, but the flash is short, maybe 50 ms.  Is that enought to register the change by the ambient light sensor? I miss the info in the documentation how fast is the sampling on that one.

 

Regards

Maciej 

Posted

That should be enough. The adc value is evaluated 1000 times per second.

 

Edit: I would recommend that you measure how bright your LED flash is and that you use a threshold callback. This way you don't have to spam the USB bus with unnecessary messages.

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...