Skip to main content

Questions tagged [servo]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
477 views

I want to power one SG90 servo with an 18650 3.7v battery. Since the working range for the servo is 4.8v-6v, I used XL6009 boost converter and got a 5.8v output. I have measured it with my multimeter. ...
Denys Bielov's user avatar
0 votes
1 answer
347 views

I'm new in using ESP32 boards. For some reasons, the servo motor is not working when RGB LED code is used. I have looked everywhere and I did not see any solution for this. Any help is appreciated. ...
rover cj's user avatar
-1 votes
1 answer
762 views

I am a beginner and tried powering MG996R Tower Pro (180 deg Metal Gear) Servo from Arduino UNO and ended up hibernating the host PC. I want to power 2 such motors (in parallel configuration) for lets ...
Aditya Jain's user avatar
7 votes
1 answer
556 views

I learned in school that typical servos use a simple "PWM" system to control a servo. To do this, we would generate a 1000 µs pulse to put the servo at 0 degrees and a 2000 µs pulse to set ...
DSdavidDS's user avatar
0 votes
0 answers
447 views

I am working on a project where I want to connect 12 servos together. I got: Arduino Nano Every PCA9685 16-channel, 12-bit PWM/servo shield Power supply 5 V, 10 A I got a PCA9685 16-channel, 12-bit ...
Mario Avila's user avatar
1 vote
2 answers
89 views

I made code to make 2 servos work. the sequence of working is to make the servo 1 start rotate 2 cycles then stop and the second servo start rotate for another 2 cycles then detach both of them. I ...
Salma's user avatar
  • 11
-1 votes
1 answer
175 views

I am trying to use an Adafruit PCA9685 servo driver module with an ELEGOO Mega 2560 board. I am supplying the servo driver board with 5 V and tested all the wires to make sure. I tested the servo ...
Blaze48gamer's user avatar
-1 votes
1 answer
537 views

I have a school project due tomorrow, and I'm planning to connect a servo motor with an ultrasonic sensor. If the distance is under 10cm, the servo motor should turn 180 degrees and will return to 0 ...
pinkuro's user avatar
1 vote
2 answers
173 views

I have only ever been able to get this servo to “somewhat” work when connected to the 5 V pin on the shield, the ground on the shield, and the signal line attached to whatever pin. But 5 V is not ...
ConnorC's user avatar
  • 11
0 votes
2 answers
2k views

I'm new with arduino (nano). I am having problems with Servo MG90S, I cant make it move. Im doing the easiest test, Servo cables connected: Brown -> gnd Red -> 5v Orange -> pin 9 my arduino ...
Juan MP's user avatar
  • 13
1 vote
1 answer
584 views

I'm encountering a problem with my Arduino Nano board. When I attempt to upload sketches to the board using the Arduino IDE, only the Power LED lights up, and the TX and RX LEDs remain inactive. I've ...
Ryuu's user avatar
  • 11
3 votes
1 answer
436 views

The essence of the program is to measure the temperature, and if the temperature is higher than 26 degrees, the servo rotates by 45 degrees, and if it's lower, it rotates by 179 degrees. However, a ...
Pain's user avatar
  • 133
-1 votes
1 answer
3k views

I am trying to control a servo without the "Servo.h" library.I am sending using analogWrite() some values to the servo.I know the servo takes input a continuous time signal however I dont ...
appliedSciences's user avatar
1 vote
1 answer
53 views

#include <HCPCA9685.h> #include <Wire.h> #define I2CAdd 0x40 HCPCA9685 HCPCA9685(I2CAdd); String state = ""; int servo5Pos; int servo5PPos; void setup() { Wire.begin(); ...
Bern's user avatar
  • 11
1 vote
3 answers
1k views

I am using four servo motors for our robotic arm and one L298N motor driver for two motors for the base of the arm. When I individually tested the robotic arm and controlled four servo motors it ...
aditya gupta's user avatar
3 votes
1 answer
389 views

My NodeMCU V3 got overheated and died. Please help me figure out what i did wrong. Brief Desrip: Project is an RC Car on ESPNOW Protocol. Transmitter setup have an Arduino Nano to take values from Two ...
NonTechGuyinTech's user avatar
-1 votes
2 answers
336 views

