Go to advanced search

by Slow Dog
Tue Apr 04, 2017 10:03 am
Forum: Beginners
Topic: Beginner - controlling 2 servo's
Replies: 2
Views: 664

Re: Beginner - controlling 2 servo's

gcastillo1979 wrote: does the servoblaster change up the old format?
Assuming you originally wrote your code using RPI.GPIO, then you will have to re-write your code so it uses servoblaster.
by Slow Dog
Fri Mar 31, 2017 11:48 am
Forum: Automation, sensing and robotics
Topic: Controlling several servos speed using Servoblaster and pi4j
Replies: 2
Views: 589

Re: Controlling several servos speed using Servoblaster and

I've been mulling over the same issue. You can't set the speed of a servo. All you do is move the servos to intermediate positions at differing rates. Some psuedocode to move servos to positions via a number of steps: lowspeed=100 medspeed=200 highspeed=2000 servoSpeed[] = { highspeed, medspeed, hig...
by Slow Dog
Fri Mar 17, 2017 12:06 am
Forum: General discussion
Topic: LED flashes on Power off on the PiZero W [solved]
Replies: 15
Views: 5844

Re: Power off on the PiZero W

rpdom wrote:It will be fixed. I don't know if the fixed version has been released yet.
I've updated, and the LED now shows when the Pi's on and off, so that's a great improvement.
by Slow Dog
Thu Mar 16, 2017 7:21 pm
Forum: General discussion
Topic: LED flashes on Power off on the PiZero W [solved]
Replies: 15
Views: 5844

Re: Power off on the PiZero W

Hmm. My Pi Zero W flashes it's LED as it's starting up, then the LED turns off. There's no indication that it's on at all. Nor any that it's turned off again.
by Slow Dog
Mon Mar 13, 2017 1:04 pm
Forum: Automation, sensing and robotics
Topic: Quadruped Robot
Replies: 9
Views: 4583

Re: Quadruped Robot

That's cool. I'm in the midst of a similar (hexapod) project, working on it's programming. While I'm not interested in code - 'cos the point is to do it myself - can you point at any resources you found useful? I'm happy I know what to do about body positioning (much helped out by a python inverse k...
by Slow Dog
Thu Mar 09, 2017 8:13 pm
Forum: Automation, sensing and robotics
Topic: want to use soft pwm with gpio command
Replies: 11
Views: 9430

Re: want to use soft pwm with gpio command

>I presume there is always some daemon process running in the background to drive the pins? It seems to me that presumption is wrong. pigpio is described here . I suggest you convert your python programs to use it instead of rpi.gpio, for it (as you noticed) has the daemon you require. In my experie...
by Slow Dog
Tue Feb 28, 2017 11:27 am
Forum: Automation, sensing and robotics
Topic: Powering 4 servos
Replies: 1
Views: 397

Re: Powering 4 servos

You don't need a servo hat. Use pigpio or servoblaster. A breadboard is useful for prototyping. A four cell battery pack should work for servo power. It depends how much power your servos will need. I'm using a lipo battery through a ubec (this is just the first ebay listing for such a thing http://...
by Slow Dog
Mon Jul 25, 2016 6:03 pm
Forum: Automation, sensing and robotics
Topic: Powering microservo from +5v GPIO
Replies: 5
Views: 1679

Re: Powering microservo from +5v GPIO

[-Everything was fine until it exploded-] I think the lesson here is probably what you were getting at with your final word above, "yet". Yep. Though that's more dramatic than I'd anticipated. In the worse case, I'll have to buy a new Pi Zero. I'd be more careful were it more expensive. W...
by Slow Dog
Mon Jul 25, 2016 2:31 pm
Forum: Automation, sensing and robotics
Topic: Powering microservo from +5v GPIO
Replies: 5
Views: 1679

Re: Powering microservo from +5v GPIO

I don't know the answer. But I've run three of those servos (sometimes moving all at once, with moderate load) from my PI Zero's GPIO pins for up half a minute at a time and it's not gone wrong. Yet.
by Slow Dog
Thu Mar 17, 2016 8:04 pm
Forum: Automation, sensing and robotics
Topic: Micro Servo Motor twitching
Replies: 4
Views: 6919

Re: Micro Servo Motor twitching

Try this: #!/usr/bin/env python import time import pigpio pi = pigpio.pi() # Connect to local Pi. pi.set_servo_pulsewidth(17, 1000) time.sleep(0.5) pi.set_servo_pulsewidth(17, 1500) time.sleep(0.5) pi.set_servo_pulsewidth(17, 2000) time.sleep(0.5) pi.set_servo_pulsewidth(17, 1500) time.sleep(0.5) # ...
by Slow Dog
Thu Mar 17, 2016 12:32 pm
Forum: Automation, sensing and robotics
Topic: Micro Servo Motor twitching
Replies: 4
Views: 6919

Re: Micro Servo Motor twitching

I had the same issue. The standard RPi.GPIO library isn't up to this. I swapped to the pigpio library http://abyz.co.uk/rpi/pigpio/ and the twitching went away. It's because pigpio's PWM timing is much more accurate.
by Slow Dog
Thu Nov 01, 2012 2:55 pm
Forum: General discussion
Topic: beggining Rp game programming book
Replies: 3
Views: 737

Re: beggining Rp game programming book

I just downloaded a file from here: http://www.raspberrypi-tutorials.co.uk//beginning-raspberry-pi-game-programming-book/beginning-raspberry-pi-game-programming.gz . Assuming that's the right thing, the (g)zip file contained a file called "TheMessageQuer.tar". Is that what you've got? That...
by Slow Dog
Thu Jul 19, 2012 10:34 pm
Forum: Beginners
Topic: Connecting Wheezy to Network Drive
Replies: 0
Views: 609

Connecting Wheezy to Network Drive

I can browse to the shared windows folders on my networked windows PC from the file manager on the Squeezy distribution. Going to Networked Drives in File Manager using Wheezy pops up an error box saying "Operation not supported" the first time, then nothing subsequently. What's the differ...

Go to advanced search