Arduino Programer needed for Camera slider.

I've built a camera slider that I am more than happy to pay someone for additional programing that I need.

I'm using the Arduino Uno and two stepper motors, this motor is for movement from side to side,

and this motor without the motor driver, is for panning.


http://arduino-info.wikispaces.com/SmallSteppers

I want both motors on this motor shield

http://www.nexuscyber.com/motor-shield-for-arduino-uno?gclid=Cj0KEQiA1NWnBRDchObfnYrbo78BEiQA-2jqBRLdqsDZc2Y-0h2L-QllWKojrFG_qjXbmkGam7lIzDoaAnvw8P8HAQ

The slider that I've built, works perfectly when it comes to moving from side to side, but I also want it to pan, or to maintain the position of the subject. I've seen other sliders that do this, but they use a rod to set the position of the camera, which is something that I don't want to do, I want to do it with the stepper.

Here are a couple of sliders that do this with a rod.

http://www.shootools.com/bundle-one-80-autopan/9026

http://www.ebay.com/itm/CMAP-100-CM-MOTORIZED-VIDEO-SLIDER-WITH-AUTO-PANNING-UNIT-RC-BALL-HEAD-AUTO-PAN/201295393259?_trksid=p2045573.c100033.m2042&_trkparms=aid%3D111001%26algo%3DREC.SEED%26ao%3D1%26asc%3D28797%26meid%3D332f74fd9bab4319af5d3ba706e4fe56%26pid%3D100033%26rk%3D2%26rkt%3D4%26sd%3D191501274248

I have seen one that claims that it will maintain the position of the subject, but from what I've seen, it does not, after a couple of times up and down the slider, it loses it's position.

Here's a link to someone who used the Axis 360 with this problem

Jump to 7:38 on video to see the subject off center.

I will be using my laptop and the Arduino IDE as my interface.

Hopefully this makes sense, if not let me know.

Thanks..............Antonio

for additional programing that I need.

Pretty long post, but no mention of this additional programming.

The additional programing is for panning the camera. I have it going from side to side, but I also want the ability to pan, and if I have a subject in frame, I want the to be able to upload a sketch that keeps the subject in frame. (see last link on my post for example of subject in frame.)

Here's the code that I'm using for one stepper to move the camera from side to side, I need to add the other stepper to pan, and or to keep the subject in frame.

#include <AFMotor.h>
 
 
AF_Stepper motor(200, 1);
 
 
void setup() {
  Serial.begin(9600);           // set up Serial library at 9600 bps
  Serial.println("Stepper test!");
 
  motor.setSpeed(50);  // 30 rpm   
 
}
 
void loop() {
  motor.step(6900, FORWARD, INTERLEAVE); 
  motor.release();
  delay(1000); 
  motor.step(6900, BACKWARD, INTERLEAVE); 
  motor.release();
  delay(1000); 
     
}

I want the to be able to upload a sketch that keeps the subject in frame.

How? How will the Arduino know whether "the subject is in the frame"?

PaulS:
How? How will the Arduino know whether "the subject is in the frame"?

This is called "lock object." Implemented quite easily.

Gippopotam:
This is called "lock object." Implemented quite easily.

Based on what data?

PaulS:
Based on what data?

based on the angle between the direction of the object and the sliding and distance to the object.

But there are some "special cases" when the complex mathematics is not needed.
If the object is exactly in front of the slider (slider axis is perpendicular to the direction to the object) - the decision how to capture the object is trivial.

Gippopotam:
the direction of the object and the sliding and distance to the object.

How will the arduino sense these two things?

wildbill:
How will the arduino sense these two things?

magic ...