cool_baba
asked on
PID controller using "C" on a PIC chip (16f877a)
Hi,
I have searched a lot on this site, but didn't get a satisfied answer. So, hopefully, my problem will be solved as soon as possible :).
I am designing a robot for my project, using a PIC 16f877 chip. I am using two small motors to turn the left and right wheels. So, obviously i need some feedback loop, to make sure tht both wheels are at same speed.
thre may be more design considerations .. but for now i m focussing on the PID control.
if possible ..can i get a C code for the PID?
if u need more info.. let me know.. !!
my first objective of this project is due in a week's time.. so need it quick!
thx!! :)
I have searched a lot on this site, but didn't get a satisfied answer. So, hopefully, my problem will be solved as soon as possible :).
I am designing a robot for my project, using a PIC 16f877 chip. I am using two small motors to turn the left and right wheels. So, obviously i need some feedback loop, to make sure tht both wheels are at same speed.
thre may be more design considerations .. but for now i m focussing on the PID control.
if possible ..can i get a C code for the PID?
if u need more info.. let me know.. !!
my first objective of this project is due in a week's time.. so need it quick!
thx!! :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thx guys.. :)
one of my problem is that ..i want to make one wheel follow the other (one is master , other is slave)..wht kind of loop can i set?.. wud it by pid?
one of my problem is that ..i want to make one wheel follow the other (one is master , other is slave)..wht kind of loop can i set?.. wud it by pid?
http://mundobot.com/tecnica/pid/enpid.htm