I have a problem with a project where one servo is resetting (browning out) two Arduino Pro Minis running 3.3v/8mHz. The two Arduinos are connected by SoftwareSerial on pins 9 and 10 and the slave ...
Charlie Nicholson's user avatar
4 votes
1 answer
1k views

I have a simple MG996 servo motor and I am trying to make it move with my Arduino Uno. I tried different ways of wiring but nothing seems to work as fully expected. For the wiring I followed this ...
Yulian Prodanov's user avatar
0 votes
2 answers
4k views

Question is pretty straight forward: How much amps and voltage do I need for 2 SG90 servos? I want to use 4 but you might already know that Arduino Uno only has 2 5V ports.
Yağız Alp Ersoy's user avatar
3 votes
0 answers
651 views

I'm working on a project, where I need to run several high-torque servos. For that I bought come of these PCA9685 boards. I hooked everything up with my arduino and connected an external 5V - max 3A ...
Ai4l2s's user avatar
  • 161
0 votes
2 answers
2k views

We all know servos don't move instantly, which is why it is common to put a delay or a millis() loop whenever you issue a servo.write() command to give it time to reach its target before moving on to ...
Tom Auger's user avatar
  • 193
7 votes
3 answers
52k views

I updated and uploaded some code on another computer that got wiped and didn't send the new code to my current computer, the updated code is still on the board but I don't have access to it. How do I ...
Awesome_Ace22's user avatar
3 votes
2 answers
890 views

This is a bit weird, and I don't understand anything. Basically, I'm just playing with my servo. I wrote a small program, which can be found at this link: https://pastebin.pl/view/8e9c9573 (Note: It's ...
stfn's user avatar
  • 33
0 votes
1 answer
1k views

This was supposed to be the code for automatic pet feeder Got it from here1 The problem is that I always got a "No matching function for call to'DS3231 (const uint8_t &, const uint8_t &)&...
AEZAKMI 12's user avatar
0 votes
1 answer
2k views

Recently, I have been working on a project involving 8 Tower Pro SG90 servos and an Arduino Uno. The issue I am running into is that the servos will randomly move when connected, without even ...
Xander's user avatar
  • 17
2 votes
1 answer
195 views

I'm using my ESP8266 as a web server to tilt a camera with the servo Tower Pro Micro Servo 9G. #include <Servo.h> #include <ESP8266WiFi.h> const char* ssid = "SSID"; const ...
hornymonkey's user avatar
1 vote
3 answers
597 views

I'm making a robotic arm using three SG90s and one Futaba s3003 servo motors and an ESP32 dev_kit_V4. The problem is when I am controlling the arm, the voltage regulator gets so hot that I can't touch ...
kamal MKA's user avatar
-1 votes
1 answer
1k views

I am trying to create a robotic arm. The problem is that I could not run all 6 servo motors -3 MG966r servo motors and 3 MG90S servo motors - simultaneously, using 12V and 3A AC to DC adaptor. Last ...
user12852585's user avatar
0 votes
2 answers
4k views

