Tutorial
Table Of Contents
- 1. Premise
- 2. Raspberry Pi System Installation and Developmen
- 3 Log In to The Raspberry Pi and Install The App
- 4 Assembly and Precautions
- 5 Controlling 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 How to Control DC Motor
- 12 Ultrasonic Module
- 13 Line Tracking
- 14 Make A Police Light or Breathing Light
- 15 Real-Time Video Transmission
- 16 Automatic Obstacle Avoidance
- 17 Why OpenCV Uses Multi-threading to Process Vide
- 18 OpenCV Learn to Use OpenCV
- 19 Using OpenCV to Realize Color Recognition and T
- 20 Machine Line Tracking Based on OpenCV
- 21 Create A WiFi Hotspot on The Raspberry Pi
- 22 Install GUI Dependent Item under Window
- 23 How to Use GUI
- 24 Control The WS2812 LED via GUI
- 25 Real-time Video Transmission Based on OpenCV
- 26 Use OpenCV to Process Video Frames on The PC
- 27 Enable UART
- 28 Control Your AWR with An Android Device
- Conclusion
18
● If it fails to enter the page, log into the Raspberry Pi via SSH, type in the command below to end the
program auto run at boot to release resources, or else issues like camera initialization failure or occupied ports.
sudo killall python3
●Type in the command below to run `webServer.py`:
sudo python3 Adeept_AWR/server/webServer.py
●Check whether there's any error and solve them based on instructions in the Q&A section below.
4.1 Structure Assembly
Before assembling
Before installing the robot, you need to install the software (refer to second half of the document) to control
the robot on the Raspberry Pi. Because the servo needs to be returned to the original position during the robot
assembly process, which requires the assistance of a Raspberry Pi with software that runs normally.
How to make a servo return to original position
Connect the servo to the Raspberry Pi that is turned on. When the connection is completed, the servo will
immediately run, and it will automatically return to the original position in a very short time. Then you can install
the rocker arm on the servo at a specified angle.
automatically return ➔ install rocker arm
(The type of servo and the installation angle of the rocker arm is for reference only. Please refer to the
actual product and assembly part.)
Whether the servo has returned to original position
You can test whether the servo has returned to original position by pulling the rocker arm (don't try too hard to
prevent damage to the servo). The servo that has automatically returned cannot be pulled.
4 Assembly and Precautions