Comments (4)
A continuous buzzing sound suggests it has been asked to move beyond the
end stop. What command did you try after 0=120 ? Does a second 0=120
cause the problem? Does 0=110 or 0=130 cause the problem?
Richard
On 3 Feb 2014 05:18, "Roman Stolyarov" [email protected] wrote:
When I set my servo's position once with a line such as:
echo 0=120 > /dev/servoblaster
it rotates there and everything is fine. Then, when I try to do it again,
it makes a buzzing sound continuously and doesn't move no matter what input
I give. What is the problem here?The servo has 180-degree range, HS-422.
Reply to this email directly or view it on GitHubhttps://github.com//issues/26
.
from pibits.
A quick google suggests that servo has a center position at 1500us, and is
only guaranteed to move 45 degrees in each direction, for a pulse width
change of 400us (though typically they will move nearer to 180 degrees
total). So, I'd start with 0=150, and try going back and fore from there,
within the range 0=110 to 0=190. That assumes you've run servod with the
default parameters, so step-size is 10us.
Richard
On Mon, Feb 3, 2014 at 7:55 AM, Richard Hirst [email protected]:
A continuous buzzing sound suggests it has been asked to move beyond the
end stop. What command did you try after 0=120 ? Does a second 0=120
cause the problem? Does 0=110 or 0=130 cause the problem?Richard
On 3 Feb 2014 05:18, "Roman Stolyarov" [email protected] wrote:When I set my servo's position once with a line such as:
echo 0=120 > /dev/servoblaster
it rotates there and everything is fine. Then, when I try to do it again,
it makes a buzzing sound continuously and doesn't move no matter what input
I give. What is the problem here?The servo has 180-degree range, HS-422.
Reply to this email directly or view it on GitHubhttps://github.com//issues/26
.
from pibits.
Richard, thank you for our quick response. Indeed, it looks as though the servo rotates to its maximum angle and just stops there, continuing to buzz. The same thing happens when I tried 0=150. Basically, it responds to the first command, but then stops responding to any others.
Also significant: it only rotates in one direction (in response to commands). Although it is capable of rotating in both directions. Any idea what the problem is here?
from pibits.
Is it possible it is moving to the end-stop on the first command you issue,
whatever position you are trying to set it to? If so, maybe you are
generating a pulse that is much wider than intended, so all reasonable
widths translate to "beyond the end-stop". I assume you are using servod,
and not the old kernel implementation (servoblaster.ko). The code uses the
PWM hardware to generate the delays, but can be told to use the PCM
hardware instead (option --pcm). You could try that, in case there is some
problem/conflict with the use of PWM on your system.
You could also try running ServoBlaster/servodebug.c (see top of file for
instructions), which will attempt to show you the times at which the servo
control output is actually switching. You need to turn an output on first
(e.g. 0=120), then you can send me the output of servodebug, if it doesn't
make sense to you.
Richard
On Tue, Feb 4, 2014 at 3:15 PM, Roman Stolyarov [email protected]:
Richard, thank you for our quick response. Indeed, it looks as though the
servo rotates to its maximum angle and just stops there, continuing to
buzz. The same thing happens when I tried 0=150. Basically, it responds to
the first command, but then stops responding to any others.Also significant: it only rotates in one direction (in response to
commands). Although it is capable of rotating in both directions. Any idea
what the problem is here?Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-34068880
.
from pibits.
Related Issues (20)
- Debian Buster : undefined reference to `makedev' -> (need define sys/sysmacros.h) HOT 5
- Catastrophic Segfault on PI 4 (crash-loop the ssh server forever) HOT 2
- Servoblaster for Pi4 HOT 2
- Teapot Demo HOT 2
- Installed servoblaster for Raspberry Pi 3 Model B+ but an error occured HOT 15
- MPU6050 Remote I/O error on RasberryPI 4 HOT 2
- one pi to another HOT 4
- Bug. Unable to play audio music files when servod is launched. HOT 3
- Stop continuous servo sg90 with servoblaster HOT 1
- servod: Cannot parse the hardware name string HOT 1
- Cannot compile servod on Pi Zero with Raspbian Buster HOT 2
- is it important that /proc/cpuinfo for the Pi Zero varies by the OS version ? HOT 2
- Servoblaster for Pi4 B HOT 3
- brushless motors run few seconds HOT 5
- modprobe: FATAL: Module servoblaster not found in directory /lib/modules/5.4.79-v7l+ HOT 5
- Me Arm Raspberry Pi issue HOT 7
- complie issue of Pi4 8GB HOT 2
- Servoblaster does not work well on new Raspberry installation HOT 4
- ERROR: /dev/servoblaster does not exist
- ServoBlaster and Bullseye
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pibits.