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.

learn more… | top users | synonyms

0
votes
2answers
18 views

Raspberry Pi- Arduino Serially driven servo problem

I have been lately working on a ball tracker robot using image processing and I have interfaced Arduino and Raspi via USB. While the servo.write() function works perfectly when i program the Arduino ...
0
votes
1answer
32 views

Why do I need to connect servos to the ground of the battery and the ground of the RPi?

I'm trying to use two servos simultaneously and I've connected both servos to my battery pack which gives 6V (the servos require 6v). If I ground the servo only to the battery and I only use one of ...
1
vote
0answers
33 views

How to connect a servo feedback potentiometer?

I've taken apart an old RC car and have been trying to get my Raspberry Pi to run the car. At this point, I'm able to control the rear drive motor. The motor is connected to a L298N H-Bridge module. ...
1
vote
1answer
18 views

Adding a servo to existing project with two motors

Currently I have this setup running. I would like to add my old robbe servo to this setup. There are many tutorials for a servo setup, however, I do not have enough knowledge to combine the schemas ...
3
votes
3answers
39 views

What components are required for connecting servo motor to PI?

I'm planning to integrate a servo motor with a raspberry PI to press a switch button and found this post very helpful : PWM Control on Raspberry PI I'm considering this motor VicTsing Mini SG90 9g ...
0
votes
0answers
16 views

motor control using Windows Desktop Through rasPi

