Show Posts
Pages: [1]
1  Topics / Device Hacking / Re: Hacking rc controller on: September 29, 2012, 02:19:01 pm
The reading from the pots using the arduino sketch are as followed

POS | Sensor | Values
right|   20    |    4
center|  599 |    148
left |  1024  |    255

POS | Sensor | Values
right|   886    |    220
center|  589 |    146
left |  332  |    82

I also took the readings for the output voltage

So the resistor and capacitor is a low pass filter circuit is that correct?
The values in the table above in the output column are what I should be using as the analogWrite() values?
Is there away for me to determine what value capacitor and resistor i should use in the circuit?
2  Topics / Device Hacking / Hacking rc controller on: September 29, 2012, 12:36:16 pm

I am trying to hack a RC controller i have. The way the controller works is that it has two potentiometers. One for the throttle and one for the steering left to right.

Instead of building my own ir transmitter I hope to just replace the two pots with an arduino board. The controller uses a 6V supply which is made up of 4 AAA batteries but I am replacing that with my own power supply. I thought i would be able to replace the two pots with a MOSFET circuit ( So I attached the pots to my arduino board and using the example here I read the values, and determined what i should send to back to the controller. However regardless of the PWM values i send the remote never changes its state.

Does anyone have any ideas as to what I might be missing?

3  Using Arduino / Project Guidance / Re: Replace Potentiometer on: September 15, 2012, 06:44:53 pm
yeah so as I turn the dial I change the values of the voltage divider.

Do you think using the arduino with the PWM and a low pass filter is a suitable substitute?
4  Using Arduino / Project Guidance / Replace Potentiometer on: September 15, 2012, 06:27:19 pm

I am sure similar topics have been created on this subject and i have read a lot of them. They seem to back up my initial thinking but thought id also make a post to just be sure.

Basically i am attempting it replace a potentiometer within a pre-existing circuit. It is my understanding that I should be able to remove this component and use a PWM pin on the arduino board. Then send this through a low pass filter.

Am I right in thinking the outer pins on the pot are the Vin and the Ground with the center pin being the Vout?

These are the values taken from the potentiometer on its original 6v circuit.
full left position values, Sensor 739 with output 184
center position values, Sensor 495 with output 122
full right position values, Sensor 276 with output 68

Pages: [1]