xsherlock Geschrieben February 25, 2015 at 11:50 Geschrieben February 25, 2015 at 11:50 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 Zitieren
borg Geschrieben February 25, 2015 at 14:34 Geschrieben February 25, 2015 at 14:34 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. Zitieren
xsherlock Geschrieben April 17, 2015 at 13:00 Autor Geschrieben April 17, 2015 at 13:00 It worked! on the brick viewer it goes up to 4-6 lux from 0.0 lux. So with the treshold of 3 it counts flashes from a tiny red led on the power counter just fine. Zitieren
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.