找回密碼
 立即註冊
搜索
查看: 7157|回復: 0

Demo One: DS1621 thermometer with LCD readout --- Files download

[複製鏈接]
發表於 19-3-2011 13:27:50 | 顯示全部樓層 |閱讀模式
Demo One: DS1621 thermometer with LCD readout


AIM:
The temperature is recorded by DS1621 in which the data is passed through the 2-wire interface (SDA and SCL) to STC89C54RD+. The readout is shown by the 16 x 2 LCD display afterwards. See Figure 1 below.


FEATURES:
  • Using 8-pin DIP package DS1621, good for DIY project.
  • Small in size BASCOM 8051 BASIC program (less than 40 instructions).
  • Easy to manipulate the I2C communication.
  • Fast to initiate the LCD.


DS1621_LCD_01.jpg
Figure 1. The room temperature as shown on the 16 x 2 LCD is 23 degree C.



CIRCUIT:
The LCD and STC89C54RD+ are connected as standard configuration. The DS1621’s address lines A0 to A2 is connected to the ground in this circuit. Its data SDA and clock SCL are connected to MCU I/O pins, say P0.0 and P0.1.

DS1621_LCD_Circuit.jpg
Figure 2. The DS1621 thermometer schematic.



PROGRAM:

DS1621_Thermometer.jpg
Figure 3. The 8051 BASIC program for the DS1621 thermometer. There are fewer than 40 instructions.



DOWNLOAD:
  • The schematic in PDF format: DS1621_Thermometer.pdf (33.52 KB, 下載次數: 2662)
  • DS1621 thermometer program : DS1621_Thermometer.TXT (1.31 KB, 下載次數: 2606)
您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

手機版|小黑屋|存檔|中華業餘無線電研究會網站

GMT+8, 2-5-2024 18:10 , Processed in 0.043799 second(s), 23 queries , Gzip On.

本討論區基於 Discuz! X3.5

版權所有 © 2001-2024 中華業餘無線電研究會有限公司,保留一切權利


重要聲明:本討論區是以即時上載留言的方式運作,中華業餘無線電研究會對所有留言的真實性、完整性及立場等,不負任何法律責任。而一切留言之言論只代表留言者個人意見,並非本網站之立場,讀者及用戶不應信賴內容,並應自行判斷內容之真實性。於有關情形下,讀者及用戶應尋求專業意見(如涉及醫療、法律或投資等問題)。 由於本討論區受到「即時上載留言」運作方式所規限,故不能完全監察所有留言,若讀者及用戶發現有留言出現問題,請聯絡我們。中華業餘無線電研究會有權刪除任何留言及拒絕任何人士上載留言(刪除前或不會作事先警告及通知),同時亦有不刪除留言的權利,如有任何爭議,管理員擁有最終的詮釋權。用戶切勿撰寫粗言穢語、誹謗、渲染色情暴力或人身攻擊的言論,敬請自律。本網站保留一切法律權利。

快速回復 返回頂部 返回列表