準備整采用19264液晶顯示的甲醛、萬年歷、溫濕度桌面時鐘,發(fā)現(xiàn)家里有閑置的建行19264可用。
參考網(wǎng)絡(luò)上的程序,自己做一定調(diào)整,先放出溫濕度顯示的源碼,供大家欣賞,已做分享和記錄。
實物圖:
傳感器真身
傳感器真身
溫濕度顯示
溫濕度顯示
背部接線
背部接線
下雨的車內(nèi)
下雨后的車內(nèi)數(shù)據(jù)
假想主界面1:
液晶驅(qū)動UC1604c
lcd引腳線序
1 升壓輸出
2 電容1
3 電容2
4 電容2
5 電容1
6 vcc
7 gnd
8 cs片選
9 cd(rs)寄存器選擇
10 rst復(fù)位
11 sck
12 sda
不同批次的液晶屏,引腳排列可能不同。前五個引腳就不說了,看電路板很容易看出來,vcc和gnd用萬用表量一下就行了,與那個8引腳芯片的5、6腳相連的肯定是sck和sda,剩下3個引腳的就算順序全部打亂,排列組合只用6種,全都試一遍,絕對能得出結(jié)論。
單片機源程序如下:
所有資料51hei提供下載,Keil工程源碼:
溫濕度19264顯示.zip
(66.84 KB, 下載次數(shù): 107)
2019-4-10 10:42 上傳
點擊文件名下載附件
Keil工程源碼
類似主題:
http://www.torrancerestoration.com/bbs/dpj-27356-1.html
http://www.torrancerestoration.com/bbs/dpj-190973-1.html
http://www.torrancerestoration.com/bbs/dpj-35520-1.html
http://www.torrancerestoration.com/bbs/dpj-213269-1.html
http://www.torrancerestoration.com/bbs/dpj-186003-1.html
http://www.torrancerestoration.com/bbs/dpj-59981-1.html
http://www.torrancerestoration.com/bbs/dpj-129947-1.html
http://www.torrancerestoration.com/bbs/dpj-202400-1.html
http://www.torrancerestoration.com/bbs/dpj-88462-1.html
http://www.torrancerestoration.com/bbs/dpj-36379-1.html
http://www.torrancerestoration.com/bbs/dpj-80238-1.html
http://www.torrancerestoration.com/bbs/dpj-178374-1.html
http://www.torrancerestoration.com/bbs/dpj-151707-1.html
http://www.torrancerestoration.com/bbs/dpj-155801-1.html
|