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
0answers
28 views

I wanna make a raspberry pi car using an RC car. I would like to know if the servo multiplexer is necessary? [closed]

I've asked this question in the Robotics Stack Exchange and I am asking here as this is kind of important and I need some answers fast. My apologies if this is rude or if it causes problems in any way....
-1
votes
0answers
25 views

Connect 3 ultrasonic sensor HC-SR04 and 3.2 kg servo motor to raspberry pi

I am using Raspberry Pi 3 model B. NoW I need to connect 3 ultrasonic sensor and 1 3.2 kg servo motor for my project. How should i connect them such my raspberry pi does not get fried. Please help in ...
0
votes
0answers
30 views

Why do my servos only work the first time

I Posted earlier about having problems with my servos that you guys helped me with and I'm really grateful for that. Now I'm facing an other issue with the servos: I have put them on my "robot" that ...
0
votes
1answer
28 views

How can you use pigpio to set a specific position for a continuous rotation servo?

Running my code with a normal 180 degree servo will move it to a user-specified angle and then hold it there. But when using a continuous rotation servo, it keeps rotating constantly for 500 <= ...
1
vote
3answers
82 views

Servo motor behaves odd

hello I Connected a servo motor to my Raspberry pi Zero W and used the example from raspberrypi.org: granpa scarer: Grandpa Scarer and the servo worked however after changing the value for: p....
1
vote
2answers
118 views

AdaFruit ServoKit CircuitPython Blinka Library Installation Problem

I'm follow along with a tutorial to get started with using CircuitPython to control servos on my RaspberryPi (https://learn.adafruit.com/adafruit-16-channel-pwm-servo-hat-for-raspberry-pi/using-the-...
0
votes
0answers
26 views

Servo and DC/Stepper Motor Hats Together

I am creating a robot with my Raspberry Pi 3 B+. For my project, I wish to use 2x NEMA 17 stepper motors for moving around, and 2x SG90 servos for managing pan/tilt of the head. I already have an ...
2
votes
2answers
244 views

What servo motors can safely be driven directly from a Raspberry Pi's GPIO header?

