User Manual
Table Of Contents
- 1. Premise
- 2. Raspberry Pi System Installation and Developmen
- 3 Log In to The Raspberry Pi and Install The App
- 4 Raspberry Pi Structure Assembly and Precautions
- 5 Controlling A Robot via WEB App
- 6 Common Problems and Solutions(Q&A)
- 7 Set The Program to Start Automatically
- 8 Remote Operation of Raspberry Pi Via MobaXterm
- 9 How to Control WS2812 RGB LED
- 10 How to Control The Servo
- 11 Calling the API to Control the Robot
- 12 Automatic Stabilization Function
- 13 Gait Generation Method of A Hexapod Robot
- 14 Make A Police Light or Breathing Light
- 15 Real-Time Video Transmission
- 16 Why OpenCV Uses Multi-threading to Process Vide
- 17 OpenCV Learn to Use OpenCV
- 18 Using OpenCV to Realize Color Recognition and T
- 19 Machine Line Tracking Based on OpenCV
- 20 Create A WiFi Hotspot on The Raspberry Pi
- 21 Install GUI Dependent Item under Window
- 22 How to Use GUI
- 23 Enable UART
- 24 Control Your Adeept_RaspClaws with An Android D
- Conclusion
120
23.4 UARTs and Device Tree
● Various UART Device Tree Overlay definitions can be found in the kernel github tree. The two most
useful overlays are disable-bt and miniuart-bt .
● disable-bt disables the Bluetooth device and restores UART0/ttyAMA0 to GPIOs 14 and 15. It is also
necessary to disable the system service that initialises the modem so it doesn't use the UART: sudo systemctl
disable hciuart .
● miniuart-bt switches the Raspberry Pi 3 and Raspberry Pi Zero W Bluetooth function to use the mini
UART (ttyS0), and restores UART0/ttyAMA0 to GPIOs 14 and 15. Note that this may reduce the maximum
usable baudrate (see mini UART limitations below). It is also necessary to edit
/lib/systemd/system/hciuart.service and replace ttyAMA0 with ttyS0, unless you have a system with udev rules
that create /dev/serial0 and /dev/serial1. In this case, use /dev/serial1 instead because it will always be correct.
If cmdline.txt uses the alias serial0 to refer to the user-accessible port, the firmware will replace it with the
appropriate port whether or not this overlay is used.
●There are other UART-specific overlays in the folder. Refer to /boot/overlays/README for details on
Device Tree Overlays, or run dtoverlay -h overlay-name for descriptions and usage information.
● For full instructions on how to use Device Tree Overlays see this page. In brief, add a line to the
config.txt file to enable Device Tree Overlays. Note that the -overlay.dts part of the filename is removed.
...
dtoverlay=disable-bt
...
23.5 Relevant Differences Between PL011 and Mini UART
23.3 UART Output on GPIO Pins
●By default, the UART transmit and receive pins are on GPIO 14 and GPIO 15 respectively, which are
pins 8 and 10 on the GPIO header.