Results 1 to 6 of 6

Thread: SERVO CONTROL PROGRAM

  1. #1
    Senior Member Cyborg sudarshan's Avatar
    Join Date
    Jun 2008
    Location
    Virudhunagar - 626001, Tamilnadu, India
    Posts
    180

    Default SERVO CONTROL PROGRAM

    DOES ANY ONE HELP ME TO PROGRAM WITH TWO SERVOS AVR 40 PIN RAPID ROBOT CONTROLLER V2 BOARD WITH TWO SERVOS.IF SO PLEASE HELP ME AND I HAVE ATMEGA32 MICRO CONTROLLER. .IF SO PLEASE HELP ME

  2. #2

    Default

    Servo runs on the frequency of pulse u supply..


    Example u give a pulse 1ms 'on' and 'off' for 20ms, it would go to one dead end, and that pulse can be given till 2ms to make go to the other dead end.But off time must always be 20ms. Initially , for testing u can give delays written in a loop to achieve.. But this is not accurate. U have to use pwm for accuracy.

    Example
    while(1)
    {
    portd = 255; // servo connected to portd, any pin
    delay(time1);
    portd = 0;
    delay(time2);
    }

  3. #3
    Senior Member Cyborg sudarshan's Avatar
    Join Date
    Jun 2008
    Location
    Virudhunagar - 626001, Tamilnadu, India
    Posts
    180

    Default more detailed

    since i am a beginner pls give me more detailed info and program :P

  4. #4

    Default dont ask for programs!!...use google

    Hi ,
    try searching for program on the google.........

  5. #5
    Senior Member Cyborg sudarshan's Avatar
    Join Date
    Jun 2008
    Location
    Virudhunagar - 626001, Tamilnadu, India
    Posts
    180

    Default servo control with atmega32

    google doesn't work well for the exact answer well.so any other answer for servo control with atmega32 for avr rapid robot controller v2 board from www.robokits.co.in/shop. :arrow:

  6. #6
    Senior Member T-1000 debu's Avatar
    Join Date
    Jun 2007
    Location
    New Delhi, India
    Posts
    338

    Default Re: servo control with atmega32

    Quote Originally Posted by sudarshan
    google doesn't work well for the exact answer well.
    Really?? Check this (clickie). The first link contains everything that you need, explanation, code, etc.

    Regards,

    Debu

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •