Main Page
Data Structures
Files
Related Pages
AVR221 - PID controller Documentation
Atmel AVR Application Note
Introduction
This documents data structures, functions, variables, defines, enums, and typedefs in the software for application note AVR221.
Compilation Info
This software was written for the IAR Embedded Workbench 4.11A.
To make project:
Add the file
main.c
and
pid.c
to project.
Under processor configuration, select desired Atmel AVR device.
Enable bit definitions in I/O include files
High optimization on speed is recommended for best performance
Device Info
The included source code is written for all Atmel AVR devices.
ToDo List
Todo:
Put in own code in:
Get_Reference(void)
,
Get_Measurement(void)
and
Set_Input(int16_t inputValue)
Specify the sampling interval time
TIME_INTERVAL
Todo:
Modify the
K_P
(P),
K_I
(I) and
K_D
(D) gain to adapt to your application
Generated on Mon Sep 17 09:08:11 2007 for AVR221 - PID controller by
1.5.2