Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [servo]

A servo is a type of motor which uses a feedback mechanism for precise control of speed and position.

3
votes
1answer
499 views

Powering Multiple Servos From One Battery- What is my circuit missing?

I'm working on a robotics project right now and my limited DIYer knowledge of electrical circuits is failing me. I need to power 7 Rage Standard Metal Gear Servos (RGRS104-16-6vm) and 4 RadioShack ...
2
votes
1answer
301 views

Multiple servos noise

I'm building an application that uses 20 servo motors, and i control then with an Arduino Mega. The servos are having some instability, to the point where they make small random swings. Im powering ...
1
vote
1answer
423 views

Can't move servo with my Nano

I'm new to this kind of thing. My code works on my Uno without problem with two separate servos. I've ensured that it's not any faulty leads, having tried a few other circuits with LEDs, buttons and ...
1
vote
1answer
204 views

PCA9685: how “unset” PWM signal?

I use my Arduino with Adafruit PCA9685 servo controller. To set PWM signals I use the provided library: https://github.com/adafruit/Adafruit-PWM-Servo-Driver-Library It allows easily set PMM signal ...
1
vote
1answer
284 views

Adapt Dynamixel library to different shields

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
1answer
12 views

How to hook up led matrix 1088AS to a PCA 9685 servo controller? there is a way?

I'm confused about the pinout, I can't figure out which fisical pin of 1088as red led matrix must to hook up to the PCA9685, if there is a way to do this I found this image the final target is to ...
2
votes
0answers
2k views

Sending data from Arduino UNO as a SOAP request

I have a servo motor on one end which can be turned ON and OFF with web service sending SOAP request. In the other end I have my Arduino UNO with ESP8266. Currently, I am able to send HIGH or LOW ...
2
votes
0answers
995 views

Power servo with external power using a hacked USB cable

I want to use a servo motor and control it by an Arduino Duemilanove (or a Leonardo). It seems to work fine when I connect it directly to Arduino's VCC, GND and an PWM pin. But I am a bit worried if ...
2
votes
0answers
981 views

Controlling Dynamixel MX24T, MX64T servo wirelessly using Arduino Mega?

I am planning to control multiple Dynamixel servos (MX28T or MX-64T) wirelessly using an Arduino Mega. Since this servo uses serial communication, I need an additional serial port to interface with ...
1
vote
0answers
59 views

ALLBOT knee joints not moving

I am trying to write a simple script for an ALLBOT, but am encountering a very peculiar issue. With the following code, I can align all the servos: #include <Servo.h> #include "constants.h" // ...
1
vote
0answers
33 views

Using servos in voltage sensitive circuit

I'm currently using a breadboard Arduino Uno clone. Basically a Atmega328p powered using an L7805 linear regulator with a 10uF capacitor on both the input and output. The Atmega328p is connected ...
1
vote
0answers
267 views

This is a flood sensor. Moisture sensor and servo working together but it shows different errors

Sometimes the servo moves unnecessarily without moisture sensor giving out any readings. Another problem is that the servo moves very slowly. Is there a way to counter this problem? const int ...
1
vote
0answers
337 views

Serial Monitor Stops Working

I am using a DIY colour sensor (RGB LED and LDR) and a servo to make a skittles sorter. I am testing out just the colour detection now and printing the RGB values to serial. It worked fine until I ...
1
vote
0answers
682 views

Servo motor and the servotimer2

I posted this a few days ago Servomotor and music shield and now I moving my servo motor and my musicshield (seeduino musicshield v2.0) together with and Arduino uno, in my other post they told me to ...
1
vote
0answers
54 views

IR sensor not detecting light or dark sufaces

I wrote code for the vibrating motors to vibrate when an IR sensor detects a darker surface. I have 4 vibration motors for corresponding 4 IR sensors. My program is not able to read the values from ...
1
vote
0answers
100 views

What kind of control method in my code will allow me to control multiple servos with phase shifts

I am building a quadruped robot, and I need to keep all four legs moving continuously and out of phase with respect to each other to produce a smooth gait and to prevent falling over. I wish to ...
1
vote
0answers
58 views

How can I call the variable **Servo::write** in Arduino for my 360 servo?

