Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Tools
Old 3rd November 2004, 01:36 PM   #1
Default 555 servo controller? can get them working

does anyone know of a good schematic that works, i have tried some i foud on google, but they all seem not to work.

i want to control the position of the servo with a pot

i have tryed this one

http://www.geocities.com/BourbonStre...rvobasics.html

but the servo does nothing on the output of the transistor, if i directly connect it to pin 3 it will activate the servo but the servo will move slowly clockwise till it hits its end point, the pot does not seem to do much

also i have seen some with transistors on the output of pin 3 of the 555 is that needed?

any help much appreciated
lompa is offline  
Old 3rd November 2004, 02:26 PM   #2
Default Re: 555 servo controller? can get them working

Quote:
Originally Posted by lompa
does anyone know of a good schematic that works, i have tried some i foud on google, but they all seem not to work.

i want to control the position of the servo with a pot

i have tryed this one

http://www.geocities.com/BourbonStre...rvobasics.html

but the servo does nothing on the output of the transistor, if i directly connect it to pin 3 it will activate the servo but the servo will move slowly clockwise till it hits its end point, the pot does not seem to do much
That looks very straight forward, it sounds like you may be connecting the servo up incorrectly. The article in the link explains that there are various different connections used, you need to ensure you use the right ones!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 29th May 2007, 05:53 AM   #3
Default

I built a servo controller according to this page:
http://www.hobbyengineering.com/appServoTester.html

When hooked up, the servo immediately goes to full throw with the pot (R2) fully CCW. When turning the pot CW the servo sounds like it is being forced past its limit. Can any servo experts chime in?

I should've just bought a tester for $20. I think I'm going to anyway.
http://www2.towerhobbies.com/cgi-bin...&I=LXVK79&P=ML
spiffitz is offline  
Old 29th May 2007, 06:07 AM   #4
Default

The feedback loop in a servo is 'closed' by the geartrain connecting the driven motor to the POT. Sounds like you're turning the POT by hand? There's no feedback from the driving motors to the POT then.. There's going to only be three states, full left or full right, with increasing pulse durations (duty cycle) to the driven motor, and a very narrow dead band in the center. If the dead band doesn't exist then there isn't enough hystersis in the electronics for one, which is going to end up in oscilation near 'center' with the geartrain feedback loop connected. A servo is the most basic form of a PID loop between electrical and physical components. If the loop isn't closed physically you're going to get odd electrical behavior, and vice versa.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."

Last edited by Sceadwian; 29th May 2007 at 06:12 AM.
Sceadwian is offline  
Old 29th May 2007, 11:26 AM   #5
Default

Hi Lompa,

There have been reports that some of the simple servo controllers will not work with digital servos. I have an older controller that works well with all of my non-digital servos, but not with JR digitals. I don't know exactly why that is. It may have something to do with stability of the pulse or input impedance.

In any event, if you are using a newer servo version or digital servo, try using an older analog servo and see whether your 555- based controller works then. John
jpanhalt is offline  
Old 29th May 2007, 10:20 PM   #6
Default

The output transistor serves to invert the signal. Using the 555 output directly tells me that something isn't right with the way you wired it up (or the transistor). A servo needs a very low duty cycle, 10 to 20% (1 to 2 mS pusle width, 50 hz frequency) though there is a lot of latitude. Without the inversion, you should have pulse width of around 17 mS which is probably why it did what you observed. With inversion, the values given in the schematic are ok. Note: the longest pulse you can have is 1.7 mS which will only get you 70% of the possible travel of the servo. A 30K pot would give you very close to 2 mS but they don't exist (I believe). The shortest pulse width is right around 1 mS. At 1.5 mS, the servo should be at mid position.

