-
Notifications
You must be signed in to change notification settings - Fork 568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ServoBlaster not working on Raspberry Pi Zero W #84
Comments
I had the same issue and fixed it with 2 atempts to edit servod.c to change the Board Model to either 1 or 2. Edit line 960 per Maxjp response on #62. I first added || strstr(modelstr, "BCM2835") to the "else if " line to force a Board Model 1, but that didn't work so I removed and added it to if line just above and Made it a Board Model 2 |
Not working... changed the lines as you said, recompiled, reboot, still no movement... and its not a wiring issue (checked that). |
Hi ileamihai. I have the same issue and I'm also following Allan H project but with Raspberry Pi W zero, but the pan-tilt camera is not responding to the servoblaster. |
I also have the same problem. :( I edited the servod.c line#960, added the BCM2835 link in #62 described but it still does not working i'm running on the latest noobs with Linux raspberrypi 4.9.28+ #998 Mon May 15 16:50:35 BST 2017 armv6l GNU/Linux |
same here |
Unfortunately I have spent considerable time trying various things, including the fix mentioned above & downgrading the firmware, with no results. It appears it may require an older version of the OS, which isn't really a long term solution. I hope some great servoblaster guru can help to dull the pain a :( |
I think that probably Servoblaster has had its time. Now Pigpio is much better supported (e.g. on newer OS and chip versions) and supports a superset of the functionality, these users are probably advised to use Pigpio instead. |
If no one can figure out how to make the beloved Servoblaster work on Pi-Zero, can someone tell us how to configure Pigpio to act as a drop-in replacement for Servoblaster ? Also, can Pigpio give 2 uS resolution like Servoblaster ? |
Sorry I've been ignoring you for so long... had a lot of real life to deal
with lately.
I've just made this edit to servod.c and it seems to be working for me on a
Pi Zero:
diff --git a/ServoBlaster/user/servod.c b/ServoBlaster/user/servod.c
index 341776c..f0c0e74 100644
--- a/ServoBlaster/user/servod.c
+++ b/ServoBlaster/user/servod.c
@@ -959,6 +959,8 @@ get_model_and_revision(void)
board_model = 1;
else if (strstr(modelstr, "BCM2709"))
board_model = 2;
+ else if (strstr(modelstr, "BCM2835"))
+ board_model = 1;
else
fatal("servod: Cannot parse the hardware name string\n");
At least, after "echo 0=50 > /dev/servoblaster" a scope on P1-7 shows a
regular 500us pulse every 20ms, as expected. I don't actually have it
wired to a servo yet.
Please let me know if that helps you guys.
Richard
…On Sun, Aug 20, 2017 at 12:43 PM, NewtownGal ***@***.***> wrote:
If no one can figure out how to make the beloved Servoblaster work on
Pi-Zero, can someone tell us how to configure Pigpio to act as a drop-in
replacement for Servoblaster ? Also, can Pigpio give 2 uS resolution like
Servoblaster ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#84 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABvYsSYTHxERBC_nk1MQPwh_3S-muHoaks5saBvhgaJpZM4NE_pt>
.
|
It works Richard ! I just tested in on a Pi Zero W with two servos. Thank you !! |
hello, i tried on raspberry pi model 3B. my servo is not responding. can anyone give me any suggestion?? |
Hey I am also having same problem with raspberry pi 3 Model B. If anyone found solution then please post it. Thanks |
Hi all, I've not had the chance to test on RPiZ hardware, but could you try the fork at https://github.com/srcshelton/servoblaster (specifically the change at See changes at srcshelton@4f42f39#diff-364476f388d8ca6306a119734df9fe60R1025) and confirm whether this is also effective on the Zero (which I believe it should be!) |
Relevant fixes for PI Zero and Pi3 copied from from Stuart's version to this repo. Closing. |
Hi Guys,
I am struggling with a pan/tilt project on a RPI Zero W.
I am following Allan H's Robot Project from here: https://www.youtube.com/watch?v=wzOkuglA_5s
ServoBlaster was installed as follows:
I've been scouring the Internet for a solution but cannot find anything...
Everything is up-to-date as of today (RPI-update, update, upgrade).
Thanks a lot for your feedback!
The text was updated successfully, but these errors were encountered: