This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Light input to signal Sound output as an alarm
#1
I would to like to experiment on something like an alarm when someone corsses a light barrier.

So if someone stands in fornt of the phone and the light input decreases a specific value I would love to hear a sound untill the light input is back over my specific value.

I do unfortunatly totaly fail at coding and building the experiment.

Can please someone help me?
Reply
#2
You could have a look into https://phyphox.org/forums/showthread.ph...56#pid3756 and copy the relevant parts* that produce a sound to the light sensor experiment.

* just anything that's new compared to the original gyroscope experiment Smile
Reply


Forum Jump: