Shop OBEX P1 Docs P2 Docs Learn Events
bs2 and radiocontrol esc — Parallax Forums

bs2 and radiocontrol esc

James AndersonJames Anderson Posts: 52
edited 2005-08-25 15:17 in Robotics
HI,
i am working on a robot using a 2 channel radio control system that uses an electronic speed controller.
i am not sure how to translate throttle signals to pulses for cont. rotation servos. PLEEZ HELP!
WANNABE UBER GEEK

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
____________________________________
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
MAD SCIENTIST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
================================

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-08-25 02:00
    Hello,

    ·· The concept is actually the same as with standard servos, except that instead of the servo moving to a specific position from center, they will keep moving in a given direction.· What exactly are you trying to do?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • James AndersonJames Anderson Posts: 52
    edited 2005-08-25 02:46
    i am trying to make it so that if the throttle on my r/c transmitter is engaged, it will
    send my robot forward. the steering mechanism (wheel) would control direction of turning.
    since i hacked the radio from an r/c car, the steering of the front wheels is controlled by a
    servo. the incoming pulses could be measured, and i could adjust my left and right motors
    accordingly. same with the throttle. but i am not sure how to measure the throttle signal.(PWM)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ____________________________________
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    MAD SCIENTIST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    ================================
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-08-25 15:14
    Well,

    ·· If it's a standard R/C radio system with standard servos, then the receiver will output a 1mS to 2mS pulse corresponding to the servo position.· This could be read with the BASIC Stamp PULSIN command.· The syntax and help for the command are located in the Help files and in the BASIC Stamp Manual.

    [noparse][[/noparse]Edit] - Two things to keep in mind...Make sure the receiver ground is common with the BASIC Stamp ground.· Also, note the proper PULSIN values for your stamp in the help file to calculate the values you need for position.


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com


    Post Edited (Chris Savage (Parallax)) : 8/25/2005 3:26:04 PM GMT
  • James AndersonJames Anderson Posts: 52
    edited 2005-08-25 15:17
    ill try that. thanx.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ____________________________________
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    MAD SCIENTIST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
    ================================
Sign In or Register to comment.