I am fairly new to the microcontroller/robotics world. I am currently trying to write/understand the basics of the PID algorithm and notice that I could get by with using only the 'P' algorithm. I understand the basics of it, I am now just trying to write the code for it.
Onto the actual questions. I have a wireless cart(go cart). I have a target pot(attached to steering wheel) and a feedback pot(current position pot) that is attached to the wiper motor.
http://img703.imageshack.us/img703/9...lfrontpots.jpg
What I am trying to do is write my own 'P' algorithm for this to send to the motor controller I have for the wiper motor. I understand the basic equations for the 'P' algorithm and finding the value to send to the motor controller which will interpret it and turn left/right and how fast to turn. What my main concern is what is all involved besides the basic equations. I have just started learning the PID algorithm and have picked up on it well but as a beginner I am still trying to learn more. Any available information on this topic is great, or examples.
I have wrote out a detailed explanation of what I am trying to do involving the pots with equations(error, Turn, etc) and can post that if it helps. Thanks in advance.