Show Posts
Pages: [1]
1  Using Arduino / Motors, Mechanics, and Power / Re: Newbie - HS-311 Servo 360 Continuous Rotation help on: January 20, 2013, 06:03:31 am
zoomkat, Thanks for that and the illustration. Pictures are always good.

Just out of interest... I have a motor shield with 2x servo contacts on it. I havent opened it up yet as I have spent my time looking inside the servo. Would the shield get the current needed to run the servo or do I still need an external power source?

If I do need an external source, what is everyone using? Is it one of those plastic 4xAAA battery packs??


Thanks for your help
2  Using Arduino / Motors, Mechanics, and Power / Re: Newbie - HS-311 Servo 360 Continuous Rotation help on: January 19, 2013, 08:18:46 pm
Hi Joe, thanks for the reply.

My project at the moment is a very simple one.

I have the 2 DOF pan and tilt brackets which requires 2 standard size servos. For the bottom servo I want 360 rotation which will be controlled manually (eventually). For the top servo I want just the normal 180 degree motion. So an everyday servo would suffice for this.

http://www.google.co.uk/imgres?um=1&hl=en&safe=off&sa=N&tbo=d&biw=1920&bih=912&tbm=isch&tbnid=3mcqKTEE6SctbM:&imgrefurl=http://www.goodluckbuy.com/2-dof-long-pan-and-tilt-robot-joint-with-mg995-servos-sensor-mount-kit-for-arduino-robot.html&docid=uTvts9z2yNdBqM&imgurl=http://www.goodluckbuy.com/images/detailed_images/sku_84803_2.jpg&w=600&h=600&ei=N0X7UPCYIaS80QXQ44HQDA&zoom=1&iact=hc&vpx=1658&vpy=112&dur=4&hovh=225&hovw=225&tx=200&ty=116&sig=117312181707956783316&page=1&tbnh=140&tbnw=140&start=0&ndsp=55&ved=1t:429,r:10,s:0,i:112

Sorry for the craaaazy long URL
3  Using Arduino / Motors, Mechanics, and Power / Re: Newbie - HS-311 Servo 360 Continuous Rotation help on: January 19, 2013, 08:09:11 pm
Here is the battery I am using:

http://www.amazon.co.uk/Duracell-Rechargeable-9V-batteries-EACH/dp/B0019M8HQM/ref=sr_1_2?ie=UTF8&qid=1358643837&sr=8-2

I check via a multimeter if there is still life in it. If its dead I just swap it with the other one I have on charge. (saves cash!!)


As for the setup. Please refer to my description in a post above. I have the 9v on the power rail on the breadboard and the servo is wired into that. Ground is also on the same power rail and it is wired to the gnd pin on the arduino. The signal is from the breadboard (yellow wire from servo) to D9 on the arduino.

Hope that makes sense?? Actually hard to describe in detail with words.
4  Using Arduino / Motors, Mechanics, and Power / Re: Newbie - HS-311 Servo 360 Continuous Rotation help on: January 19, 2013, 07:45:20 pm
Hi Guys,

I would just like to firstly say thank you for your help so far. It has been quite taxing trying to understand all of this I must admit.

Let me reply to you:-

AWOL - When I did the mod, I set the servo running on the "knob" sketch and using the code mentioned in the comments here in the instructions.
http://www.flickr.com/photos/randomskk/2569961787/in/photostream/

When the servo was running I got a tiny flat head screwdriver, turned the potentiometer either ways until I got to a 0 point where the gears stopped moving in either direction.

Then I disconnected it, snipped it, glued it and let it set.

Then plugged it in and here I am, scratching my head  smiley


cr0sh - Now that explains a lot to me. Seems I have been barking up the wrong tree for what I am actually needing. I knew it was able to be continuous but was not aware that I could not control the servo in degrees of motion now. Buying some expensive servo is not on the list at all.

What would happen if I had the servo, instead of playing around with the potentiometer, all I did was cut the "stop" off the gear and put it back together again? That would open it for 360 rotation and I would still of been able to control it via sketches? Right or Wrong??


zoomkat - Yikes that looks complicated. Im still learning this stuff so I will have to break that down and see how I go about using it. Thank you very much for providing it.

Basically what I am after is getting my HS-311 servo to be able to turn 360 degrees but also I am able to program/control its motion via sketches using the arduino IDE and eventually Processing. But thats a long way away it feels right now.

Cheers

fusion1275
5  Using Arduino / Motors, Mechanics, and Power / Re: Newbie - HS-311 Servo 360 Continuous Rotation help on: January 19, 2013, 07:06:06 am
Nothing wrong with the gears.

Here is my setup:

Arduino Uno R3
Breadboard
9V battery
HS-311 Servo (modded)

I have the 9v on the breadboard power rail
I have earth over to earth to the servo
I have earth over to earth on the arduino uno
I have live over to live on the servo
I have signal from the servo on the breadboard to pin 9 on the arduino

I load up the standard sweep sketch and I get 6 full revolutions of the servo, it stops for a split second and starts again in the same direction. And that repeats.

Now I am totally baffled.
6  Using Arduino / Motors, Mechanics, and Power / Re: Newbie - HS-311 Servo 360 Continuous Rotation help on: January 19, 2013, 06:17:59 am
OK so update time....

I have found a wiring diagram that was different to my set up. I have followed that and have new results. Now when I run the sweep example all I get is a "hum" from the servo and no movement.

Now I am going to look inside to make sure I haven't chewed up the gears from previous tests.


Still would like advice please.
7  Using Arduino / Motors, Mechanics, and Power / Newbie - HS-311 Servo 360 Continuous Rotation help on: January 19, 2013, 05:41:32 am
Hello all,

This is my very first post so please be gentle.

I have started to tinker around with servos and got hold of a couple of hitec hs-311 standard servos from fleabay. I found that I can mod them using an online tutorial which was simply taking it apart, finding the center point adjusting the pot and then cutting and gluing in place. Then snipping the bit on the gear.

Anyway, I did all that and went to plug it in and I can confirm it can now do 360. But it doesn't stop... it goes round and round even when I play around with the servo example sketches and adjust angles etc etc.


Any help would be greatly appreciated. As I said I am new to this so this is all learning for me.
Pages: [1]