⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tempunit.txt

📁 DS1820 1-wire temp sensor AVR asm Program
💻 TXT
字号:
;************************************************
;* Main Program LCD Temperature & Clock		*
;* Readout Unit					*
;*						*
;* Copyright 2001-2003 Wayne Peacock		*
;* First Revision  19/06/2001			*
;* Second Revision 02/03/2002			*
;*	* Add Upload of Time - Working		*
;*	* Add Toggle to Backlight Button	*
;* Third Revision  01/10/2002			*
;*	* High Resolution conversion fixed for  *
;*        negative temperature values!		*
;*						*
;* Displays temperature in high resolution	*
;* on a 2x24 LCD panel with real time clock.	*
;* RS232 included for temperature output and	* 
;* setting RTC					*
;************************************************
;* See Schematic for Hardware connections	*
;* 						*
;* Disclaimer:					*
;* The Author takes no responsibility for the 	*
;* use of this code. Use at your own risk!	*
;* 						*
;* This code or part there of is licensed only 	*
;* for private use and NOT for commercial use.	*
;* 						*
;* Please contact the author 'Wayne Peacock' 	*
;* <wpeacock@senet.com.au> before using the code*
;* or part there of in a commercial project.	*
;************************************************

Note: There are current issues with the interupts for the serial comms. There are problems if the 'Set clock' string is sent to the the AVR during a temperature dump. Please modifiy the code for your use. If you do not want logging remove it.   

lcd24.asm - Main Subroutine

Support code:

1302sub.asm
lcd4.asm
delay.asm			
serial.asm
convert.asm
DS1820sub.asm
DS1820search.asm

Assembled using AVRASM: AVR macro assembler version 1.54 (AVR Studio 3.53)

Total Code size 981 words

Protel 98 Files

AtmelLCD2.sch	: Schematic File 


Wayne's Embedded Life
http://users.senet.com.au/~wpeacock

DS1820 Temperature Sensor Readout Unit with Real Time Clock
http://users.senet.com.au/~wpeacock/avr/tempavr.html

Regards
Wayne Peacock
wpeacock@senet.com.au

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -