AVR064: A Temperature Monitoring System with LCD Output Documentation
This documents the software for application note AVR064: A Temperature Monitoring System with LCD Output. This is meant to be an example of how to use the ATmega169(P) and the STK502.
The source was compiled with IAR Embedded Workbench 4.12A. To use GCC the source have to be modified.
To make project with IAR EWAVR:
Add the .c files to project (Main.c, Buttons.c, LCD_driver.c, LCD_functions.c, RTC.c, Temperature.c and UART.c). Use device --cpu=m169, enable bit definitions in I/O include files, output format: ubrof8 for Debug and intel_extended for Release
Please also note that the linker file should be modified to avoid corruption of variables defined to SRAM locations (see Main.h).
The example is written for ATMega169(P). The timing related functions are written for 1 Mhz oscilator, except the RTC clock and the LCD frame rate which are clocked from an external 32 kHz crystal mounted on the STK502 board. Connections, switches and fuses are described in the application note.
For more info about Atmel AVR visit http://www.atmel.com/products/AVR/
For AVR application notes visit http://www.atmel.com/dyn/products/app_notes.asp?family_id=607
Support mail: avr@atmel.com
Generated on Fri Feb 17 12:28:29 2006 for AVR064: A Temperature Monitoring System with LCD Output by
1.4.5