Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Letzte Überarbeitung Beide Seiten der Revision | ||
unipagernextion [2018/08/12 23:27] dh3wr [Direct connection to GPIO UART] |
unipagernextion [2018/08/12 23:28] dh3wr [Direct connection to GPIO UART] |
||
---|---|---|---|
Zeile 88: | Zeile 88: | ||
{{::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 | {{::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>dtoverlay=pi3-disable-bt</code> to ''/boot/config.txt'' and disable the Bluetooth service with | ||
- | <code>sudo systemctl disable hciuart</code>. | + | <code>sudo systemctl disable hciuart</code> |
Also free the UART from the kernel messages by removing | 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>console=serial0,115200</code> from ''/boot/cmdline.txt'' and enable the UART by adding | ||
- | <code>enable_uart=1</code> to ''/boot/config.txt''. | + | <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]]. | 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 so. | + | Reboot your Pi after doing these actions. |