Benutzer-Werkzeuge

Webseiten-Werkzeuge


unipagernextion

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Letzte Überarbeitung Beide Seiten der Revision
unipagernextion [2018/08/12 23:09]
dh3wr
unipagernextion [2018/08/12 23:28]
dh3wr [Direct connection to GPIO UART]
Zeile 75: Zeile 75:
  
 {{ :​unipager:​unipager:​detail-raspi.jpg?​direct&​600 |}} {{ :​unipager:​unipager:​detail-raspi.jpg?​direct&​600 |}}
 +
 +Pin association to connect the Nextion display directly to the Raspberry Pi on-board UART.
 +
 +<color #​ed1c24>​RED</​color>​ 5 V Pin 02 or Pin 04
 +
 +BLACK  GND Pin 06 or any other ground Pin
 +
 +<color #​22b14c>​GREEN</​color>​ Pin 10
 +
 +<color #​ffc90e>​YELLOW</​color>​ Pin 08
 +
 +{{::​icons:​warning.png?​direct |}}{{ :​icons:​warning.png?​direct|}}Remember:​ In the default raspbian image, on Raspberry Pi 3B and Raspberry Pi 3B+, the internal Bluetooth is connected to the internal UART. So as it is quite likely you won't use the Bluetooth, disable it by adding a line
 +<​code>​dtoverlay=pi3-disable-bt</​code>​ to ''/​boot/​config.txt''​ and disable the Bluetooth service with
 +<​code>​sudo systemctl disable hciuart</​code>​
 +
 +Also free the UART from the kernel messages by removing
 +<​code>​console=serial0,​115200</​code>​ from ''/​boot/​cmdline.txt''​ and enable the UART by adding
 +<​code>​enable_uart=1</​code>​ to ''/​boot/​config.txt''​
 +
 +Further information is just one google search away: [[https://​www.raspberrypi.org/​documentation/​configuration/​uart.md|one google search away]].
 +
 +
 +Reboot your Pi after doing these actions.
 +
 +
  
 ==== Connect via USB2Serial-Adapter ==== ==== Connect via USB2Serial-Adapter ====
unipagernextion.txt · Zuletzt geändert: 2018/11/12 21:27 von oe7bsh