標題: 單片機驅(qū)動LCD1602只顯示一行黑塊? [打印本頁]

作者: 硬瀚    時間: 2023-4-14 21:46
標題: 單片機驅(qū)動LCD1602只顯示一行黑塊?
剛學習使用單片機,做一個電路設(shè)計,仿真可以正常運行,但是實物燒錄進去LCD1602只顯示一行黑塊,因為怕焊接錯誤所以用的pcb板子,所以應(yīng)該不是焊接錯誤,想請教各位大佬們幫忙看一下

屏幕截圖 2023-04-01 163132.png (138.25 KB, 下載次數(shù): 62)

仿真

仿真

屏幕截圖 2023-04-01 151211.png (246.19 KB, 下載次數(shù): 59)

原理圖

原理圖

作者: heicad    時間: 2023-4-14 22:06
來看一下51hei論壇里面解決此問題的痛苦經(jīng)歷吧:
51hei搜索框輸入"1602 方塊"或者"1602 黑塊"或者"1602 白塊"或者"1602 格":

這個是io口設(shè)置問題,最終搞定了:http://www.torrancerestoration.com/bbs/dpj-199732-1.html
http://www.torrancerestoration.com/bbs/dpj-168643-1.html
http://www.torrancerestoration.com/bbs/dpj-208189-1.html
http://www.torrancerestoration.com/bbs/dpj-210690-1.html

既有可能是軟件問題也有硬件問題
http://www.torrancerestoration.com/bbs/dpj-187378-1.html
http://www.torrancerestoration.com/bbs/dpj-160754-1.html
作者: 硬瀚    時間: 2023-4-16 16:45
問題已解決,lcd初始化加了幾個延時函數(shù)就可以顯示了
作者: 硬瀚    時間: 2023-4-16 16:46
問題已解決,lcd初始化加了幾個延時函數(shù)就可以顯示了




歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1