Questions tagged [servo]

A servo is a motor, commonly used in robotics projects. This tag is for questions about the servo motor when using it in robotics and other projects.

Filter by
Sorted by
Tagged with
1 vote
1 answer
102 views

ServoMotor I2C module

I want to control a ServoMotor with THIS module: I asked a question before in THIS topic. And as you can see in the topic, they guided me perfectly. And they said I should use THIS code. But I have a ...
0 votes
1 answer
168 views

Control 2 steppers and 1 servo a the same time on a motor Hat

Basically, I have a raspberry pi 4 with a Motor Hat to control two stepper motors. The whole thing looks like this : https://i.stack.imgur.com/SIjzI.jpg Now I want to connect a servo motor, and I know ...
1 vote
1 answer
162 views

controlling a continuous servo in both directions

I'm using a Fitec FS90R continuous servo with my Raspberry Pi Zero, and trying to make it turn slowly in either direction (it's controlling a small turntable with a display on it). My test script is ...
0 votes
1 answer
85 views

Why did my servo motor break when controlling it from a raspberry pi?

I was trying to control a Tower Pro SG-5010 servo motor using a Raspberry Pi 4, with the python code below, but after working for a minute or so, the servo started not turning for some of the commands,...
0 votes
2 answers
95 views

Raspberry Pi 5 Servo Jitter

I’m trying to control 2 MG996R servos with my Pi 5. I’m using gpiozero and python. I’m using GPIO12 and GPIO13. I have a separate 5v power supply to power the servos. The servos both move but jitter ...
0 votes
2 answers
117 views

Can’t control servo with Raspberry Pi 5

I’ve just recently bought my first Raspberry Pi and opted for a Pi 5 as it was the latest. I’ve had no luck getting gpiozero or gpiod working with Python and my MG996R servos yet. I don’t mind if it’s ...
0 votes
2 answers
2k views

Problems connecting a servo to raspberry pi 5

I have recently tried to use a servo on a raspberry pi 5 using import RPi.GPIO as GPIO from time import sleep GPIO.setmode(GPIO.BOARD) GPIO.setup(17,GPIO.OUT) p = GPIO.PWM(17, 50) p....
0 votes
1 answer
51 views

Servo freezes after continuous activity

I have a Miuzei MG90S 9G Micro Servo connected to a Raspberry Pi 4. I am powering the servo through the Pi's 5V pin. The Pi itself is powered by the CanaKit 3.5A USB-C Raspberry Pi 4 Power Supply, ...
0 votes
1 answer
262 views

Raspberry pi controlling servo with dotnet

Hello all i am trying control servo motor usiun dotnet and Unosquare.RaspberryIO librery. This is my code and whatever I pass to the PayTonemethod the motor rotates only in one direction and one speed....
0 votes
1 answer
276 views

Controlling multiple servo motors on rpi 4

Do I need a hat module for my raspberry pi to control 6 servos? I’ll be using an external power source.
2 votes
1 answer
762 views

PCA9685 Raspberry pi4B i2c errors

I am trying to get a raspberry pi 4 model B working with across IC2 to a PCA9685 servo motor controller board. I have followed various tutorials e.g: PCA9685 Tutorial Using the libraray : ...
0 votes
2 answers
334 views

Pi4B controlling servos with a (az-delivery) PCA9685 board, servo not moving

I started with hooking up the PCA9685 board to my Pi4B and then installing the adafruit PCA9685 library. I followed this guide https://medium.com/@poojakose5/control-servos-using-16-channel-servo-...
-1 votes
2 answers
982 views

How to control (angle specific) a continous 360degree servo?

I want to control a "Servo motor analoog Micro Servo 9g SG90 360°/continous rotation" with a python script. I do understand the control of a 180° servo but somehow the 360° is not reacting ...
0 votes
0 answers
19 views

Synchronising with long-running activities

If this seems familiar, it's because this is a more-specific rework of a bad question. Currently coding with gpiozero, but I'm not wedded to it. If I have mixed activities, such as compute tasks and ...
0 votes
1 answer
73 views

Parallax continuous rotation servo only moves in one direction

I hope all are doing good. I recently acquired a couple of Parallax continuous servo motors with adjustment screw rated at 50Hz, I successfully driven them using Arduino in all directions with variant ...
0 votes
0 answers
138 views

How would I connect and control this linear actuator to my raspberry pi 4 b+

So I have 2 questions for you guys, girls, or whatever you may be, this is the actuator I am planing on buying: https://www.robotshop.com/products/kitronik-linear-actuator-micro-servo-kit?...
0 votes
0 answers
37 views

