Comments on: Using the Dagu Pan/Tilt Kit with the Raspberry Pi http://blog.dawnrobotics.co.uk/2013/10/using-the-dagu-pantilt-kit-with-the-raspberry-pi/ Tutorials and updates from Dawn Robotics Tue, 30 Dec 2014 22:58:08 +0000 hourly 1 http://wordpress.org/?v=3.7.5 By: Steve http://blog.dawnrobotics.co.uk/2013/10/using-the-dagu-pantilt-kit-with-the-raspberry-pi/#comment-591 Mon, 08 Dec 2014 20:09:27 +0000 http://blog.dawnrobotics.co.uk/?p=238#comment-591 You are welcome. Merry Christmas to all!

]]>
By: Alan http://blog.dawnrobotics.co.uk/2013/10/using-the-dagu-pantilt-kit-with-the-raspberry-pi/#comment-586 Mon, 08 Dec 2014 11:11:14 +0000 http://blog.dawnrobotics.co.uk/?p=238#comment-586 Cheers for the kind comments Steve. :) Can’t take the credit for the neat packaging, that’s my colleague Martin, who helps with packing and shipping the orders. But yes, he does take great pride in his work. :)

]]>
By: Steve http://blog.dawnrobotics.co.uk/2013/10/using-the-dagu-pantilt-kit-with-the-raspberry-pi/#comment-570 Tue, 25 Nov 2014 22:08:34 +0000 http://blog.dawnrobotics.co.uk/?p=238#comment-570 I would like to say thanks for an excellent service Alan. I ordered the Pan/Tilt kit on a Sunday evening and it arrived Tuesday morning, the neatest packaged box I think I’ve ever received! I bet your Xmas parcels look great!!
I’m also very pleased with the Pan/Tilt, requires some patience to put together but does ‘what it says on the tin’ once complete.

]]>
By: Mark Routledge http://blog.dawnrobotics.co.uk/2013/10/using-the-dagu-pantilt-kit-with-the-raspberry-pi/#comment-435 Tue, 29 Jul 2014 06:38:37 +0000 http://blog.dawnrobotics.co.uk/?p=238#comment-435 Alan,

I’m actually powering my Pi using a Pi-Hub by Pimoroni – http://shop.pimoroni.com/products/pihub

It claims to be rated at 3000 mA.

At the time nothing else other than keyboard and mouse were connected to it. I agree the results were not as expected.

Thanks for the response.

Mark

]]>
By: Alan http://blog.dawnrobotics.co.uk/2013/10/using-the-dagu-pantilt-kit-with-the-raspberry-pi/#comment-434 Mon, 28 Jul 2014 15:32:38 +0000 http://blog.dawnrobotics.co.uk/?p=238#comment-434 Hi all,

I finally got a chance to test this tutorial with the new Model B+ this weekend, but didn’t get any lockups. The steps I took were

  • I started with the latest version of the Dawn Robotics SD Card image available here (2014-07-18). This is basically the June 2014 version of Raspbian with a lot of our open source software installed.
  • I installed RPIO and the pi_pan_tilt_control script as detailed in the tutorial.
  • Probably most importantly, I used this 1.2A power supply from RS Components

With this setup I was able to run the control script and didn’t get any lock ups at all.

It’s interesting that you were able to run the servos from the Pi on a Model B, but not on a B+ Mark, as in theory the Model B+ consumes less power, and so should have more to spare for the servos. :P Do you have a link to the wall adapter you used? As if it’s not too much I might buy one to check it out.

Regards

Alan

]]>
By: Mark Routledge http://blog.dawnrobotics.co.uk/2013/10/using-the-dagu-pantilt-kit-with-the-raspberry-pi/#comment-430 Fri, 25 Jul 2014 19:22:36 +0000 http://blog.dawnrobotics.co.uk/?p=238#comment-430 Dear All,

Loving the kit, learning about it all the time. A bit fiddly to setup for my fat fingers as initially I forgot to add the washers!

As a point of reference that might help people. I tried this initially on a Raspberry Pi B+, had lots of lock ups and reboots, I figured a power issue. Tried the EXACT same setup on a ‘B’ model, (same GPIO Pins etc) with the same supply and the script worked fine. So if using a Raspberry Pi B+ I would advise using an external power source. I found using a power supply from a crappy powered hub I bought provides a reasonable 5V to use. (Just share the common ground!)

]]>
By: Alan http://blog.dawnrobotics.co.uk/2013/10/using-the-dagu-pantilt-kit-with-the-raspberry-pi/#comment-428 Tue, 22 Jul 2014 18:27:42 +0000 http://blog.dawnrobotics.co.uk/?p=238#comment-428 Sorry for the delayed reply.

This sounds a bit odd. Perhaps a bug that’s crept in due to a change in a recent version of Raspbian. Could you maybe try running the script on an older version of Raspbian or one of our older SD card images?

I’ll hopefully have some time to look at this later in the week so that I can check it’s still working on our Pis.

Regards

Alan

]]>
By: Derek Dickerson http://blog.dawnrobotics.co.uk/2013/10/using-the-dagu-pantilt-kit-with-the-raspberry-pi/#comment-423 Sun, 20 Jul 2014 03:50:11 +0000 http://blog.dawnrobotics.co.uk/?p=238#comment-423 yeah no movement here ether does nothing except when I power it on at first

]]>
By: Alan http://blog.dawnrobotics.co.uk/2013/10/using-the-dagu-pantilt-kit-with-the-raspberry-pi/#comment-407 Wed, 09 Jul 2014 18:05:39 +0000 http://blog.dawnrobotics.co.uk/?p=238#comment-407 Hi Ryan,

If the problem can be solved by switching to external power for the servo, then it defintely sounds like your wall adapter can’t deliver enough current. Basically if the current drawn by the servos gets too high then the voltage supplied to the Pi will drop, and it will brownout, shutting down and restarting. The current draw from the servos will increase if they have to change direction quickly or if they’re stalled (i.e. if you stop them from moving with your hand). The wall adapter I tend to use is this one from RS components so it may be worth getting one for your Pi projects.

As for the servo buzz, that is fairly normal for servo motors I’m afraid. Basically the motor control electronics inside the servo are continually seeking back and forth past the target angle, although hopefully you shouldn’t see too much judder. It may be possible to turn off the PWM signal to the servo once you think its reached its target angle which should stop the buzz. But then the servo wouldn’t be held in place and could be turned by hand.

Regards

Alan

]]>
By: Ryan http://blog.dawnrobotics.co.uk/2013/10/using-the-dagu-pantilt-kit-with-the-raspberry-pi/#comment-406 Wed, 09 Jul 2014 14:52:31 +0000 http://blog.dawnrobotics.co.uk/?p=238#comment-406 No worries Alan :D

I tried the Pi with a wall adapter, and same problem. Additionally, the problem happened both when issuing rapid commands (such as having mouse position drive servo position), and issuing sparse commands (such as command-line mode.

The problem can be solved by switching to an external power supply (or presumably, adding something between the Pi’s vcc pin and the servos? Can you advise?). As I say I’m a total electronics newb so I’m not sure exactly what the problem was other than it doesn’t happen when you draw power from an external source. Perhaps it tries drawing too much power and overwhelms the Pi?

Thanks for your continued speedy replies, will definitely be placing further orders :)

p.s. the servos “buzz” when maintaining position, I assume that’s normal operation…

]]>