Loading...
Pages: [1]   Go Down
Author Topic: Sensing voltage from the power wires of an RC motor  (Read 404 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 0
Posts: 139
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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  smiley-grin.. 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?
Logged

Pittsburgh, PA, USA
Offline Offline
Faraday Member
**
Karma: 33
Posts: 3015
I only know some basic electricity....
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Examples can be found at Learning in the Main Site and at the Playground

Offline Offline
Full Member
***
Karma: 0
Posts: 139
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You could use a logarithmic equation instead smiley-wink
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 139
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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. 
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

No, to gradually accelerate.
Logged

Global Moderator
UK
Online Online
Brattain Member
*****
Karma: 143
Posts: 19368
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Pete, it's a fool looks for logic in the chambers of the human heart.

Offline Offline
Full Member
***
Karma: 0
Posts: 139
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: [1]   Go Up
Print
 
Jump to: