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.

Step 1: Download the system into the SD card

  1. 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:

    https://www.raspberrypi.com/software/

截屏2024-10-19 19.45.45.png

  1. 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:

    IMG_1459.jpeg

Step 2: Connect the Raspberry PI with the mouse, keyboard, and the display

  1. Connect the keyboard and mouse via USB

  2. Use HDMI line to connect the Pi to my display, Here's what it looks like after we connect:

    IMG_1458.jpeg

Step 3: Changing the System Time Zone

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.

  1. Enter the code on the command line:dpkg-reconfigure tzdata

  2. Choose Asia and then choose Shanghai in this interface:

    截屏2024-10-19 20.09.14.png

  3. Following the instructions of the command line then we can change the time zone successfully.

    IMG_1461.jpeg

Reference:

https://blog.csdn.net/farYang/article/details/50779346

Step 4: Connect Wifi and use SSH to Remote access

  1. Enable SSH on my PI

    1. Open the Raspberry Pi Configuration window from the Preferences menu
    2. Click the Interfaces TAB
    3. Select Enable next to the SSH line

    raspberry-pi-configuration.jpg

    d. Click the ok button to make the changes take effect

  2. 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.

  3. 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:

    截屏2024-10-18 16.59.12.jpeg