I'm trying to control a Servo with a push button and to help me watching if it is working I am using a LED but I'm not sure if I'm doing it well the Servo::write so I need you to tell me what am I ...
1
vote
0answers
344 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 ...
1
vote
0answers
435 views

Controlling 20 servo motors independently with a single Arduino

I am wondering if I can control 20 different servo motors with only a single Arduino Uno board. My motors must be able to rotate in both directions and I also should be able to define the speed for ...
1
vote
0answers
193 views

Adding a kill switch for servos with states - blink without delay code

I have many LEDs and two servos connected to one Arduino Uno, and the servos are programmed to move randomly indefinitely. However, I would like to install a kill switch for the servos by reading a ...
1
vote
0answers
24 views

is it possible to code microservo automatically stop when the speed of rotation getting slower?

my group is doing a project which call automatic bed maker. we want to use a servomotor to pull the sheet of the bed. can we possibly make the servomotor stop rotate when the speed of rotation ...
1
vote
0answers
163 views

Marlin: change servo values while moving?

I am working on a graffiti draw bot (like this one) powered by the Marlin firmware. A servo presses the spray to paint the wall. I need to change the servo up/down value while the robot is painting (...
1
vote
0answers
51 views

Easy way to connect and control 3 servos

I need to connect and control three Parallax Standard Servos to an Arduino board, and apart from the USB connection, nothing else will be connected to the board. My predecessor used a setup of and ...
1
vote
0answers
1k views

How to reverse BLDC motor using programming arduino?

I bought ESC from here but it rotates motor in one direction only. Is there any program which will control direction of rotation clockwise or anticlockwise with same wire configuration.
1
vote
0answers
916 views

Unexpected Timer Conflicts (Uno)

I've been working on a project (Arduino Uno: Atmega328) that implements a gyroscope (which is used with the LSM9DS0 spark-fun library) that is communicated with through I2C and uses a Servo library. ...
1
vote
0answers
2k views

Servotimer2.h is not recognised as a library by arduino uno

I'm doing a project for school with an arduino uno. I want to control a motor using a RF-module as remote control. I need the library Virtualwire.h to use the RF-module and the library Servo.h to ...
1
vote
0answers
313 views

Servo Issues with Arduino

I am trying to execute the sweep program but all the servo does is go back and forth in one step. When I tried changing the delay, It behaves erratically. Servo Specs: Required Pulse: 3-5 Volt Peak ...
1
vote
0answers
2k views

Which Timer can I use to control a servo with Arduino Uno

I would like to control 2 motors using Timer2 @ 200Hz. The frequency of the timer is printed in the main loop every second. I'm using an Arduino Uno with two interrupt used for the encoders connected ...
1
vote
0answers
87 views

27 Servo Project, Uno with Adafruit's 16-Channel Drivers

I'm working on a project where I need to be able to control 27+ servos. The problem is that I am unsure how to control them from a computer. I'd love to build a simple program with a user interface ...
1
vote
0answers
460 views

Servo position initiaition using PySerial unexpected results

Hi I'm using Brian Wendt's code for setting up my Arduino Nano with 4 servos using PySerial which works perfectly. So my next step was to get a nice GUI with sliders to position the servos, again no ...
1
vote
0answers
755 views

Motor Shield with 4 DC motors + small servo, which battery is suitable?

I am building my first 4wd vehicle with Adafruit motor shield with one Ultrasonic sensor and one small servo to move sensor. I am facing some problems. Bought 4 motors (2 GM9 and 2 GM3), found the ...
1
vote
0answers
225 views

Help to understand multiple PWM working together

I'm very new to arduino related stuff so this question might be really easy to answer. I don't understand how multiple PWM outputs are supposed to work. Look at the pic. In the first(1) case we are ...
1
vote
0answers
777 views

Using an ultrasonic sensor to act as a potentiometer for a Servo?

I would just like to start off by saying that I am new to Arduino so my code and approach to the wanted outcome are probably not the best. Anyway, I had the idea of using an ultrasonic sensor and my ...
1
vote
0answers
798 views

Galileo - servo motor moves only in one direction and it doesn't turn back

I have an Intel Galileo (1st gen) and a servo motor (Tower Pro SG90). My problem: my servo moves only in one direction and it doesn't turn back. I want to perform a movement from 0° to 90° and then ...
1
vote
0answers
97 views

Can I use the SVG headers on the SainSmart Uno to drive servos?

I am working with a Sainsmart Uno with SVG header pins. This header is really convenient for hooking a servo to directly, so I have two servos connected to it on D9 and D10 and a 9v battery supplying ...
0
votes
0answers
41 views

Multiple Servo motors with an ultrasonic sensor

I am building a robot arm with 6 servo motors that works with an ultrasonic sensor. The purpose of the program is when an object is detected at 20 cm (fixed position) from the sensor, the buzzer and ...
0
votes
0answers
23 views

Servo doesn't move with fingerprint

I've a project which i need to make a door open and close using the fingerprint. I've successfully made fingerprint works just fine it reads and confirm the fingerprints stored in it but the servo ...
0
votes
0answers
16 views

Will this power supply work with a MG-996R Servo?

I'm trying to power a tower MG-996R servo with this universal AC power adapter for an arduino uno project. The adapter can output: 3V/4.5V/5V/6V/7.5V/9V/12V.Output current:1.2A, also has a USB port:5V ...
0
votes
0answers
15 views

Cannot access a servo library with my program

As I tried an new exercise, I came to an other problem. although I put an include in my system (#include ), the program will not acknowledge (Servo myservo); and again a problem? Any help?
0
votes
0answers
30 views

Question about controlling servos with PWM while being able to accurately read the current from a sensor

Hi I am hoping to design a custom board ATMEGA32u4 with practically a Arduino leonardo bootloader. I plan to control up to 12 servos while being able to read back the current sensor voltage of an ...
0
votes
0answers
59 views

Servo motor rotates back to 0 after reaching destination

I am using a XMG-996R servo motor. It is controlled by and Arduino Uno board. The problem is when I tell it to go to a certain angle, it will rotate to the desired position but then return to 0. The ...
0
votes
0answers
127 views

Servo.h and ServoTimer2.h difference

So i'm trying to code a servo motor to turn left when a button is pressed and turn right if another button is pressed i already have a code for it on the servo.h library but it has a problem with the ...
0
votes
0answers
48 views

Controlling motors via accelerometer not working

I want to control the 2 servos(pan tilt) using accelerometer data value from android app. Im using nodeMCU v3, 2 servos(pan tilt) and smartphone. Connection: servos(pan tilt) is connected to 5 v ...
0
votes
0answers
108 views

Using the Adafruit_PWMServoDriver within a function 'crashes' Arduino Nano

Just switched out an Arduino 101 for a Nano and having trouble since then. When the following function is called, the Nano stops responding or doing anything. void thumbMove() { //interupt the ...
0
votes
0answers
225 views

Using Servo with External Power

I am using an MG946R Servo. When I use the power directly from the Arduino (Uno) and do a sweep, it works as expected. However, when I replace the Arduino power with external power, the Servo either ...
0
votes
0answers
51 views

Servo position is always changing

When I send an SMS like this: Tilt:090 Azimuth:120 First time an SMS is read, the servo rotates to the correct position, but after they change a small angle, it's like noise. I do following ...
0
votes
0answers
65 views

Lightweight PWM Servo range modification

Not having worked with servos on arduino I'm not sure how to go about this or if an arduino is the best solution. I have looked at servo actuation tutorials and can get a servo to move but rather than ...
0
votes
0answers
385 views

Servo motors suddely stopped moving and a clicking sound can be heard

I think I might have shorted something by accident. I have just purchased the Elegoo Robot Car Kit v2.0. Putting things together was relatively easy. I also managed to run the first example, which ...
0
votes
0answers
58 views

How to tune up a servo and add protective clauses?

I am working with an Arduino Uno, and have recently been given an assignment to use the servo motor. The requirements are that I tune the pulse widths while comparing the 0 and 180 degrees. Secondly I ...
0
votes
0answers
98 views

Servo motor - feedback modification

I soldered an extra wire to the middle pin of the pot inside the servo motor because I need to get feedback for the position of the servo motor. The problem now is that when I connect this extra wire ...