Unable To Make MicroServo99 SG90 spin with raspberry pi

I am having an issue with my raspberry pi and making it spin a motor with python. I am currently using a battery connected to a PCA9685 16-Channel 12-bit PWM driver which connects my motor on channel ...
1 vote
0 answers
46 views

Issue a custom command using pitunnel

I have a Pi 4 at home, which is wired in to some servos which, via a python script, make hands turn on a clock face, making them point to 'home', 'work', 'school' etc - I think you can see what this ...
1 vote
3 answers
553 views

Checking angle of servo motor with a Raspberry Pi 3B+

I was trying to check the angle of a servo motor using my Raspberry Pi 3B+. Although when i run the code the servo motor jumps to 90 degrees (physically) and returns an angle of 0.0 in the terminal. ...
-1 votes
1 answer
201 views

Motor control using an RPi zero

I want to control a small 5V servo motor (2 pin) with my RPi zero, but I don't know how to achieve this. I just need the motor to turn on for a set time e.g 30 seconds, and then turn off, so I figure ...
0 votes
1 answer
407 views

Controling high voltage servo motors with raspberry pi 4

I'm building a bipedal robot and I'm using 7,4V servo motors that can consume 3.9A of current (Feetech FT5835M) and RPi4B, how can I control these servos? I'm thinking about using Adafruit 2327 HAT ...
2 votes
1 answer
1k views

Creating a servo PWM signal for BLDC ESC Controller using PICO

I am trying to use my RPi PICO to control a BLDC ESC. Using a servo tester it works perfectly, but I want to be able to use this with my PICO and with a trigger/spring potentiometer. Basically it will ...
2 votes
3 answers
909 views

How to support the power supply of servo motors using an ordinary AC-to-USB adapter?

I normally power my Raspberry Pi Pico via a USB connection to my computer. However, when working with servo motors, the motors can draw quite a bit of power, destabilizing the USB communication ...
-1 votes
1 answer
304 views

fatal error: dht11.h: No such file or directory

I have written the following code: // wiring schema: // DHT11 --> Raspberry Pi // PIR --> Raspberry Pi // Servo Motor --> Raspberry Pi #include <stdio.h> #include <stdlib.h> #...
-1 votes
1 answer
1k views

How can Rpi Python control motor drivers L293D or L298N?

It is dangerous to run motors directly from the Pi, hence we need a motor shield. I own an Adafruit arduino motor shield clone: https://learn.adafruit.com/adafruit-motor-shield Note: I'm aware about ...
2 votes
2 answers
3k views

Is there a way to slow down servo movement speed?

Despite searching I was not able to find an answer to this question. I have a servo attached to a pin that moves an arm back and forth. The problem is that it moves too quickly. Is there a way ...
0 votes
0 answers
91 views

Continuous servo takes time to stop?

I am using a Raspberry Pi 3 to control a modified TowerPro SG90 servo, where I have removed the potentiometer to make a continuous rotation servo. Using the code below, the motor starts exactly when I ...
0 votes
1 answer
135 views

PCA9685GpioExample for pi4j 2

I want to use THIS sample in my project. But its library is for pi4j version 1 and I use the pi4j version 2. I searched and I didn't find any sample for PCA9685 with pi4j2. Is there anyone who can ...
-1 votes
1 answer
298 views

PCA9685 detected on Command Line, but not by Python

I'm trying to hook up a SC90 servo to my Pi3 B using a PCA9685. I think I have it connected correctly, because I get correct i2cdetect results. pi@raspberrypi:~ $ i2cdetect -y 1 0 1 2 3 4 5 ...
0 votes
0 answers
93 views

Raspberry Pi does not register Servo on the I2C bus when connected via SparkFun auto pHat board

I just want to move the Servo motor through the I2C pins on spark fun's auto pHat board. I've been using the pi_servo_hat import and have been setting the motor through the initializer like this: test ...
0 votes
0 answers
96 views

Which is the best dotnet core librery for controlling servo on Raspberry pi 4

Hello all I am doing research on the best library for controling servo motor on Rapberi pi 4 using C#. I tried some old ones. I will be grateful if you direct me to the best one for the purpose.
1 vote
1 answer
131 views

The Servosix board doesn't seem to stop servo jitter

I just received the Servosix kit from Pi Hut, which is basically a Servosix board and two SG-90 servo motors. The board's purpose is to easily control servo motors, without the usual jitter associated ...
1 vote
3 answers
53 views

Is It Safe To Connect A 16 Port Servo Driver's External Power Supply To My Raspberry Pi? (Will It Cause A Brownout?)

