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
53
·`MOTION GET`: Motion detection function based on OpenCV. When objects move in the view of the
camera, the program will circle the part in the `Video` window, and the LED light on the robot will show respective
changes.
·`AUTO MATIC`: Obstacle avoidance function based on ultrasonic. When the ultrasonic module on the
robot detects an obstacle, it will automatically turn left, and take a step backward before turning if it's too close to
the obstacle.
·`SPEECH` Based on the control function of the multi-threaded WS2812-LED, the color of the robot's
WS2812-LED lamp can alternately blink.
●`FC Control` window control`s the color lock function of the robot:
·`START`: Enable or disable color searching and tracking function.
·`COLOR`: Select the color to track.
·When the function is on, the robot will automatically lock one particular color in the camera view. By
default it tracks bright yellow objects. You can change the color as you want. When an object is locked, the LED
on the robot will turn orange. The camera of the robot can not only conduct pitching motion, but also can lock
objects of a certain color horizontally.
●`PWM INIT SET`: Used to adjust the initial angle of each servo port of the robot. If you find that the angle
of a certain servo of your robot is not right, you can use this function to fine-tune it to the correct angle.