Link to home
Start Free TrialLog in
Avatar of cool_baba
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!! :)
ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cool_baba
cool_baba

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?