bs2 and radiocontrol esc
James Anderson
Posts: 52
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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
================================
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
·· 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
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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
================================
·· 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
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
____________________________________
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
MAD SCIENTIST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
================================