Robot Dog Construction Record 1-First Experience of Raspberry Pi

Introduction

The Raspberry Pi 3rd Generation Model B+, which is used as a robot dog, has arrived. First of all, the heat sink is installed. The front cpu and south bridge generate a lot of heat.
Refer to this video to install the heat sink. The explanation is very detailed, and novices like me can understand it.
Video explanation link:
heat sink installation

Before installation:

After installation:

This golden raspberry logo is the cpu, isn't it cool?

After the heat sink is installed, enter the installation process of the Raspberry Pi system:

System installation of Raspberry Pi

There are two recommended installation methods on the Raspberry Pi official website

1. Use software to assist in the installation of the system.
Advantages: Graphical operation interface, easy to understand according to the steps.
Disadvantages: If the wifi module is not good, the downloading system will be slow (of course, it may also be downloaded from the system's website in a foreign country and the download is too slow )
Required materials:

 1.安装系统的软件,这里推荐Raspberry Pi Imager ,还有一个是spotmicroai社区文章里面推荐的PINN。  
 2.树莓派一个  
 3.电脑一台  
 4.SD一个  
 5.读卡器一个  

Operation steps:
1. Download Raspberry Pi Imager on the computer
2. Use a card reader to insert the
Raspberry Pi 's sd into the computer 3. Run Raspberry Pi Imager, then select the system you want to install, select the SD card
4. Click WRITE
5 Waiting for the system to install, I actually gave up when I got here, because the download system was too slow.

2. Directly install the system directly to the SD card.
Advantages: The system is directly downloaded and ready at one time. The downloading system is not affected by the website abroad and the downloading system is very slow.
Disadvantage: The operation steps are more troublesome.
Materials needed:

 1.SD Memory Card Formatter (格式化SD卡的软件)  
 2.Raspberry Pi OS(树莓派的操作系统)  
 3.Win32DiskImager (写入操作系统的软件)  
 4.电恼一台  
 5.读卡器一个  
 6.SD卡一个  

Steps:
1. Use a card reader to insert the SD card of the Raspberry Pi into the computer.
2. Format the SD card. It is better to use the SD Memory Card Formatter, which is cleaner than the computer directly formatting the SD. Even the partitions of the SD card are given. Lost it
3. Download the system you want from the official website of the Raspberry Pi, and download it as a zip package
. 4. Unzip the zip package and unzip the image file inside.
5. Run Win32DiskImager and write the downloaded system To SD

Tips: Here is a brief introduction to the small differences of the several systems recommended by the
Raspberry Pi official website. I downloaded Raspberry Pi OS (32-bit) with desktop because it is more convenient to operate the view.

1. Raspberry Pi OS (32-bit) with desktop and recommended software 2.
Raspberry
Pi OS (32-bit) with desktop
Raspberry Pi OS (32-bit) with desktop and recommended software 3. Raspberry
Pi OS ( 32-bit) Lite
Raspberry Pi system without desktop system

Post steps:

After the system is burned, there are still some post-steps, mainly to enable the Raspberry Pi to support remote ssh and access the network.

1. Create an empty file named ssh in the root directory of the SD card, without any suffix, just an empty file named ssh
2. Also create a wpa_supplicant.conf file in the root directory of the SD card and write the following content

country=us
update_config=1
ctrl_interface=/var/run/wpa_supplicant

network={
 scan_ssid=1
 ssid="wifi名称"
 psk="wifi密码"
}

After this setting is complete, the Raspberry Pi will connect to this wifi by default after it is started.

Note: Remember to save as unix's newline format LF. I stepped on the pit for the first time and edited it with notepad++, because the Windows system saves CR LF format by default. When VNC is connected to the Raspberry Pi remotely, it can't be connected, so I reinstalled it and checked the information to find the problem.

Connect to PI remotely:
If everything goes well in the above steps, you can see a device named recovery on the login interface of your wifi router. This is the Raspberry Pi.

At this time, use ssh to log in to the Raspberry Pi. The default user name is pi and the password is raspberry.

Remote desktop access to PI: After
logging in to the Raspberry Pi with ssh, enter sudo raspi-config to enter the configuration interface:
select in turn:
1.Interfacing Options
2.VNC
3.YES
Then you can access the remote desktop.

We are downloading a VNC viewer, enter the ip of the Raspberry Pi, and then it can be linked up, the account secret is the same as ssh.
After entering the system, you will be asked to change a new password, and you're done after setting it up.
Attach a picture of successful remote connection:

Reference link:

1.https://gitlab.com/custom_robots/spotmicroai/basic-instructions gitlab group of
spotmini robot 2.https://shumeipai.nxez.com/2018/08/31/raspberry-pi-vnc-viewer-configuration- tutorial.html Raspberry Pi VNC configuration
3. https://www.raspberrypi.org/downloads/raspberry-pi-os/ Raspberry Pi official website system download
3. https://video.tudou.com/v/XMTY5Mzc2NDYwOA= =.html?f=50513641 Raspberry Pi heat sink installation video

Guess you like

Origin blog.csdn.net/sc9018181134/article/details/108189744