Wireless RF relay  motorized potentiometer servo

Wireless RF relay controller to power 2 motorized potentiometer to Arduino:

So im using a potentiometer with my Arduino to move a servo that is hooked to my cam. It all works well but the Arduino has lots of wires coming off of it and im always trying to cut back on the clutter. So now i have this Wireless RF controller hooked to a motorized potentiometer so that i can pan my cams Wire free. Here is a link to a video showing how the relay and motorized potentiometer are set up. You will also see that i had to use 2 batteries to get the potentiometer to move one way then the other. I would like to try to get that down to one battery. I tried every which way and just could not make it work. Seems like an ez fix but its not. If any of you come up with anything, a diagram would be nice.

HD pic so you can really see how its wired

here is a diagram of the Wireless RF Relay Controller

http://lightobject.info/forum/download/file.php?id=13&mode=view

Some other thoughts i had was if there was something i could put on the wires to only let the current flow one way, then i could make it work.

Thank you

For the motor control - look around for h-bridge dc motor:
http://www.google.bg/search?q=site%3Aarduino.cc+h-bridge+dc+motor&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

It’s pretty simple to hook it up directly to the arduino. Then you’ll need to change your schematics a bit - the signal coming from the RF module should be fed into a digital arduino pin (resistor in series required!!!) and when sensing the pin being pulled up you start controlling the h-bridge.

You might be better off using the device you are pointing at in your other topic:
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1245825338/0#0

Here is the code im running

#include <Servo.h>

Servo myservo1;  // create servo object to control a servo
Servo myservo2;

int potpin1 = 0;  // analog pin used to connect the potentiometer
int potpin2 = 1;
int val;    // variable to read the value from the analog pin

void setup()
{
  myservo1.attach(9);  // attaches the servo on pin 9 to the servo object
  myservo2.attach(10);  // attaches the servo on pin 10 to the servo object
}

void loop()
{
  val = analogRead(potpin1);            // reads the value of the potentiometer (value between 0 and 1023)
  val = map(val, 0, 1023, 179, 0);     // scale it to use it with the servo (value between 0 and 180)
  myservo1.write(val);                  // sets the servo position according to the scaled value
  val = analogRead(potpin2);            // reads the value of the potentiometer (value between 0 and 1023)
  val = map(val, 0, 1023, 0, 179);     // scale it to use it with the servo (value between 0 and 180)
  myservo2.write(val);                  // sets the servo position according to the scaled value
  delay(15);                           // waits for the servo to get there
}

Now if i were to also try to control the motorized potentiometer with this

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=250448816716&viewitem=&sspagename=STRK%3AMEWAX%3AIT&salenotsupported

hooked to the arduino. how would i write that into the code with out messing this code up. I’m new at building stuff but im even newer at trying to write code, in fact this code i ripped off from some one else and just fit it to my pins.

I just won another Arduino on ebay so ill have a spare Arduino that i can mess around with (with out taking my Cams off line). I will buy the item in the above link and we will see what happens. Also you says something about “resistor in series required!!!” Could you tell me what i need for that so i can order them, and any thing else i mite need like that to make this project work.

Thank you so much for your time