Default RC Mode breaks with PWM feedback

5 years 1 month ago #29531003 by vladimirhtg
Hey Guys,

I'm working with a new MDC2230 while attempting to use the out-of-the box Remote Control configuration. Attempting to do closed loop position control with the front steering motor. The PWM position sensor I've used before is doing great, and it's feeding good signal right into the controller, but when I 'activate' the pin (pin 11, Din4) in Roborun, then it breaks. Won't send any voltage to the motors.

Almost like setting more/extra pins to PWM prevents the controller from receiving PWM signal from the RCRadio. Or something like that. Hopefully I've been clear.

Any input on this? Thanks for the help guys, because I'm stumped.

Please Log in or Create an account to join the conversation.

5 years 1 month ago #29531007 by TechSupport
What exactly is that doing?

RC is looking for 1 or 2 pulse input signals. If there is a different signal coming in on another input, what does it do?
The following user(s) said Thank You: vladimirhtg

Please Log in or Create an account to join the conversation.

5 years 1 month ago #29531008 by vladimirhtg

TechSupport wrote: What exactly is that doing?

RC is looking for 1 or 2 pulse input signals. If there is a different signal coming in on another input, what does it do?


Thanks for the quick response!

Excuse me as I wrote Digital In above--didn't remember that Digital and Pulse ins were separated.

RC is looking for pulse inputs and it's getting them. Both motors run well on RC and open loop speed control. However, the front motor is for steering--and I've got a PWM sensor running from the front to do position control.
When I change PulseIn4 from Disabled to PWM, the RC radio breaks. PIn1 & PIn2 are the RC controls, and the positions sensor signal runs to pin 11 on the 15-pin RS232 connector, which is the RC4/Ana4/DIn4.

Please Log in or Create an account to join the conversation.

5 years 1 month ago #29531009 by TechSupport
In pulse mode, whatever is assigned as an input, has to be connected and sending a signal. If you disable it, then you need to disable the input use and recommended the motor channel it is configured to if any.

The digital input, pulse input, and analog input for the pin are shared.

It sounds like maybe a conflict between the inputs. If you have 2 providing controls, and aother one getting enabled, is it set for motor command or feedback?

Please Log in or Create an account to join the conversation.

5 years 1 month ago #29531010 by vladimirhtg

TechSupport wrote: In pulse mode, whatever is assigned as an input, has to be connected and sending a signal. If you disable it, then you need to disable the input use and recommended the motor channel it is configured to if any.

The digital input, pulse input, and analog input for the pin are shared.

It sounds like maybe a conflict between the inputs. If you have 2 providing controls, and aother one getting enabled, is it set for motor command or feedback?


PIn1 and PIn2 (connector pins 4 and 8, respectively) are assigned to motor command and are receiving from the RC receiver. This works, but only with open loop control.
Once PIn4 (pin 11) is changed from 'Disabled' to Capture Type - Pulse Width, and Input Use - Feedback for Motor 2 (channel 2 box checked), then both channels do nothing. This is the problem I'm trying to solve. I'm looking for position control on the front motor.

Please Log in or Create an account to join the conversation.

5 years 1 month ago #29531011 by TechSupport
The only way to see what is happening is by using the run tab of the utility. Select the mute check box to the left of the slider to enable pulse mode.

Take a look at the upper right area for your pulse input signals. If there is nothing in your new input, then that is what kills the signal altogether.

Take a screencap and upload via a zipped folder.
The following user(s) said Thank You: vladimirhtg

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.103 seconds