DC Motor Ramp up command does not function correctly
Steven
Posts: 7
I am having a issue with my programming. I am using the below program to run my robot, but it does not respond correctly. Our decoder from the Radio Receiver(RF control) is giving·0 volts or·Logic·0 when a required action is to take place. Otherwise any of the other three output from the decoder will be giving a will be giving a 5volt or Logic 1 output. Only one signal is ever going to be giving a Logic 0 pulse at one time. There will never be more than one of the four output giving a logic 0. Here is the code for a forward·ramp-up command that I have been trying to use. Our motors are 24 volt DC, and we are also using a H-Bridge that will transform our Basic Stamp pulsout commands to PWM. Here is the code:
Comments
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video Display Module" Available Now.
www.sxvm.com
"A problem well defined, is a problem·half solved."
·
Steve
A schematic and meaningful variable names in your program would go a very long way in helping others help you....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Thanks
Steve