Trying to help my second-grade sons vision come to life for a project. Looking for the simplest way to make an object rotate 90 degrees when a switch is engaged and return back to its original position once the switch is released. Project will also have a 12v slide actuator, so I was hoping to use the same battery if possible.
Hi @TDB and welcome to our forum.
The first thing that comes to my mind is using Arduino and servo motor. By connecting the switch to Arduino, you can write a simple program that will send a commands to servo depending on the status of the switch.
There are a lot of online tutorials that show how to do this:
https://www.google.com/search?q=control+servo+via+button&rlz=1C1GCEU_enRS1050RS1050&oq=control+servo+via+button&gs_lcrp=EgZjaHJvbWUyCwgAEEUYChg5GKABMgkIARAhGAoYoAEyCggCECEYFhgdGB4yCggDECEYFhgdGB7SAQg3MzE1ajBqN6gCALACAA&sourceid=chrome&ie=UTF-8
Is this too complicated for you?
Hey thanks for the input. I have never dabbled with these things but I think I can follow the link and figure it out. Thanks again!
You are welcome!
Let us know if it works in the end.