最新NanoDLP官方nextion屏幕使用

自从Build #2101版本开始官方加入自己的nextion触摸屏版本,官方下载nextion tft文件如下:

https://www.nanodlp.com/download/nextion-tft.zip

nanodlp最新稳定官方版本下载如下:

https://www.nanodlp.com/nanodlp.img.gz

官方并没有告知如何使用nextion触摸屏:

方法如下:1.打开树莓派串口功能,2.让蓝牙不要占用GPIO 串口。即可可以使用官方的Nextion tft版本。

MANDATORY : Enable /dev/ttyAMA0 For Raspberry Pi Zero and Raspberry Pi 3

sudo raspi-config

=> Interfacing Option

=> Serial

=> NO

=> YES

sudo nano /boot/config.txt

=> add this line :

 dtoverlay=pi3-miniuart-bt

將 Pi 3 Bluetooth 移到 mini-UART (ttyS0)

=> then

sudo reboot
sudo nano /boot/cmdline.txt

=> remove the word phase "console=serial0,115200" or "console=ttyAMA0,115200"

sudo reboot

 

设置Machine Settings 选择:Setup Mode--Advance

 拉动到最后一项:Various Settings---Nextion Display Port Address

鼠标双击Nextion Display Port Address空白项,就会有ttyAMA0(硬件串口)和ttyS0(mini串口),肯定要选择ttyAMA0(硬件串口),点击提交。重启树莓派,nextion 既可以连接上树莓派,并可以控制。

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

hu5566798

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值