Hello!
First post here in this forum!
I will be using a SG90 MicroServo to perform an automatic/no-human-interaction rotation movement along one axis from, for example, 0 to 15 degrees of rotation after being powered on. These values are not fixed yet, so it might be 0 / +20, as I am still building my contraption. Even though exact precision is not required, I do want it to move slowly.
Several numbered questions for an easier answer:
1. One straightforward way would be to use an Arduino and, instead of a POT to control the PWM length/duration, an automatic varying function from -x to +x value that could replicate the human interaction of rotating a POT. This said, how do you limit the speed at which the servo rotates? Limiting the current or the voltage, and how would you do it? Thing is...
2. Imagine I don't want to use an Arduino - I can remove the feedback POT from the servo and just control its direction of rotation by swapping polarity between VCC and GND, since they use simple Brushed DC Motors. Now I just need something that automatically reverses polarity.
I am 100% open to suggestions, and feel free to ask for some extra explanation in case something is not clear for you.
Cheers!
First post here in this forum!
I will be using a SG90 MicroServo to perform an automatic/no-human-interaction rotation movement along one axis from, for example, 0 to 15 degrees of rotation after being powered on. These values are not fixed yet, so it might be 0 / +20, as I am still building my contraption. Even though exact precision is not required, I do want it to move slowly.
Several numbered questions for an easier answer:
1. One straightforward way would be to use an Arduino and, instead of a POT to control the PWM length/duration, an automatic varying function from -x to +x value that could replicate the human interaction of rotating a POT. This said, how do you limit the speed at which the servo rotates? Limiting the current or the voltage, and how would you do it? Thing is...
2. Imagine I don't want to use an Arduino - I can remove the feedback POT from the servo and just control its direction of rotation by swapping polarity between VCC and GND, since they use simple Brushed DC Motors. Now I just need something that automatically reverses polarity.
2.1. What kind of electronic component can I use or what circuit can I build that every x seconds reverses the polarity on its output (i.e., where the servo power wires would connect)? Ideally it would take around 5-10 seconds between its maximum - and + amplitudes that I am still to define. How easy to tweak are these polarity reverse circuits or components?
2.2. Assuming the motor will still be moving way faster than I want it to, what would be the solution to move it slower? Does it generally come integrated in any component that I can buy to reverse the polarity, or I'd be able to do it by supplying different voltages or reducing the amps flowing to the motor with resistors?
I'd rather have it without the micro controller since for this task it is an overkill. It is basically just a tilting mechanism, to behave much like a pendulum, slowly and without the need of being too accurate at all. Ideally, all I do is flip a power switch manually and the mechanism would start penduluming by itself - not yet decided if I want it to take 3 seconds to move to each side, or 10, but that's it. I'd have a small set of batteries for power, the reverse polarity component, and the servo.I am 100% open to suggestions, and feel free to ask for some extra explanation in case something is not clear for you.
Cheers!