phyphox Forums
Light input to signal Sound output as an alarm - Printable Version

+- phyphox Forums (https://phyphox.org/forums)
+-- Forum: Discussion (https://phyphox.org/forums/forumdisplay.php?fid=1)
+--- Forum: Experiments and Ideas (https://phyphox.org/forums/forumdisplay.php?fid=4)
+--- Thread: Light input to signal Sound output as an alarm (/showthread.php?tid=2040)



Light input to signal Sound output as an alarm - johnnybravo - 11-14-2024

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?


RE: Light input to signal Sound output as an alarm - Jens Noriʇzsɔɥ - 11-18-2024

You could have a look into https://phyphox.org/forums/showthread.php?tid=1801&pid=3756#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