In the first week of this task, I got a new Raspberry Pi, and I want to use it to start my journey into IoT.
Download the application: Raspberry Pi Imager on my computer. Because my computer is a Mac, I downloaded this application. You can click this link to download:
Insert the SD card and download the system into the SD card. This step is super simple, we just need to follow the instructions of this App to download the system.
Here is a picture of me in the process of downloading the system:
Connect the keyboard and mouse via USB
Use HDMI line to connect the Pi to my display, Here's what it looks like after we connect:
After I connected the display to the Pi, I found a problem with the time of the system is incorrect. So I use the command line to change the time zone of this system.
Enter the code on the command line:dpkg-reconfigure tzdata
Choose Asia and then choose Shanghai in this interface:
Following the instructions of the command line then we can change the time zone successfully.
Reference:
https://blog.csdn.net/farYang/article/details/50779346
Enable SSH on my PI
d. Click the ok button to make the changes take effect
Connect the WiFi and get the internet position address. In this process, I found a problem the IP address in our school is dynamic, so I can not use SSH to connect. Then, I ask our IT teacher for help to let him help to configure a static IP address.
Different computers with different systems have different ways to SSH the Pi. For me, I use MacOS, and I follow the following tutorials to do that:
https://www.zhendongkaiguan.cn/post/1321.html
ssh username@IP Adress
The result of the connection is as follows: