I've been searching the Internet for weeks without success for the possibility of using a Keyes ky-008 laser module and detector to activate a servo motor once the beam is broken. Is it possible? I've have code for turning on and off an LED light once the beam is broken but I don't know how to modify it to activate a servo ........ If it's possible.
I have been helped with the sketch by POWER_BROKER.
He has helped me activate a servo once the beam is broken. All is good now everyone. Thank you for everyone's advice and especially Power_Brokers code/sketch.
I don't have any code.
I just said it was possible (for you to do).
This part of the forum is for people that know what they want, have the code, but it doesn't work as they expect.
So far I only know that you have a ky-008 laser.
Leo..