Shop OBEX P1 Docs P2 Docs Learn Events
Speed control — Parallax Forums

Speed control

philipad23philipad23 Posts: 44
edited 2006-06-15 01:06 in BASIC Stamp
Hi

I have an RC car which works with 12V motor and it does not have speed control. I want to modify it to have speed control. Is there any way to control the 12V voltage with PWM. Or any other way for speed control with BS2?

thanks

Comments

  • bennettdanbennettdan Posts: 614
    edited 2006-06-14 22:41
    What type of car is it it may depend on the transmitter you have. Some of the cheaper cars from like walmart have only forward or reverse and not have speed control curcuits.
  • Tricky NekroTricky Nekro Posts: 218
    edited 2006-06-14 23:03
    You have really to choises...
    The one is to make a 555 circuit to mesure the output voltage of the transmitter and

    the other is to use a ADC... who I have something in mind but don't remember it right now..

    The Difference is that using 555 you get pulses as output...
    Using a ADC probably you get some string of DATA as output...
    I don't know if you can use a RC circuit and then just mesure time with the Stamp...

    I'll be nice if you could ba more specific on your goal...

    Provas, Greece

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    -Rule your Destiny-
    --Be Good. Be Bad. Be Provas--
  • Tricky NekroTricky Nekro Posts: 218
    edited 2006-06-14 23:05
    Forget the last post... If you want to make this you may need another type of transmitter or else wright a programm for your stamp using an RF transiver like the ones parallax sells!!!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    -Rule your Destiny-
    --Be Good. Be Bad. Be Provas--
  • philipad23philipad23 Posts: 44
    edited 2006-06-14 23:40
    Actually I am only talking about the output of the Basic Stamp that will be connected to the car's motor. I can handle the other parts of the circuit (rf receiver transmitter, servos etc). The PWM of the BS2 is for analogue voltage 0-5V. How can I make this voltage 12V?
  • bennettdanbennettdan Posts: 614
    edited 2006-06-14 23:45
    Well if you are using a reagular transmitter like a 4 channel for R/C cars or planes then you can use the pulsin command to read the signal from the reciever then PWM out to something like a mosfet that would control your 12v battery voltage. What type and model transmitter are you using?

    Post Edited (bennettdan) : 6/14/2006 11:50:14 PM GMT
  • philipad23philipad23 Posts: 44
    edited 2006-06-15 00:40
    I dont know anything about mosfet... Could you please help me? [noparse]:)[/noparse]
  • bennettdanbennettdan Posts: 614
    edited 2006-06-15 01:06
    Hey look at this forum it talks about how to hook up a mosfet to a motor.
    http://forums.parallax.com/forums/default.aspx?f=10&p=1&m=129182
Sign In or Register to comment.