Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

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 

Geschrieben

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...
Geschrieben
  • Autor

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. 

Join the conversation

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

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.