Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PID code in C++ language, Kp, Ki , Kd and sample time

Status
Not open for further replies.

simon_12

Junior Member level 3
Joined
Sep 7, 2009
Messages
28
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,476
Hi every1

Can someone please send me the code in C++ for PID control? The code should be like that when it is run , the window should ask for Kp, Ki , Kd and sample time? and then generates the pwm output. I will use a USB daq card for to control the motor speed.

Any help will be greatly appreciated.

Regards
Simon
 

Re: PID code in C++ language

HI

There is a nice application note in ATMEL site for PI or PID code

You can start from there

All the best

Bobi

The microcontroller specialist
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top