I have an adafruit 16 port servo driver. In the directions on their webpage, they explain how to wire it, as well as connect an external power supply. They mention not to plug the power directly into ...
0 votes
2 answers
331 views

16 Port Servo Driver Won't Stop Continuous Servos Completely

I have a 16 port adafruit servo driver connected to my Raspberry Pi. I followed the directions (https://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi) to set it up. I then ...
0 votes
2 answers
191 views

MG 996R Servo only works in one direction with pi 4b

I have an MG 996R Servo from DM DIY More hooked up to physical pin 18 of my raspberry pi 4b running python 2.7.16 with GCC 8.3.0 on Linux2. I am powering the servo with an external 5V supply capable ...
-1 votes
1 answer
1k views

Raspberry Pi Software Driven servo control with PWM using C and Wiring Pi LIbrary

I'm trying to get my raspi zero to move an SG90 PWM driven servo. I have achieved this with python already using the gpiozero library, so I know my hardware works but I am trying to do it with C using ...
-1 votes
1 answer
116 views

What is the relationship between angles and pulse length of servo motor?

I've been working on a project where I've to drive the servo motors. I am using Raspberry Pi 3B+ model and Adafruit PCA9685 to drive the servos. For that I need to find which angle is at what pulse ...
0 votes
2 answers
76 views

How to access servos using pins other than GPIO 2&3

I have an adafruit pca9685 16-servo controller. I was using this guide to control it: https://learn.adafruit.com/adafruit-16-channel-servo-driver-with-raspberry-pi/using-the-adafruit-library ...
0 votes
1 answer
38 views

Servo control issue

I have written a small program that controls two servos: to start the recording process one servo opens a shutter (servo1), then the second one lifts a sky camera out of a housing (servo2). To stop ...
1 vote
0 answers
303 views

MG996R jittering

I'm working on a project of a camera connected to a robotic arm that moves when my face is about to get out of the frame. I'm using 3 Tower Pro MG996R servos and they are connected to my raspberry pi. ...
0 votes
1 answer
3k views

Servo robot with keyboard control

I am currently creating a design project that involves controlling several servo motors for a raspberry pi 3. I want to use a keyboard to control the direction of the motors, and I am using curses to ...
0 votes
0 answers
99 views

How to take out the noises of the servo motor?

I am using the 3b+ raspberry, while the accelerometer is acquiring data the servo is creating some noises which may give false readings. Does anyone have any idea how to get rid of these noises? I am ...
2 votes
1 answer
1k views

How to make the motion of a servo motor smoother?

I am having some trouble with controlling the motion of the servo motor. When I run my code, the servo motor moves in the specified range but the motion seems a bit erratic. I would be really grateful ...
0 votes
1 answer
170 views

GpioPinPwmOutput set pwm value with floating point

I have a raspberry pi 4 B and I want to control servo motor. I am using NetBeans IDE and Java programming language with pi4j library for raspberry. Also I have a servo motor that can rotate for 300 ...
-1 votes
1 answer
112 views

Can I use a DHT22 sensor with the servo hat installed on my RPi-3?

the title pretty much says it all... My son an I are doing some robotics experimenting with the RPi-2 and RPi-3, we are using the Servo Hat to control several servos on them. We would like to ...
1 vote
1 answer
78 views

How to supply multiple servo motor and dc motor while using gsm module?

I've started rc plane but with internet connection instead of regular radio. My plan is using Ai-thinker A6 gsm module so I can use it as live stream camera and control servo together with blynk. ...
1 vote
0 answers
185 views

How to power PCA9685

I am using the RP 4B and am trying to control a servo with the PCA9685. Unfortunatelly I am very new to all that and therefore I don't know which specific components I need to power it up. I bought a ...
1 vote
0 answers
309 views

How to make/get a proportional flow control valve [closed]

I want to use hydraulic flow to proportionally vary the resistance of a rpi controlled exercise machine. The victim would rotate a positive displacement pump where the inlet and outlet ports are ...
0 votes
1 answer
196 views

Continuous rotation modified servo does not really stop (Futaba S3003)

I modified two Futaba S3003 servos for continuous rotation according to this instruction: http://terrencejpiman.blogspot.com/2015/04/continuous-rotation-futaba-s3003-servo.html?m=1. It seems to work ...
0 votes
2 answers
345 views

Servo is jittery and moves back and forth when it should be still

(Sorry about formatting) I am trying to write an opencv program to track the color red. So far it works okay, but the servo is jittery and when the object is still and centre the servo moves back and ...

1
2 3 4 5