Giter Club home page Giter Club logo

Comments (4)

richardghirst avatar richardghirst commented on August 18, 2024

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.

richardghirst avatar richardghirst commented on August 18, 2024

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.

rstolyarov avatar rstolyarov commented on August 18, 2024

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.

richardghirst avatar richardghirst commented on August 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.