Good day. Help with the solution of this issue, is it possible to control the servo using a micro switch through arduino??? There are many options for conventional motors, but there are none with servos.
You posted your question in the incorrect section of the forum. This section is for problems using the Arduino IDE version 1.x to upload sketches/code to your Arduino.
I will move your question to a more correct forum section.
Surely possible. Been there done that.
Press button, servo moves to a specific position. Release button, servo moves back. Easy. Can be done in a single line of code.
All of these options are suitable for my desire to learn how to connect and program.
But from the very beginning I am interested in this information: 1 servo has 180 degrees, let’s say I set it to 90 in the code, when I click 1 the servo switch should move to the 60 degree position, then if I press 2 the servo switch should return to the advance position that I set in the code to the same 90 degrees
If I understood correctly how it works, there is a wheel on the micro switch when pressed, does a certain thing that is connected turn on? Does it work a little differently?
I have never worked with it, so I don't understand it well.
A microswitch, like all kinds of (momentary) switches, does one thing: make and break a circuit. No matter how it looks like, or whether there's a foot pedal or huge round red dome or whatever attached to it. For that matter they all work the same, regardless of how they look.