A Raspberry Pi's GPIO header includes power pins, and enough I/O pins to drive multiple servo motors. When using this header's 5V supply to power servo motors directly (rather than using external ...
1
vote
0answers
87 views

How to control servos on Arduino through Raspberry Pi [closed]

I have a couple of servos connected to an Arduino board, which is in turn connected to a Raspberry Pi (4) using an ethernet cable. Just wondering, in what ways can I control the servos on Raspian. ...
0
votes
0answers
23 views

Adafruit_MotorHAT PI4

I am trying to run the following the code on PI4. from Adafruit_MotorHAT import Adafruit_MotorHAT # pylint: disable=import-error import RPi.GPIO as GPIO # pylint: disable=import-error import time ...
0
votes
0answers
56 views

ServoBlaster on PI4

Could anyone make ServoBlaster work on Raspberry Pi 4? I was able to get it running on PI3 but the same code does not work on PI4.
2
votes
1answer
75 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 ...
1
vote
0answers
45 views

Adafruit ServoHat importing PWM object

I am following the Adafruit page regarding the ServoHat for the Raspberry Pi. I am unclear what module to import to get the PWM class. This is the page about using the PWM class: https://learn....
0
votes
0answers
25 views

PiGPIO inconsistent when using servo

so I will do the following command once and it will work and then the same sequence of commands never works again. Any help is appreciated, thanks! The commands are to first arm some ESCs then ...
0
votes
1answer
58 views

MGR996R rotation angle

Basically I want to control the angle of the rotation of the servo motor but I don't seem to know how... From the tech sheet I know this motor shouldn't be a continuous one, any hint would be ...
1
vote
1answer
117 views

Why is pigpio library not moving my servo when the same pin number works perfectly with RPi.GPIO?

I am working on a self driving rc car project and I need a servo to steer my car. As I was getting a bit jitter with RPi.GPIO I tried pigpio library. I am using a Raspbery Pi Model B. But it won't ...
5
votes
2answers
170 views

Pin powered Pi crashes when servos move

I have been working on a circuit to power a Raspberry Pi and servo(s) from a single power source. The diagram below shows the basic configuration, although the 'AA battery' is actually two 18650s. ...
0
votes
1answer
39 views

How to connect components of an RC (and rPi) car to the battery safely?

I am building an RC car from scratch. I have a 6v motor with an appropriate mdb, a 5v hobby servo, a raspberry pi zero w, and an 2200mAh 11.1v 50 C battery. I will upgrade the motor to a higher ...
-1
votes
1answer
97 views

Sg 5010 servo 360 degree modification not working [closed]

As per the video tutorials out there, I opened the motor, took out the potentiometer and measured its resistance at max. Its a b5k pot so it measured 5kohm I put 2.5k ohm from each pin (s and -) and ...
-1
votes
1answer
111 views

Control function for a DC servomotor angle

I am using a Raspberry Pi 3B+ with servomotor shields to control multiple servomotors at once with Python. I know that the travel angle of a servomotor is controlled using PWM. So there exists a ...
0
votes
1answer
254 views

Python code to use Adafruit motor shield v1 with Pi 3

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 ...
-1
votes
2answers
391 views

Control motors and servos simultaneously (Python)

I have a Raspberry Pi 2B+ and some knowledge of Python. I need to control a DC motor, two servos and a LED simultaneously. The requirements are: Must control two servos, a LED and at least 1 DC ...
0
votes
0answers
95 views

Raspberry Pi 3 Model B - Windows IOT - UWP C++ - Servo control?

So currently, I have already developed a uwp application in Visual C++. I ordered a raspberry pi 3 model b from Amazon and its expected to arrive on Wednesday. In my program, I have a button, when I ...
0
votes
1answer
572 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
1answer
153 views

How to control Arduino Uno using Raspberry Pi after image processing is done?

I am working on a project which is basically a robot car to collect garbage after the image in front of it is determined as Garbage (image processing using Raspberry Pi). I want my car movements to be ...
1
vote
2answers
274 views

Servo motors not working as expected with Raspberry pi 3

I am developing a robot with raspberry pi model b along with three servo motors. I have two functions which are defined for obtain robot behaviours. In the first function my servos are working well. ...
0
votes
1answer
169 views

The servo keeps rotating forever

I have 3 servo motors in my robot arm controlled by Raspberry Pi3 B+. One of the servos is (HV5932MG) (Link: "https://www.banggood.com/JX-Servo-PDI-HV5932MG-30KG-Large-Torque-360-High-Voltage-Digital-...
1
vote
1answer
278 views

Stepper Motor Hat v0.1 - pre-soldered version

I am pretty new and have installed the referenced HAT. I followed the instructions, but it is not detected. I have power and a green LED on the board and when I turn it on and off the servos jump a ...
1
vote
2answers
350 views

Why does my raspberry pi zero w crashes when controlling a DC motor with an L9232D and a 9g Servo motor?

I use this simple circuit to control a DC motor with an L293D, and a 9g servo motor with a Raspberry PI Zero W: I use the simple following code to test the circuit: from time import sleep import RPi....
-1
votes
1answer
460 views

Can a servo motor rotate to a specific angle? [closed]

I am using servo motor for some positioning. Let's said I want the servo motor rotate to a specific angle like 23 degree, is it possible to achieve using Raspberry PI? Did I need some sort of encoder ...
-1
votes
1answer
273 views

how to solve this segmentation error problem

I am writing a basic code for a robot to follow the blue color and whenever I am running the code it gives that out put the y is :0 the x is :0 moving to the right moving forward Segmentation fault ...
0
votes
0answers
117 views

How to turn multiple servos by an angle using the Adafruit servo/pwm pi hat?

So I'm using a Raspberry Pi Model 3b and an Adafruit 12-bit PWM Servo/PWM Pi Hat on my project to control 6 independent continuous servos. I'd like to send in signals that would turn the servo by that ...
1
vote
0answers
324 views

Is it possible to connect a Raspberry Pi Camera Module V2 without any concern to the CSI Camera Connector?

I have recently tried to connect the Raspberry Pi Camera Module V2 to the CSI Camera Connector on the Pi. At first, it worked properly and we could capture pictures and record videos. As part of a ...
0
votes
1answer
418 views

Servo angle control using Rpi and android App

I am trying to control the angle of a servo motor via an Android app that I built, installed on my phone. My phone sends the angle data (i.e. -90 to +90 degrees) to the raspberry pi via a TCP socket. ...
0
votes
1answer
996 views

Control servo motor using a web server

So I'm trying to get this to work. I have a .py file that turns the servo, and it works, but I'm trying to run it through a browser. So I installed apache and php, and I made .php file which, when ...
1
vote
0answers
646 views

How do I speed up MG995 servo motor using PCA9685 motor driver?

I am using PCA9685 to drive a MG995 servo motor. I am using the following code to control the servo motor. import time,Adafruit_PCA9685 def elbow(): pwm = Adafruit_PCA9685.PCA9685() pwm....
0
votes
1answer
89 views

Connecting a servo to a Pi

I'm new to electronics and have run into a problem while trying to hook up my micro-servo to my Pi. I have a Rapsberry Pi model 3 B, a breadboard, a 6V power supply, and a TowerPro MG90S micro servo. ...
0
votes
1answer
438 views

SG90 servo is vibrating and heating when I try to control it using Raspberry pi 3

I brought a new SG90 servo and I tried to control it using my Raspberry Pi's pin 17 writing the following code on the terminal's python >>>import RPi.GPIO as GPIO >>>import time &...
2
votes
2answers
387 views

How to get pan-tilt servos quiet forever after first adjustments

I have a camera mounted in an Adafruit pan-tilt mini kit with 2 servos (SG92R). Installed python-smbus and i2c-tools. From raspi-config I enabled 5 Interfacing options P5 I2C. Also installed ...
0
votes
2answers
98 views

Raspberry controlled fraction collector - what would be the best set?

I was thinking about building a self-assembled easy to use fraction collector controlled by raspberry. A Fraction collector is a piece of equipment used in liquid chromatography which has some tubes ...
1
vote
2answers
865 views

Simultaneous servo control on RPi 3?

I am building a project wherein I'll be controlling four servos using the Raspberry Pi 3. I wanted to control each pair of servos simultaneously (as in, when one servo is moving to a specified angle, ...
0
votes
0answers
112 views

RPIO issue with servo

I've followed the instructions in the answers on GPIO/RPIO. I still get the following error: Traceback (most recent call last): File "/home/pi/Documents/Python_Ed/RPIO_server_test.py", line 1, in &...
2
votes
0answers
315 views

Multiple servo motors with serial commands

I am trying to control multiple servo motors with a Raspberry Pi. I am using a USB to TTL cable for this. I am currently sending following serial commands for the movement. --> gpio -g mode 18 pwm --...
0
votes
2answers
543 views

Problem with usb serial RPI -> Arduino

I'm working on a robot, more precisely on his head which have to track an human face. I'm using a RPI which will detect the face and then send to the Arduino the angles for both servomotors. I ...
0
votes
1answer
604 views

Can I power 2 Servos with Raspberry pi 3

I'm working with 2 servos (SG-5010) and I want to use my Raspberry Pi 3 to control those servos. Can I power those 2 servos with the 5V pins (pins 2 or 4 in rasp)? I'm powering my Raspberry Pi with a ...
0
votes
2answers
256 views

How would I control multiple solenoid locks?

I would like to control 16 separate solenoid locks using PWM (It is not imperative that the lock is 12V, it could be 6V for example). The PWM source is this 16-channel servo driver from Adafuit. Is ...
0
votes
1answer
1k views

Run servoblaster Python code

lately i installed servoblaster to my raspberry pi and then tried a simple python code ` import os import time os.system('sudo ./servod') while True: os.system("echo 1=100 > /dev/...
2
votes
1answer
2k views

My servo jitters sometimes

I'm trying to build a toy model of self-driving car for my FYP. I have a RPi3 B+ Model with a custom 3D printed chassis which uses a futaba s3003 servo for steering front wheels. Servo is currently ...
1
vote
1answer
157 views

Servo turns one way except in Python

I am currently busy with a project where i need a servo to turn, i wrote a script in WiringPi (Python & .NET) that does this: //Set GPIO scheme. WiringPi.WiringPiSetupGpio(); ...
0
votes
1answer
143 views

raspberry pi3 servo blaster question

I run this code on Python 3 but it gives an error on echo 0, and echo 1. Can any one can correct this? #!/bin/bash #go to starting possition echo 0=60 > /dev/servoblaster sleep 1 echo 1=135 > /...