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.
210
questions
0
votes
2
answers
46
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....
1
vote
1
answer
67
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
0
answers
18
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
45
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
82
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
30
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
3
answers
305
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
82
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 ...
1
vote
0
answers
36
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
593
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
224
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>
#...
2
votes
1
answer
946
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 ...
0
votes
0
answers
84
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
2
answers
219
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-...
0
votes
1
answer
110
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
vote
1
answer
96
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 ...
-1
votes
2
answers
632
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 ...
-1
votes
1
answer
239
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
1
answer
248
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.
0
votes
1
answer
277
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 ...
0
votes
0
answers
70
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
88
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.
0
votes
1
answer
217
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....
1
vote
1
answer
124
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
50
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
271
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
146
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 ...
0
votes
2
answers
65
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
32
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 ...
0
votes
1
answer
142
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
0
answers
283
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
0
answers
89
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
916
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
144
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
vote
1
answer
75
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
178
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
votes
1
answer
98
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 ...
1
vote
0
answers
291
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
173
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 ...
-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 ...
0
votes
1
answer
69
views
Should I use an external power supply for controlling 4 servos?
So I have for servos that I could connect to a breadboard and to raspberry pi GPIO 5V pin to power them. But I have read that That is not safe it can damage the pi. Is that true?
instead of using ...
0
votes
2
answers
264
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 ...
2
votes
1
answer
1k
views
How to control a Servo via libgpiod on a raspberry PI
I am trying to control a Servo in c ++ using the libgpiod library.
My problem is in defining the 50Hz pwm pulse on the pin that the servo is connected to.
The servo signal cable is connected to pin 33 ...
2
votes
1
answer
681
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
1
answer
1k
views
Get servo position using pigpio
I'm currently developping (improving) an Octoprint plugin that is used to control servo motors with the pigpio library.
I always thought that I had to initialize the servos at the start of the code by ...
0
votes
2
answers
387
views
Grounding with external PSU for servo and raspberrypi
Earlier I had used the USB-C adapter to power my raspberry pi and an external PSU to power the servos. I had to connect the ground of the PSU to the ground of the R-PI so that the control signal from ...
2
votes
1
answer
550
views
Trouble getting sg-90 servo to work with R-PI 4
I have read several answers and approaches to controlling an SG-90 servo with a raspberry pi and I have tried the following approaches, with varying but never satisfactory results.
Wiring Setup:
...
1
vote
2
answers
237
views
Does Controlling a Servo Motor using a Potentiometer and a Raspberry Pi need an MCP 3800 or can it be done without it?
I am a newbie but I am aware that this question has been asked before here:
Controlling a Servo with Potentiometer in Raspberry Pi
But my question is do we need an MCP 3800 (Analog to digital ...
0
votes
1
answer
65
views
Servo Controllers, Servos, Power consumption
I'm looking at options for controlling multiple Servos I keep finding the same board, the PCA9685
Which is great, I see people using them for those small 9g servos, but what about servos that pull ...
0
votes
1
answer
736
views
MG 996R Micro servo Using Raspberry
I have a MG 996R micro servo which I am using with a Raspberry Pi and Python.
It seems that this servo is not working with Python.
I have tried experimenting the values, increasing and decreasing of ...