This picture is from arduino.cc . Could someone please help me understand these parameters min and max? I was using TinkerCad taking input for the angle using a potentiometer (having mapped correctly ...
Harry's user avatar
  • 11
4 votes
2 answers
2k views

Im trying to move a servo from one place to another while using the typical for loop you find in the servo's library example: int lightON = 180; int lightOFF = 90; for (pos1 = lightOFF; pos1 <= ...
Marcelo_M's user avatar
  • 121
2 votes
0 answers
223 views

I have a mystery I was unable to solve and would greatly appreciate it if anyone could shed some light on this. I have a servo DSS-M15S 270 which I managed to run perfectly fine with Arduino Uno (code ...
Shay Lavi's user avatar
-1 votes
1 answer
633 views

I've stumbled upon timer configuration to handle my sg-90 servo and my Arduino UNO. What I did: Set the prescaler to 64 and mode to fast PWM of 16-bit timer. The frequency is 50hz so the ICR1 is set ...
ErnestW's user avatar
  • 109
1 vote
1 answer
70 views

I am making a cansat which will be launched on a sugar rocket. The cansat's Arduino nano will be operating sensors which will read the data and store it in an sd card and also a servo to deploy the ...
noblenikhil's user avatar
2 votes
0 answers
64 views

Here's my code. I don't know if the issue is the power source though. I only have access to my computer for a power source. #include <Servo.h> Servo servo1; Servo servo2; Servo servo3; Servo ...
PokemonsterBlue2's user avatar
1 vote
1 answer
877 views

So I'm working on a code that basically receives x and y coordinates and stores them in a variable. Whenever a coordinate is received, it goes through a conditional statement to store them in a ...
Black Prime's user avatar
1 vote
0 answers
389 views

I'm using an Arduino Uno and a PCA9685 board to run 4 servos (of type MG996R). For that, I set up the following connections: SCL -> SCL SDA -> SDA Ground -> GT VCC -> 3.3V As the servos ...
pte's user avatar
  • 11
-1 votes
2 answers
1k views

I'm in need of a motor or continuous servo to power a winch. The motor must be continuous* and reversible, but it does not need to be fast, precise, nor bear a load when powered off. It just needs to ...
Anti Earth's user avatar
0 votes
3 answers
3k views

This is not and will not be a duplicate. This is a thread meant to share a solid soliton I figured out with the rest of the community and update it as I optimize it, ad-hoc. So I had visited ...
George Eco's user avatar
1 vote
1 answer
307 views

I use a 360° servo with a program I made on an Arduino Uno. The program was meant to control two separate servos with two potentiometers on a breadboard. When I used 180° and 90° servos, it worked ...
aaron vu's user avatar
0 votes
3 answers
282 views

I am using a Arduino MKR 1010 Wifi board to control 4 servo (PS-1109MG). All the circuit is powered by 4 AA rechargeable batteries (1.2V * 4). Arduino is powered through the Vin port. Below is a ...
Adrian's user avatar
  • 11
-2 votes
2 answers
357 views

I am trying to automate a existing system that uses Joystick as its input to move the Motors in x&y directions. I actually want to emulate arduino to exactly do what the joystick is doing by just ...
ASAD ALI's user avatar
2 votes
1 answer
2k views

While learning more about Servos, the main thing i have learned is that, Servos (SG90) need PWM signal with the frequency of 50Hz. And the duty cycle of the frequency is used to rotate the angle of ...
CoderBittu's user avatar
2 votes
3 answers
1k views

I need to control 2 servos in parallel, whereas one is of continuous rotation and another is of regular positioning control (angle) on arduino IDE. I tried but it works one after another, not parallel....
Emlinux's user avatar
  • 43
1 vote
0 answers
93 views

I am trying to control a servo motor with the following code: #include <Servo.h> Servo servo; int const inputPin = 3; void setup() { Serial.begin(9600); servo.attach(9); pinMode(...
A P's user avatar
  • 11
2 votes
1 answer
645 views

I am setting up 3 servos (2 position servos and 1 '360' continuous rotational servo) with Arduino. but I failed to run these independently. It runs one after another. I wish to run it in loop ...
Emlinux's user avatar
  • 43
-1 votes
1 answer
387 views

For my project I am using 6 continuous servos connected to an Adafruit Servo Shield. To run them I use pwm.setPWM(0, 0, 1000) and then set a delay to run them for how long i’d like to, then run pwm....
nina's user avatar
  • 9
0 votes
1 answer
224 views

I am working on this code to turn a servo when the PIR motion sensor detects no motion, but it is not working. Some symptoms include: Servo is turning extremely slowly PIR is not turning the servo ...
Brayden's user avatar
  • 21
2 votes
2 answers
1k views

I have a SG90. I just want it to spin 360° and stop, that's about it. This seems impossible. I have tried the sweep example: by BARRAGAN <http://barraganstudio.com> This example code is in the ...
ESP_AGENT's user avatar
3 votes
1 answer
270 views

I'm kind of new to Arduino and C, and I was having trouble with this sketch. I'm working on a project to control 6 servos using virtual buttons. When I hold down the button, the servo moves forward ...
rayank97's user avatar
3 votes
3 answers
18k views

#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 ...
hehexd's user avatar
  • 73

1
2 3 4 5
11