I simply need help at this point. Wiring, Coding, hints...anything really. I've got it sliding, but not controllable.
I'm using this setup:
Powered by an Arduino UNO and Arduino Motorshield running on 4AA batteries.
The motor is this one:
http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Robotics/42BYGHM809.PDF
I am using (for now), this code:
___________________________________
I am using a linear pot to turn the motor speed up/down on A0, but it only gives me 3 stages; slow, moderate, fast. I don't have a fully at rest state, and I have no real speed control to find tune to my needs. My thought was that I would simply get the pot correctly running and it would sweep smoothly for speed control. Am I wrong that it should do that? I could use button controls to do what it does now (if I knew how to code them in).
Buttons are a lost cause for me, I can't figure them out, I've tried...talked to people about them....I simply do not understand the wiring that needs to be done for them or how to code them. I simply want 2 SPST NO buttons to control left/right control for now, and the pot for speed. After that is running I will work on the interface for timelapsing.
Can someone PLEASE help me out here? I can add you on facebook and repost here once I have it figured out so google can find it. I am simply lost on what I'm doing. I've done the tutorials on adafruit, but no luck on using them outside of the tutorials.