Got access to a scope? If so, that should tell you what's going on. If not, wire up an LED + small resistor (say 300 ohms) in place of R4. The LED should be fairly bright when you power up the circuit. Wire it with 2-3' (yes, feet) of wire and swing it in a darkened room. You've just created the worlds cheapest OScope... If you've wired the 555 right, you should see long streaks of light with short dark segments. The dark segments should be 10 to 17% of the overall period.
philba is offline  
Old 29th May 2007, 10:42 PM   #7
Default

Here's a thread where we spoke about this (quite) a while back ...

servos

The circuit I posted worked well in my application.
Jeff
__________________
Nothing is impossible for the man who doesn't have to do it himself - Weiler's Law
jbeng is offline  
Old 29th May 2007, 11:28 PM   #8
Default

Quote:
Originally Posted by philba
Got access to a scope? If so, that should tell you what's going on. If not, wire up an LED + small resistor (say 300 ohms) in place of R4.
That's a great idea for teaching! Never saw that one, but once it's pointed out, it is so obvious. Thank you for sharing it.

We used to do a similar simple demonstration of Gas Liquid Chromatography using a tube full of laundry powder and natural gas as the carrier. John
jpanhalt is offline  
Old 30th May 2007, 02:30 AM   #9
Default

Quote:
Originally Posted by jpanhalt
That's a great idea for teaching! Never saw that one, but once it's pointed out, it is so obvious. Thank you for sharing it.

We used to do a similar simple demonstration of Gas Liquid Chromatography using a tube full of laundry powder and natural gas as the carrier. John
I figured it out when building a POV image wand. I'm sure I'm not the first, though.
philba is offline  
Old 31st May 2007, 07:25 AM   #10
Default

Thanks for the tips, everyone. I ordered the servo tester from tower (actually the boss did since it was a project given to me) but I'm still going to mess with the parts I already bought with the info in this thread.
spiffitz is offline  
Old 20th October 2009, 03:52 AM   #11
Default

Are there any schematics of a controller that uses a 5K pot? I have a bunch of 5k slide pots and would like to use them.

Any body have any issues with servo jitter?
I tried building the controller posted here (Simple Servo Controller) am having issues with jitter at times. I think it could be the 5K pot that I was using, but I wouldn't know any better . It says to use a 1k pot, but the store didn't have any, so I figured that I would just use a 5k and full servo resolution at about 1/5 of the pot range
The Question is offline  
Old 27th October 2009, 09:35 PM   #12
Default

What type of servo are you using? See post #5 of this thread. Even analog servos may jitter a little with simple controllers. My Hitec 225'd do.

John
jpanhalt is offline  
Old 3rd November 2009, 09:35 AM   #13
Default

Quote:
Originally Posted by jpanhalt View Post
What type of servo are you using? See post #5 of this thread. Even analog servos may jitter a little with simple controllers. My Hitec 225'd do.

John
I'm using a futaba s3002 or s3003.

I just got some cheap servos I got off of ebay and they don't see to work.

My assumption is that they are digital. They do jitter slightly when i apply power, but nothing after that and can move the arm manually .

I found that bridging pins 4 and 8 to pin 5 on the schem that I posted earlier, stops the jitter.
The Question is offline  
Old 3rd November 2009, 10:11 AM   #14
Default

By tying pin5 to pins 4 and 8, you are setting the control voltage quite high and the threshold should be about 90% of Vcc, according to the data sheet. If it works for you, fine.

Did you try connecting pin5 to ground with a small (0.01 uF) capacitor? That is the usual connection.

John
jpanhalt is offline  
Old 3rd November 2009, 10:34 PM   #15
Default

Hmmm. not yet.

BTW is there a ways to have this work with digital servos?

Jbeng mentioned this servos Posted some questions in that thread. Anybody knows for sure if this will work with digital servos?

EDIT: just tried using the cap on pin 5. Still has the jitters

Last edited by The Question; 3rd November 2009 at 11:41 PM.
The Question is offline  
Reply

Tags
555, controller, servo, working

Thread Tools
Display Modes




All times are GMT. The time now is 08:54 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker