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
1answer
44 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
137 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
47 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
61 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
33 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 ...
4
votes
1answer
96 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
49 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
165 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 ...
0
votes
3answers
186 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
74 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
420 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
63 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 ...
0
votes
4answers
495 views

trigger cron job from web application

I would like to improve on my project by using cron jobs. Currently, i have a web application that allows me to control servos. However I would like to add another function on the web application ...
1
vote
1answer
400 views

Using Pan and Tilt servos

I am trying to get pan and tilt camera working with Raspberry Pi. I have successfully gotten one servo to work following this tutorial: I also found this tutorial showing pan and tilt, although it ...
3
votes
1answer
321 views

How to call ServoBlaster from C#/Mono?

I have successfully installed ServoBlaster, and it runs quite well from the terminal with the command echo p1-22=250 > /dev/servoblaster just like the documentation says. However, when I try ...
3
votes
1answer
626 views

Servo jumps on raspberry pi boot

I have just started using a servo to drive the front steering of a remote control car frame which i cannibalised. The steering works fine if i start it up and tune it however when i shut down the ...
1
vote
1answer
890 views

Getting axis values from joystick from jstest into C program

I am wondering if there is a way to get the axis position values from a joystick to feed into a C program. I can run the command jstest /dev/input/js0 and it will display live feedback of current ...
0
votes
1answer
1k views

Control servo with raspberry pi

I have the following servo I would like to make a small self balancing robot with it. I am having trouble with figuring out how to control it with PWM using pulses to decide what position to move it ...
1
vote
0answers
994 views

Controlling a Servo motor

I am having trouble running a servo motor with raspberry pi Here is what I have done so far , I have gotten a servo motor (http://goo.gl/67AsF), I have powered it with a 5 volt power source from a ...
1
vote
1answer
2k views

How to use a key listener?

Ok, at the moment I am working on adding motors to a lego tank that I have. I have one servo in the front to steer and another motor in the rear that will make it go forwards and backwards. i have ...
5
votes
2answers
480 views

How could I use a RasPi to control keg flow?

I'm in the middle of a basement retrofit and have a refrigerator that I'm hoping to convert to a kegerator. Before I go to town drilling and such, I was wondering if there was a way I could use a ...
20
votes
8answers
18k views

How can I control an RC servo?

I'd like to control a small RC servo (5 V, 500 mA) from the GPIO pins via Python. Hardware What are the required electrical connections? Can I connect multiple servos to the Raspberry ...