Electronic Circuits and Projects Forum



Servo motor

« First 12345 Last »
  1. #21
    fsmyth fsmyth is offline
    Here is a couple of 555-based servo testers:
    Servo Drivers and Circuits
    Not my designs; I usually just program whatever uC is handy
    to send the correct pulse train.
    <als>
    0

  2. Thread Starter #22
    uaefame uaefame is offline
    hi Hesham,
    I have realised you uses the word 'turn' for the digital servo motor.

    A servo will only 'turn' , that is rotate, less than an angle of 300 degress or so, its not a stepper motor.

    Build the 555 circuit shown in the link and test/learn from the servo control before you consider using the 16F818 PIC.
    I already build it!!

    Nothing happen nothing rotate.

    First about my project: my instructor or advisor decided that we just need to go as far as we can because he say if we never have a deadline you will never keep pulling things.
    He is not interested about the result of the competition. He is interested how far we go. How much we learn!

    Second about 555 timer, I build servo driver for my ds8911 servo but nothing happen here are several question i need to ask.
    Q1> How you know for P1 where is 1 2 or 3?? or 1 and 3 doesn't really matter? just the middle one matter

    Q2> I am sure that i need higher frequency rating. The one I am using now is 50Hz. I think i need to come up with a new design for 555 to run my servo motor. As the tutorial mentioned at the end there are new bread of servo motor which are know as digital servo motor. These motor need higher frequency to operate. I operate my servo motor using function generator at 300Hz. But 300Hz is just a guess. Because time is critical now, I will go with 300Hz.
    If you know how I can set the period using PIC16F818 it will be great.

    For fun I just bought a PIC 16F877 it so big hehe 40 legs
    0
    Last edited by uaefame; 9th November 2008 at 08:42 PM. Reason: Grammer

  3. #23
    blueroomelectronics blueroomelectronics is offline
    Why not learn to use MPLABs built in simulator. Try to generate a 1.5ms wide pulse with a 20ms period. The stopwatch function is quite handy.
    0
    Bill
    Semi retired, now just blogging

    http://colossus.dsmynas.com/

  4. Thread Starter #24
    uaefame uaefame is offline
    Thanks blue for replying,

    I connect the wires again and Ya its working now. But its shaking (jittering) in the desire place. I am not sure what wrong.

    When I used function generator to operator it. It operates, but the problem is I am confused which parameter I am suppose to change duty cycle or period? Look at the diagram to understand more.

    When I kept the duty cycle at 50% it operates from 0 to 120 by changing the period from 1.6ms till 4.3ms.

    But when i kept the duty cycle at 20% it change from 0 to 120degree by changing the period from 4.1ms till 10.9ms.

    I am confused which paramerter to change duty cycle or period. Both work, but which one is better?

    When the frequency is 500Hz i can change duty cycle from 21%-62% to have that interval.

    Q2> I am using pulse in function generator and its working fine when I use square wave it going crazy or jittering. You know how I can produce pulse using PIC? Any ideas?

    Thanks in advance
    Attached Images
    0
    Last edited by uaefame; 10th November 2008 at 12:48 PM.

  5. #25
    blueroomelectronics blueroomelectronics is offline
    Stop fussing with the function generator and guessing at values. Servos have specific parameters if you want them to function.
    Here's my advice
    Write code for whatever PIC you plan on using in assembler that will output a 1.5ms pulse every 20ms to port RA0 and run it using the MPLAB simulator. Stop playing with stupid values you think might work and start following specifications. You are proceeding at a snails pace because you simply don't seem to follow advice.
    0
    Last edited by blueroomelectronics; 10th November 2008 at 03:25 PM.
    Bill
    Semi retired, now just blogging

    http://colossus.dsmynas.com/

  6. #26
    jpanhalt jpanhalt is offline
    I agree with Bill about the stop fussing aspect and have a little experience with running model servos at more than 50 Hz.

    At frequencies a lot higher than 50 Hz, you have no idea what the servo is "seeing." For example, 500 Hz is 2 ms per cycle, which is what the servo expects to see as its control pulse, not frame rate.

    As for the shaking, when I ran a different brand servo (Hitec) above 150 Hz or so, I still had control of movement, but lots of buzzing and shaking.

    John
    0

  7. Thread Starter #27
    uaefame uaefame is offline
    I build this servo motor circuit When I read the signal using Oscillascope it was reading Fine AMP +5V OnTime 1.8ms for 2.2V Analog input.
    When I connect my servo it started shaking around? Any ideas why it keep shaking?
    0

  8. #28
    jpanhalt jpanhalt is offline
    What's your frame rate? Did you read my post about digital servos and 555 drivers (October 28).

    The shaking may be because your frame rate is too fast or just a characteristic of the circuit you are using.

    John
    0

  9. Thread Starter #29
    uaefame uaefame is offline
    Ya the frame rate is 23ms.

    Any idea why it's shaking.

    What's your frame rate? Did you read my post about digital servos and 555 drivers (October 28).
    Can't find your post?
    0
    Last edited by uaefame; 21st November 2008 at 02:58 PM. Reason: Adding last line

  10. #30
    Pommie Pommie is online now
    If your frame rate is 23mS then either your power supply is glitching or your on time is varying. Or, your servo is knackered.

    Mike.
    0

« First 12345 Last »
Tags
Similar Threads
Thread Starter Forum Replies Last Post
Controlling a Servo Motor shaneshane1 General Electronics Chat 61 18th November 2007, 06:58 AM
Theory of servo motor. avinaik Datasheets, Manuals or Parts 2 10th March 2007, 11:15 PM
DC motor, Servo Motor or Step Motor ? wcz Electronic Projects Design/Ideas/Reviews 1 29th June 2005, 01:41 PM
servo motor help! show-boat Microcontrollers 7 14th November 2003, 03:33 AM
servo motor droid Datasheets, Manuals or Parts 2 18th September 2003, 01:40 PM
Electronic Circuits  |  Learning Electronics

Join our community with over 100,000 Members! It's free, easy and when you're logged in you have many more features! Click to register.
Page Time: 0.11794 seconds      Memory: 7,704 KB      Queries: 17      Templates: 0