Go Down

Topic: Sensing voltage from the power wires of an RC motor (Read 792 times) previous topic - next topic

mahela007

Hi.. I'd like to try and rig up an arduino to control the speed of an RC car. I plan to use the cars built-in hardware for the radio communication and then sense the output sent to the motors using the Arduino. The arduino will then use it's own circuity to actually control the motor. (Yes, there's probably a more elegant way to do it  :D.. but I want to try this method)

The problem is in the fact that the output to the RC motor can change polarity to drive the motor in either direction. How will I be able to sense voltages which switch polarity with the arduino?

GoForSmoke

If the Arduino is controlling the motor in the first place then why you need to sense what you feed it? You should know!

I find it harder to express logic in English than in Code.
Sometimes an example says more than many times as many words.

mahela007

I want to control the car wirelessly.. i.e Using it's remote.
I'm using the cars circuit to receive the radio signals and output then to the arduino.
The arduino will then used PWM to accelerate the motor gradually, instead of accelerating in one quick jerk. To to this, the arduino has to sense when the remote is sending the appropriate signals.

juryben


mahela007

To calculate a value for the power sent to the motor?
...Well, yes. But I need the arduino to sense when the remote sends a signal to the cars' circuit so that it knows when to start the motor. 


AWOL

Quote
the problem is in the fact that the output to the RC motor can change polarity to drive the motor in either direction.

So sense the input.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

mahela007


No, to gradually accelerate.


yup, that's what I meant..

Ok, I'll try this out and post back.. any further posts would be useless, otherwise.
Now I need to get my hands on 6 AA batteries.. hehehe

Go Up