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

Wemos mini pro switch power from servo with mosfet bs170

I got a servo connected to a wemos/arduino with a capacitor(470uf). Before I didn`t use a cap. Now with the cap the device use to much power while sleeping(capacitor on the servo). I want to switch ...
0
votes
1answer
253 views

Powering servos with external source

I understand why servos and motors require an external power source when run from the Uno, but I've seen a lot of tutorials (for example, this one), where the servo is connected directly to the ...
0
votes
1answer
251 views

Building an EEZYBOTARM MK1

My bot arm building is complete, I'm using it with Arduino and 2 joysticks with 4 servos ( mg90s), running with the 9v battery, but still, the servos could not lift the bot arm once it is going down ...
0
votes
1answer
270 views

What is better approach for non blocking pid algorithm?

I'm developing software side for 3 axes robot where are 360° continuous rotating servos used Documentation here these servos have its own feedback system so it's possible to control it's position ...
0
votes
1answer
426 views

ESP8266(01) doesn't work when servo connected to GPIO-2

the wiki here says http://www.esp8266.com/wiki/doku.php?id=esp8266_gpio_pin_allocations 0 Low 1 High x floating MODE GPIO15 GPIO0 GPIO2 SDIO (BootSDCard) 1 x ...
1
vote
0answers
93 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 things ...
1
vote
1answer
566 views

Servo causes disconnection

I've only started using Arduino in the last week, and I'm having a problem with the servo supplied with the kit I purchased. It's a SG90 microservo. I'm trying to connect the servo as shown on the ...
2
votes
2answers
605 views

Arduino: Reading DS18B20 interferes with servo

I have an Arduino with a servo, INA219 (current and voltage sensor) and 2 DS18B20 connected to it. DS18B20 are connected in full-power mode with 5k resistor connected between DATA line and +5V. I ...
-2
votes
1answer
360 views

Power Arduino Due and 6 servo motor with Battery [closed]

I would like to create a project contains 6 servo motors and Arduino Due board, but I have no idea how to operate should I use only a 9V battery only or in addition to 4 AAA battery?
1
vote
1answer
445 views

When I turn on the servo it spins on its own before going to the right position and start the sketch

I can't get my head around this: when I turn the servo on it just spins on its own as if it's setting up, it goes to an angle superior to the one I want it to go. (Don't mind if it has to set up but ...
0
votes
1answer
110 views

Joysitck with servo, LED array and buzzer [closed]

Does anybody know of a sketch that can turn a single servo 180 degrees clockwise/counterclockwise with the x axis of a joystick, light a bar graph LED with the Y axis, and sound a buzzer when the ...
0
votes
0answers
66 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
1answer
5k views

Serial.parseInt value always goes back to 0

I am trying to read a value between 1000 and 2000 from my Serial Monitor and use it to drive some motors through ESC. The code works when I use a potentiometer mapped for 1000-2000. I am now trying ...
1
vote
1answer
40 views

Can I control Arduino functions via PWM?

I want to control small functions from an Arduino, things like moving servos or toggling lights. The purpose of these is to decrease the number of channels on a rover I'm constructing. Using the PWM ...
-1
votes
2answers
2k views

Why is my servo spinning over 360 degrees?

I decided to try out my servo on my Arduino. I'm pretty new to this and I can't seem to figure out why this is happening. My servo will spin for about 5 seconds in one direction and then it will spin ...
0
votes
1answer
1k views

Arduino Servo with Serial

I have an interesting problem. I want to control ESC and servo with Arduino. I'm using HC-12 to communicate with 2 Arduino and I'm using SoftwareSerial on the nano. #include <SoftwareSerial.h> ...
0
votes
1answer
1k views

Servo start to turn like madman with simple if statement

I tried to write a simple program. Press button 1 servo goes to position 1, press button 2 servo goes to position 2. But when I hook everything up my Servo goes full Crazy mode. It starts to jiggle ...
0
votes
1answer
92 views

Arduino Yun not showing anything on the serial monitor

I am having issues with the ArduinoYun. It's not showing any data in the serial monitor. The sensor lights up when I plug it in but that's about it and the code seems to compile but nothing is coming ...
1
vote
2answers
2k views

How do I stop a servo motor at the current position when using a serial port? I want it to remain in one position when receiving “0”

I am working on a project where I would like values received from an Xbox Kinect will activate components on my Arduino. Currently, I am trying to get a servo motor to turn on and rotate when the ...
0
votes
1answer
79 views

How to rotate 3 servo motors when 6 led lights are lit using EMG signals

I am completely new to arduino and trying to do a school project where i will be able to more 3 fingers with the help of a servo motor using EMG signals. Right now i am able to read the signals. I ...
1
vote
2answers
3k views

Controlling JX PDI-6221MG Digital Servo with Arduino

So, I naively bought two of these JX PDI-6221MG Digital Servos thought they would work with the Arduino straight out of the box, just like MG996R did, for instance, but it seems they won't. However, I ...
0
votes
0answers
94 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
1answer
256 views

how to break out servo.write(angle) after it reach the angle?

I used a servo as a grabber so I don't know the angle I need specifically.I need it to break the serve.write(angle) when the grabber holds something. I used a simple code #include <Servo.h> ...
0
votes
1answer
204 views

Auto Fish Feeder

Good day, I am new to Arduino, but have made some nice projects work. I have a n issue with a Auto fish feeder. I have used a servo that I modified to run 360. I am having a issue when the Nano board ...
2
votes
0answers
447 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
2answers
688 views

How do I set a continuous servo to turn on until a switch is flicked?

I am trying to get a servo to be activated by a momentary button. The arm on the servo will then swing around, which then activates a toggle switch. The activation of this toggle switch will then ...
1
vote
1answer
250 views

Interface Processing with Arduino to operate a servo by MouseX [closed]

I want to make a servo change its angle using my mouse. When I move mouse horizontally the servo should change its angle correspondingly. This is the sketch I wrote, unfortunately the servo doesn't ...
1
vote
0answers
752 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
1answer
1k views

On start servos rotates to 180 degree

I'm testing a servo using varspeedservo.h and it rotates to 180 degree on start and then rotates back to programmed position. Here is the code: #include <AFMotor.h> #include <VarSpeedServo....
0
votes
1answer
894 views

Servo motor activation with pressure sensor

I need to run my servo motor within a specific pressure range, given by a pressure sensor. I don't understand how to code this. I have coded for servo motor movement but I need to activate that ...
1
vote
3answers
1k views

Blink a LED between servo pulses

Apparently using delay() commands locks the Arduino during the delay period and there are better ways to control a servo that free the Arduino to do other things at the same time as running the servo. ...
0
votes
1answer
320 views

Connecting a servo via HC05 and HC06

I want to drive a servo via a HCO6 and HC05 link as a stand alone, using no android or PC. The question is how to send a 1.5 ms signal (generated with a pulse command on a Nano) from one HC to ...
0
votes
2answers
3k views

Servos: attach() and write()

Arduino newbie here, so this question might sound too simple. I am trying to run a parallax continuous rotation servo using Arduino Uno. From the reference, I learned that the servo needs to be "...
0
votes
3answers
1k views

Servo motor sweeps beyond 180

I'm trying to get my servo motor to sweep from 0 to 180 degrees then back to 0 degrees for infinite amount of times. I using the following code but my motor keeps resetting when it get backs to 0 ...
0
votes
1answer
94 views

Unplanned behavior with two power sources

I'm trying to control this servo, and whenever I leave the Uno connected, via USB, to the PC, most of the time the servo barely moves, and sometimes jitters. simulate this circuit – Schematic ...
2
votes
1answer
389 views

How can I swap a servo with a stepper motor?

I'm looking for a way to swap servo 1 with a stepper motor to achieve a single direction circular motion with stops and delay. Instead, now I have the servo going back and forth to repeat the action. ...
0
votes
2answers
784 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
0answers
70 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
1answer
178 views

Servo jitter with two atmegas

So i'm building my own quadcopter at this moment and I have designed a flight controller board for it using two atmega328p's. I've programmed it so that the first atmega receives al the data from ...
1
vote
1answer
117 views

Arduino ESC controlled motor has issues

I have a brushless motor what is hooked up to a external power supply and I'm using an arduino with a potentiometer to control it. I know that the motor has power but whenever I turn the potentiometer ...
2
votes
1answer
403 views

Controlling an analog potentiometer using an Arduino

I want to be able to control an analog potentiometer. I'd like to be able to go from the minimum range to the maximum range possibly using an Arduino and a motor/servo. I want to be able to control ...
2
votes
1answer
849 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 ...
0
votes
1answer
121 views

How can I know if I can stack some shield on another shield?

Yesterday I tried to stack a motor shield on a servo motor shield already stacked on my Arduino Uno. But I realized that I have some problem when I try to use both of them. It seems like some energy ...
2
votes
1answer
283 views

Arduino and big servo

My dad told me, if i can mount some servo (to control 4 way ventil of heating) to his arduino-controlled home. But there is a problem... The servo does not have a normal 3 cables but 6 and I have no ...
0
votes
2answers
131 views

How to get Arduino to talk to two seperate motors wirelessly?

I have an Arduino Uno and I also have two Servo Motors. Say I have a room that is 15 feet wide, and I want to be able to place the Arduino in the center of the room and control two servo motors placed ...
1
vote
1answer
694 views

Servo FS5106B does not work properly

I was testing out my new Servo FS5106B. Here is the code I used: #include <Servo.h> Servo servo; void setup() { servo.attach(10); } void loop() { servo.write(0); delay(1000); ...
2
votes
2answers
1k views

Problem with tachometer using attachInterrupt and servo

So I am creating a tachometer using black/white detector sensor. Here's the code. unsigned long WaktuOLD; unsigned long WaktuNOW; int Detection = HIGH; int Counter = HIGH; float HitungWaktu; float ...
-1
votes
1answer
178 views

How to control RC power switch with Arduino-/Adafruit-Board?

I want to control (switch on/off) a solenoid valve via an RC power switch and an Adafruit M0 Feather Bluefruit LE. The RC power switch is this one, and this is the Adafruit Board Pinout. My ...
1
vote
1answer
5k views

Micro servo is not working with Arduino UNO

I am new to Arduino and trying to do some basic tasks. I want a micro servo to rotate but it's not working, only slightly virbating when I launch a sketch. Below on the photos is how it is all ...
2
votes
1answer
143 views

Trying to communicate with an ESP8266

G'day guys, I'm trying to get an ESP8266 to work with an Arduino Uno.Here is the wiring. When I go to the serial monitor (115200 baud) and type: AT, there is not response from the ESP8266.Is there ...

1
3 4
5
6 7
10