Hey everyone - just starting to get into Arduinos and I've run into a snag.
I'm trying to build a self-correcting system - something a bit like an aeroplane's autopilot, but only on a 2-dimensional axis. I'm planning on going-about this by having the accelerometer talk to the Arduino, run a check for an offset, and activating the servo to correct for it.
I've been using a combination of Youtube and the Arduino beginner's guidebook so far for my research.
From this, I've managed to set-up 2 separate boards; an accelerometer (an ADXL335 ), and a Stepper Motor Servo connected to a potentiometer.
Accelerometer: http://i.imgur.com/BCdInwj.jpg
Servo: http://i.imgur.com/drCQAFU.jpg
I was hoping for some help in combining these two separate circuits onto a single breadboard, removing the potentiometer in the process, as I'll be running the correction through the code - a diagram would be like, the best thing ever.
Hope to hear back from you soon!
Below are the images of what I have going on so far: