Make a quick hack for your home using the Particle platform. The solution should be personalised, but not to you.
This course charts the emergence of the now "connected world" to explore the possibilities for future products and connected spaces.
I'm interested to know how you can learn, the speed of the moving insect. Is it part of the code ?
I really hate flying insect!
No it haven't show in the code.
But you can document the action beamStatus = broken and beamStatus = intact.
it means when the insect touch the light and leave the light.
Though the time between two action, you will get the time the insect use to pass though the light.
And you already know the length of your LED. The speed of insect equal to the time divided by the length