Results 1 to 6 of 6

Thread: how to vary speed

  1. #1

    Default how to vary speed

    hello.. in th last topic i posted . i think i didnt explain myself well but anyway..

    can anyone tell me how to control the speed of a motor wirelessly (by radio modules. and not more than 30mt range indoors needed) and where i can buy please.. dont be shy to give me any ideas

  2. #2
    Senior Member Cyborg
    Join Date
    Nov 2006
    Location
    Bangalore, india
    Posts
    244

    Default

    what do you think about PWM??????

  3. #3

    Default

    hey thanks .. pulse width modulation is great .. but can anyone suggest me a transmitter.reciever for pwm ( preferable 6or more channels)

  4. #4
    Senior Member Cyborg
    Join Date
    Nov 2006
    Location
    Bangalore, india
    Posts
    244

    Default

    Dude i was hoping you will get solution for that problem yourself which is just a two or three net searching and some thinking away........

    anyways you should do this (only a suggestion) go with serial rx tx module, then send the control commands in byte format and then decode on the receiver side, if you look carefully at this you can control virtually any number of devices by wireless communication.........

    yeah by this method you cannot transmits AV but it is an another topic

  5. #5

    Default

    hey thanks alot .. i only asked for a suggestion since this is my first try on robotics .. but ill fgure something out

  6. #6

    Default

    Hi............

    This is for 8051 microcontroller, for other controllers u have to modify the code.

    To control the speed of the car use PWM. In 8051 use the Timer0 to generate the PWM wave.

    Part of code for PWM:

    setb EA - enable all the interrupts.
    setb ET0 - enable timer0 interrupt.
    Set the TMOD to to 03 for 8 bit operation or 01 for 16 bit operation.

    Use one register to change the pulse width.

    Go to http://www.iguanalabs.com/pwm.htm for sample code.

    By varying the value of register the speed of the motor can be changed.
    "Man would not have attained the possible unless time and again he had reached out for the impossible" - Max Weber

Posting Permissions

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