programming of PID using microcontroller : LUSENET : PID Controller Tuning : One Thread

dear i read your more about implementation of PID, and i get agood idea bout that , now this days i have my project which is about implementation of PID for DC TO DC convertor using 8-bit microcontroller i use (AVR microcontroller) and i need to implement this for buck convertor circuits so i need your help and support to achieve this work as much as possible excatly the C code of PID and full code if possible with details (i will use the PWM of the microcontroller to out put)

please i need your help in this topic as soon as possible

thanks for your care

waiting for important replay

thanks again

-- ala (, February 25, 2002


To implement PID control, take a look at this webpage:


-- Dan Liu (, March 12, 2002.

How to write a program in source code for PID controller?

-- Jamaluddin bin Ismail (, September 03, 2002.

can you tell me some program of PID = 8051. I have a test about it. Thanks.

-- Tran Nhat Quang (, December 05, 2002.

if any body know the code please do let me know about it for PID

-- ahmad shuja (, June 20, 2003.

Hi Ala,

did you get to know about PID programs, if yes please let me know the source or the information

thanks Prince

-- prince jeswin (, July 10, 2003.

How can I use C/C++ to accomplish PID controller ? We use hardware to work , but now we want to use software. Do you have any sample code to show me ? Thanks a lot .

-- weien (, August 20, 2003.

hello sir i need your help for implimenting above mentioned project do the needfull

thank you

-- srinivas (, November 01, 2003.

hello sir i need your help for implimenting above mentioned project do the needfull in 89c51

-- vijay jadhav (, December 10, 2003.

for controlling the temp of oven i am using a microcontroller but because of the system property i am not able to achieve a stable system for that i will have to impliment pid control using c can anybody pls help me out

-- geeta kadam (, December 17, 2003.

dear sir, can you please help me to make code for PID controller using microprocessor 8085.

-- asha anand (, April 20, 2004.

can you tell me some program of PID = 89c51. I have a test about it. Thanks. if you know about this programs it's better.(digital clock,keyboard,programmer)

-- niloofar pirooz (, June 28, 2004.

hi I have made the PID controller with ATmega128 & ATmega8535 (AVR micros)and tested it in motor control and tempreture controller successfully. I have scripted my source code with (codevision AVR) C compiler. I'm intresting your invaluable opinions and my idea. thanks.

-- mohammad norouzi (, August 12, 2004.

If any body needs the help in PID control using 'PIC'microcontroller i can help on that.I think using PWM module in built in the PIC can be used.Contact to my mail

-- Mohamed Fahim (, October 13, 2004.

can you send me some programs of PID for PIC or 8051


-- Ryan Santos (, October 13, 2004.

hello, sir i want made a project about PID controller based on micoprocessor i ned ur help about that such as assembly programing & required cicuit thanks u

-- pawan kushwaha (, January 21, 2005.

I have written a PID controller for Java (my phone), but I need one in C/C++... (BTW, it works wounderfull, even on a slow phone!)

Anyone has some PID code in C/C++? Contact me, and we may improve our software together!

Thx in advance!

-- Ville Witt (target_rex@@"opposit of cold"mail. com), January 28, 2005.

Moderation questions? read the FAQ