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
0 votes
0 answers
22 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 ...
TheCrazyCreeper's user avatar
1 vote
3 answers
108 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. ...
Coder's user avatar
  • 11
-1 votes
1 answer
56 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 ...
Jake's user avatar
  • 9
1 vote
0 answers
28 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 ...
dartacus's user avatar
  • 111
1 vote
3 answers
231 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 ...
normanius's user avatar
  • 113
-1 votes
1 answer
147 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> #...
MartWal's user avatar
2 votes
1 answer
470 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 ...
vm1988's user avatar
  • 21
0 votes
0 answers
72 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 ...
thecompassguy's user avatar
0 votes
2 answers
113 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-...
Wezy's user avatar
  • 101
0 votes
1 answer
82 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 ...
Reza Gholipour's user avatar
1 vote
1 answer
76 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 ...
Reza Gholipour's user avatar
-1 votes
1 answer
319 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 ...
Mart's user avatar
  • 1
-1 votes
1 answer
178 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 ...
Aharon K's user avatar
  • 101
0 votes
1 answer
178 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.
Bocian's user avatar
  • 9
0 votes
1 answer
163 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 ...
Bocian's user avatar
  • 9
0 votes
0 answers
50 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 ...
Henry Keskitalo's user avatar
0 votes
0 answers
69 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.
Darkk L's user avatar
  • 101
0 votes
1 answer
155 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....
Darkk L's user avatar
  • 101
1 vote
1 answer
96 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 ...
Philippe Lesueur's user avatar
1 vote
3 answers
48 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 ...
Brendan R.'s user avatar
0 votes
2 answers
211 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 ...
Brendan R.'s user avatar
0 votes
2 answers
107 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 ...
Livingsten's user avatar
0 votes
2 answers
50 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 ...
Sidharth Ghoshal's user avatar
0 votes
1 answer
30 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 ...
VBA Pete's user avatar
  • 101
0 votes
1 answer
120 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 ...
Tom's user avatar
  • 1
1 vote
0 answers
239 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. ...
amit's user avatar
  • 11
0 votes
0 answers
78 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 ...
Mohamad Dabdoub's user avatar
2 votes
1 answer
764 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 ...
Usman 's user avatar
  • 21
0 votes
1 answer
125 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 ...
crackanddie's user avatar
1 vote
1 answer
67 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. ...
RxGianYagami's user avatar
1 vote
0 answers
160 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 ...
Infomagier's user avatar
-1 votes
1 answer
81 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 ...
user131936's user avatar
1 vote
0 answers
253 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 ...
Steve Dutky's user avatar
0 votes
1 answer
156 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 ...
user11748507's user avatar
-1 votes
1 answer
920 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 ...
Dyskord's user avatar
  • 119
0 votes
1 answer
65 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 ...
Kungbjucha's user avatar
0 votes
2 answers
166 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 ...
Epsicro N's user avatar
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 ...
san-ny's user avatar
  • 23
2 votes
1 answer
598 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 : ...
Jamie Nicholl-Shelley's user avatar
0 votes
1 answer
946 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 ...
Franfran's user avatar
  • 103
0 votes
2 answers
265 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 ...
Yanick Salzmann's user avatar
2 votes
1 answer
440 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: ...
Yanick Salzmann's user avatar
1 vote
2 answers
219 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 ...
Vikram Suriyanarayanan's user avatar
0 votes
1 answer
54 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 ...
Pokebab's user avatar
  • 86
0 votes
1 answer
611 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 ...
Johannes Remotigue's user avatar
0 votes
1 answer
70 views

Running .py code after power supply loss [closed]

I have an interesting problem, I want to mount a camera on the front of a tractor(Sony RX0M2, similar to a gopro). The camera will eventually be used for image processing. A PQ-12 micro linear servo (...
gumby4231's user avatar
1 vote
0 answers
307 views

Powering a Servo with 12V Battery and Buck Converter

I wanna power my servo with the 12V terminal of a Mastercraft Nautilus battery pack (see here)(long story). The servo is a actuonix pq-12 micro linear servo (see here). I'm stepping the voltage down ...
gumby4231's user avatar
1 vote
0 answers
188 views

When i change the dutycycle on my PWM it doesnt move my servo

I am using an SG90 and the GPIO Pin #17 but it only sometimes turns when I run the code. It always works if I reset the Kernel everytime. I am connected to my Pi through putty and am running the code ...
whydoesntitwork's user avatar
0 votes
1 answer
64 views

what servos should I use? [closed]

I want to make a humanoid robot with my pi, but am unsure of what servos I would need. I did some research and found out they a rated in kg/cm, so I calculated the weights they would be lifting, ...
user avatar
1 vote
0 answers
74 views

Why my servo always blocks?

I try to control a servo with my Pi. Here is the python code I use : # Import libraries import RPi.GPIO as GPIO import time # Set GPIO numbering mode GPIO....
Rémy's user avatar
  • 111

1
2 3 4 5