A servo is a type of motor which uses a feedback mechanism for precise control of speed and position.
0
votes
2answers
20 views
How can I make this button toggle the position of a servo?
I am trying to make something so when I press the button it sets the position of the servo to 50 and then when I press it again, it sets it to 150. The button is momentary not a toggle switch. This ...
0
votes
0answers
10 views
In what library can I find the equivalent of servo.detach() in Python? [on hold]
I want to stop the impulses being sent in the control loop of the servo after I set a position.
I know this is not the norm but in this case it is with a specific goal in mind.
I am controlling my ...
0
votes
2answers
41 views
Servo motors not working when called upon using I2C
So I'm using this movement() function inside the slave Arduino Uno, which basically handles two stepper motors and one servo motor. When I call this function through the Serial.read() of the Arduino ...
1
vote
0answers
49 views
ATtiny Mapping PPM Inputs to Move Servo Issue
Short Version:
Not able to get a servo to move to mapped input from RC remote control PPM signal.
Detailed Verison:
I am trying to take an input signal from a hobby RC radio (D4RII receiver ppm ...
0
votes
0answers
21 views
Cannot control servo engine via write()
I'm trying to control a micro servo engine (Modelcraft MC1811) via an Arduino UNO by telling it to move to specific angles. I've broken down the code and hardware to the bare minimum: Servo engine ...
1
vote
1answer
17 views
Adapt dynamixel library to different shield
I have been playing around with this shield for a couple of days now and I have to agree with some statements made in the comments that the "library" lacks many functions.
However I have discovered ...
0
votes
2answers
49 views
Servo/Motor for barrier gate [closed]
I am working on a small project that will need to check for proper UPC's then if validated, lift a barrier gate to move along cardboard boxes. The Arduino comes in with the gate lifting. I have this ...
3
votes
1answer
54 views
How to execute commands on Arduino (via PC) without touching the current sketch?
I am working on my first Arduino project. It's a Reverse Geocache. Basically, it's a puzzle where a battery-powered Arduino is mounted inside a locked box, and is able to unlock the box if the user ...
0
votes
0answers
16 views
servo simulator not working [duplicate]
#include <Servo.h>
Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most boards
int pos = 0; // variable to store the servo position
void ...
0
votes
1answer
49 views
Why is the loop() stopping?
I would like to move my servo motor (SM-S2309S) between random angles. In order to do so, I used this simple code:
#include <Servo.h>
Servo servoMain; // Define our Servo
// SM-S2309S angular ...
0
votes
0answers
14 views
Why is my servo motor trembling at 180°?
I am starting with Arduino and wanted to use the servo motor included in my beginner kit (SM-S2309S) to create a game for my family cat.
I manage to move it from 0° to 180° (and everything in between)...
0
votes
1answer
29 views
Controlling a Servo Motor through a Computer
My project goal is to control a servo motor via Arduino UNO Bluetooth. When the Arduino sends certain messages to the computer, I want the computer to turn the servo motor in a certain direction.
...
0
votes
1answer
58 views
Sweeping servo 90 degrees
#include <Servo.h>
Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most boards
int pos = 0; // variable to store the servo position
void ...
0
votes
2answers
39 views
Controlling servo with IR led and photodiode
I have found myself a really nice scheme of a buzzer that is controled by the IR led and photodiode by I want to upgrade it so it can be used for controlling a servo. What I have in mind is that when ...
0
votes
1answer
41 views
How can I stop my Servo rotating?
I have a continuous servo motor connected to my Arduino UNO. I want it to react to the Hexadecimal code received by an Infrared remote. I want the motor to rotate once in one direction and then rotate ...