![]() | ![]() | ![]() |
| |||||||
| 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? |
![]() |
| | Tools |
| | #1 |
|
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 | |
| |
| | #2 | |
| Quote:
| ||
| |
| | #3 |
|
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 | |
| |
| | #4 |
|
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. | |
| |
| | #5 |
|
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 | |
| |
| | #6 |
|
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. | |
| |
| | #8 | |
| Quote:
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 | ||
| |
| | #9 | |
| Quote:
| ||
| |
| | #10 |
|
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.
| |
| |
| | #11 |
|
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 | |
| |
| | #12 |
|
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 | |
| |
| | #13 | |
| Quote:
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. | ||
| |
| | #14 |
|
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 | |
| |
| | #15 |
|
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. | |
| |
|
| Tags |
| 555, controller, servo, working |
| Thread Tools | |
| Display Modes | |
| |