Go to Post There is a fine line between genius and insanity, watch your step! - Al Skierkiewicz [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 23-03-2012, 16:46
tb0508 tb0508 is offline
Registered User
no team
 
Join Date: Mar 2012
Location: United States
Posts: 3
tb0508 is an unknown quantity at this point
PID algorithm using Arduino

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.

Last edited by tb0508 : 23-03-2012 at 22:10.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:40.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi