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
105
21 Create A WiFi Hotspot on The Raspberry Pi
● The method of turning on the WIFI hotspot in our robot product uses a project from GitHub create_ap. Our
installation script will automatically install this program and related dependent libraries. If you have not run our
installation script, you can use the following command to install create_ap:
sudo git clone https://github.com/oblique/create_ap.git cd
create_ap
sudo make install
●Install related dependent libraries:
sudo apt-get install -y util-linux procps hostapd iproute2 iw haveged dnsmasq
●Before turning on the hotspot, your Raspberry Pi cannot be connected to WIFI, and the WIFI module cannot be
turned off, so when you test the hotspot function, you need to connect the necessary peripherals for the Raspberry Pi.
● Under normal circumstances, if the robot program is not connected to the WIFI when it is turned on, it will
automatically turn on the hotspot. You can use your phone or computer to search for the WIF named Adeept. The
default password is 12345678. Once the connection is successful, you can log in to 192.168 .12.1: 5000 using a browser
to open the WEB application to control the robot.
● If your Raspberry Pi is connected to peripherals, and you want to test the Raspberry Pi ’ s ability to turn on
hotspots, you can click the WIFI icon in the upper right corner of the Raspberry Pi ’s desktop, click the name of the
connected WIFI, click forget, and never turn Off WIFI, if it is already in the off state, you need to turn it on.
●When the WIFI module of the Raspberry Pi is turned on and is not connected to any known network, you can
enter the following command on the console to turn on the WIFI:
sudo create_ap wlan0 eth0 Adeept 12345678
●Adeept is the name of the WIFI hotspot, 12345678 is the password of the WIFI hotspot.