I am totally new for RPI and just started to learn about it I want to achieve is that I have my desktop with visual studio 2013 and I want to control 3 motors via RPI So it’s like: Win(visual studio ...
0
votes
2answers
47 views

Two servos connected causes shaking

I have two servos which I want to control from my RPi. My problem is that the servos start shaking if I use them both. Both servos are connected to the +5V pin and to the ground of the Pi. So I have ...
0
votes
1answer
29 views

Why a resistance between signal and GPIO - External power source

I'm trying to power my servo from an external power source and control it with my Pi and I've found following circuit: http://razzpisampler.oreilly.com/images/rpck_1001.png Why is there a resistance ...
0
votes
0answers
20 views

Servo problem with arduino connected to Raspi

I have an arduino that's serially communicating via the USB from the raspi and getting powered as well. I'm connecting a servo that is powered by a 7805 regulator from a 9v battery and the signal ...
0
votes
0answers
34 views

Adafruit servo hat connections

I cannot solder the hat to the raspberry like suggested in the manual because the pins are alreade blocked by a proto-shield. However, I connected the SCL and SDA pins to the board and used an ...
1
vote
1answer
35 views

Having issues controlling a servo from pi-blaster

I'm trying to learn more about making electronics making stuff. Right now I'm just trying to get a servo to move so I can go on to bigger things. I have a Pi B+ running Rasbian and an HS-311 servo ...
1
vote
0answers
23 views

How to make servos not jitter without extra hardware [duplicate]

To control a servo, I'm using this. To summarize it: you use code like this: while True: GPIO.output(pin, GPIO.HIGH) time.sleep(0.0015) GPIO.output(pin, GPIO.LOW) time.sleep(0.0185) ...
0
votes
0answers
48 views

Connecting more elements to Raspberry pi servo hat

I have bought this rpi servo hat to control some servos. But I'm wondering if I still can add elements like leds or like a movement sensor to the GPIO. At all examples I can see that the GPIO is ...
2
votes
0answers
19 views

Getting current servo angle with GPIO

Without using Occidentalis (which might not even work that way), is there any way to get the current angle of a servo? I know it has a potentiometer, I just have no idea how to go about getting that ...
2
votes
3answers
73 views

Connect two devices to the same GPIO pin

Let's say I want to control two servos from my Raspberry PI but I want to give them the exact same movements. Could I connect them to the same GPIO port, so they can use the same signal? If not, what ...
0
votes
0answers
42 views

Servoblaster Servo Rotation 360 Degrees Help

I am working on a project and using a servo with servoblaster. I am trying to make the servo be able to rotate 360 degrees. Hardware wise, I already removed the stopping gear and changed the value ...
1
vote
0answers
60 views

Connect a servo to explorer hat

trying to get a servo controller from my raspberry pi with a piminori explorer hat and servoblaster. When I use one of the GPIO port which connect to the LEDs and touch with the yellow control wire of ...
1
vote
1answer
77 views

Advanced servo control

I just bought a small robot arm (The MeArm). I can control my servos, but not as I want. Later I want to control the MeArm with my Wii remote. About the script I thought about a counter or ...
1
vote
1answer
91 views

RPi powering camera with pan/tilt bracket

I'm pretty new to electronics and wanted to build a camera with pan/tilt setup on my RPi. I would be using brackets like these: https://www.sparkfun.com/products/10335 And perhaps servos like these: ...
0
votes
1answer
230 views

Questions about wiring raspberry, l298n, SG90 and HC-SR04

I've finished testing and mounting my hc-sr04 and sg90 and now i have to connect everything, but have doubts and questions. Here are the diagrams that show what I am thinking to do: This one shows how ...
1
vote
2answers
116 views

Programming servo - What to use?

So I just decided to start a small side project using the RPi to control 1 or 2 servos. At first, I thought this would just mean plugging the GPIO pins of the servo to the GPIO pins on the RPi, and ...
4
votes
1answer
634 views

Controlling Servos with a Raspberry Pi

I am not sure if this will break my Pi, so I decided to double check In this image is a simple servo connection, I am still learning how servos work. I actually have two questions: If I decided ...
1
vote
1answer
95 views

RPIO.GPIO on RPie vers 1 B versus RPi.GPIO on Rpie vers 2B

With the "old" Pi v1 B, Python 2.7 (or Python 3.x.) I run a smal program for testing a servo motor. The motor opens/closes a lid on a smal fan. It worked fine, the servo not jittering. I was happy. ...
0
votes
0answers
49 views

Raspberry Pi crashes when setting servo pin high

I have just finished a robotics project, which is due in a competition in a couple of hours. I have a problem: when my code sets one of the pins for the servo motor high, waits for a tiny amount of ...
1
vote
2answers
371 views

Max number of RC motors controlled by Raspberry PI

I have already searched the web, there are posts and articles showing how to control a servo motor or dc motor using raspberry pi. my question is what is maximum number of motors i can control using ...
2
votes
1answer
358 views

Controlling servo with pi-blaster works but pi-blaster.js does not

I am able to control a servo with pi-blaster from the command line successfully. However when I try to use pi-blaster.js to do so in Node.js (either at the node command line or from within a Node ...
1
vote
1answer
2k views

How to run 2 servos with wiringpi2 on Raspberry pi 2

Hello I want to use 2 servo with different gpio pins. But Raspberry has one hardware pwm (GPIO 18). first of all I tried another pin to run servo and my code: wiringpi.pinMode(18,2) ...
0
votes
1answer
2k views

How to use pigpio to control a servo motor with a keyboard?

My aim is to be able to control a servo motor with my keyboard in a real time fashion using the python module of pigpio. That is, when I press say the 'w' key it rotates clockwise and when I press the ...
1
vote
0answers
392 views

Multiple servo control RPi

I have written the following script to set positions for a single servo. import RPi.GPIO as GPIO import time #set up pin 11 as an output GPIO.setmode (GPIO.BOARD) GPIO.setup (11, GPIO.OUT) ...
1
vote
0answers
186 views

Raspberry pi with PS3 Controller

Hi I have used the following code for a specific movement for the servos. In my project I have 3 servos per nacelle (2 nacelles) to control the motions for the bicopter. I want to control the inputs ...
1
vote
0answers
168 views

Raspberry Pi with ESC and PS3 Controller

I am new to coding and I am trying to control ESCs through a PS3 controller which will be coded on the Raspberry Pi B+. I think this can be done, but i have read in a lot of places that I need to use ...
1
vote
0answers
95 views

Ideas for limited camera pan and tilt

I have a number of Pis, each with a camera module attached. I've mounted the cameras on a flat board side by side, but have discovered that there are physical inconsistencies in the camera modules ...
0
votes
3answers
2k views

Controlling a continuous servo with raspberry pi

As the title states I want to be able to control a continuous rotation servo and use it as a wheel for my rc car. I have installed ServoBlaster but I can't find any tutorial or example on how to send ...
5
votes
3answers
426 views

How can I get a clock in C accurate enough to control a servo?

I want to write a program that controls a servo motor myself using a pi B+. Controlling the motor involves sending 1.5 millisecond pulses along a GPIO pin every 20 milliseconds. I have tested the ...
6
votes
2answers
281 views

Use a servo right from the GPIO without a breakout board

I've been researching how to use a servo on my Raspberry Pi but the tutorials concerning this seem very complicated. This surprised me, since the Raspberry Pi has GPIO built right in. Despite the Pi ...
0
votes
1answer
196 views

Gertboard to control 4 servos?

I have been given this arm: It consists of 4 servos, which need to be controlled individually. Can I control them using Gertboard? Gertboard has only one motor driver, but it also has several open ...
0
votes
1answer
1k views

Raspberry pi servo motor angle calculation [closed]

I know servo : 1 ms is 0 degree 1.5 ms is 90 degree 2 ms is 180 degree I also know servo motor has period of 20 ms and PWM from 1-2 ms, but i totally confused how to calculate angle like 30 or 60 ...
0
votes
1answer
189 views

motor and audio

I'm using a raspberry pi, wheezy, raspbian, revision B. I'm I'm connecting a servo motor with these specs: Required Pulse: 3-5 Volt Peak to Peak Square Wave Operating Voltage: 4.8-6.0 Volts ...
1
vote
1answer
1k views

RPI B+ with connected servo is twitching

I am looking for some advice on how to properly get my servo working correctly. I have wired it up and it appears to be working correctly. The problem I have is with the signalling causing a ...
1
vote
1answer
1k views

How many ultrasonic sensor can a Raspberry pi B+ can handle?

im planning to build a simple robot. having several ultrasonic sentor and 12 servo motor. How many ultrasonic sensor can a Raspberry pi B+ can handle? i need 8 ultrasonic working at the same time ...
1
vote
1answer
754 views

How to write to /dev/servoblaster from Python script?

I'm working on a RPI controlled quadcopter. The PWM is generated by ServoBlaster. I've written a Python script to control the motors' speed. Assume that I'm using GPIO4 to control the motor. If I want ...
1
vote
1answer
3k views

WiringPi + softPwm calculation to determine duty cycle

For my project we got a pre-installed rpi with all the working libraries and an example program to set a servo in middle position. The info: in a period of 20ms (50hz) we need 1,5ms to set it to ...
0
votes
0answers
92 views

Beginning with servos and PWM

As a way into getting myself back into learning more about electronics I'm trying to figure out how not to screw up configuring an Adafruit 16-Channel 12-bit PWM/Servo Driver with my pi. It's been ...
5
votes
1answer
689 views

PWM Control on Raspberry PI

Alright so I understand this question is fairly saturated, but my use in pwm is for two differing pieces of hardware. (Sourced from: https://www.modmypi.com/blog/raspberry-pi-gpio-en-franais) From ...
0
votes
0answers
181 views

Raspberry Pi finer servo control

I'm usig RPI and Servoblaster to control servos. I've set the --step-size to 2 us, but I'd like to decrease it to 1us. I've tried to set the step-size to 1us, but the Servoblaster displays: Invalid ...
1
vote
3answers
492 views

ServoBlaster problem (auto rotate)

I have rotation bug in ServoBlaster.. I'm using these values: 1500us : Idle 1530us : Pulse left 1480us : Pulse right For example : echo 1=1500us > /dev/servoblaster. BUT, my problem is the ...
1
vote
4answers
761 views

Controlling a servo and playing sounds

I've got a serious problem about Pi. It is - I can play sound just fine with a python script either with: import pygame pygame.mixer.init() pygame.mixer.Sound("...").play() or: import os ...
0
votes
0answers
176 views

Raspbian crashing after servo.stop_servo()

I have a servo connected to my RPi and I try PWM.Servo's capabilities. The program below does what it should - but after execution it crashes system (it doesn't respond to any input, no animations, ...
0
votes
2answers
735 views

my raspberry pi freezes while face tracking using openCV and servoblaster

I'm trying to track face with Pan and tilt motion, using servoblaster and opencv, i followed this tutorial if anyone is intrested.. it runs perfectly but after few seconds camera freezes and it stops ...
1
vote
2answers
121 views

What servo motor and mechanism to move the whole Raspi, its camera and case?

I know there is an interesting Pan & tilt from openelectronics but my project is to move (to pan only) the whole raspi and camera with its waterproof case (# 500 gr) It 's for an outdoor site. as ...