当前位置: 首页 > 工具软件 > Raspberry Pi > 使用案例 >

Raspberry Pi 3B+

钮轩昂
2023-12-01

1. Set up steps I did

What you will need :

Hardware: A raspberry Pi computer, a SD card, a monitor with a cable (and, if needed, an HDMI adaptor) or a touchscreen (Raspberry 7’’ touchscreen display) , a USB keyboard and mouse, a computer or laptop, a tool box. Optional: Headphones or speakers, an ethernet cable.

Software: Raspbian (installed via NOOBS)

Getting it ready:

You have two choices to use your Raspberry Pi - either through a monitor or a touchscreen.

• If you are using a computer monitor, you should firstly follow the Miuzei Rasbpberry Pi 3B+/3B Case Installation Instructions (which comes with the Miuzel case) to stick on heat sinks, install mini fans, and wrap the motherboard up as a box. Then connect keyboard and mouse via USB port. Connect your monitor cable to the Pi’s HDMI port - use an adapter if necessary.

• If you are using a touchscreen, don’t hurry to package the motherboard up. You check out this video https://www.youtube.com/watch?v=tK-w-wDvRTg to connect the touchscreen to your Raspberry. Also need to connect keyboard via USB port. Mouse is optional since you can touch the touchscreen for control.

Installing software: Raspbian is the operating system for Raspberry Pi, which is installed via NOOBS. Downloading NOOBS: Visit www.raspberrypi.org/downloads/. Click NOOBS. Download Zip to your laptop.

Formatting SD card: If you don’t have a SD Formatter in your laptop, visit the SD Association’s website and download SD Formatter 4.0 for Windows or Mac. Insert your SD card into the computer or laptop’s SD card reader. Format it in SD Formatter.

Extracting NOOBS file: Find the zip file for NOOBS and extract the files. Drag/Copy the files onto the SD card. Eject the SD card.

Booting from NOOBS file: Insert the micro SD Card with copied files on it into your raspberry Pi and plug the Pi into a power source. Check the box for Raspbian on the first pop-up you see. Click Yes at the following warning dialog. Then the Raspbian will install. When Raspbian has been installed, click OK and your Rasspberry Pi will restart and Paspbian will then boot up. When you start your Raspberry Pi for the first time, the Welcome to Raspberry Pi application will pop up and guide you through the initial setup. After the setup, click Reboot or Done to finish. If you want to connect the Pi to the internet via Ethernet, use an Ethernet cable to connect the Ethernet port on the Raspberry Pi to an Ethernet socket on the wall or on your internet router. You don’t need to do this if you’ll be using WiFi or if you don’t want to connect to the internet

 

2. How did I enable ssh 

Enter sudo raspi-config in a terminal window
Select Interfacing Options
Navigate to and select SSH
Choose Yes
Select Ok
Choose Finish
Alternatively, use systemctl to start the service

sudo systemctl enable ssh
sudo systemctl start ssh

When enabling SSH on a Pi that may be connected to the internet, you should change its default password to ensure that it remains secure. See the Security page for more details.

You may need to reboot your Pi.

Then ssh to that Pi from another node in the same LAN using ssh pi@<IP>

 

3. Why formatting your SD card before use?

The devices memory cards are installed on may use a variety of operating systems, such as Windows, Linux and so on. Sometimes unpredictable issues may occur during data read/write. To avoid such issues, we strongly suggest you format the memory card before using it for the first time on any new device. 

Memory card formatting is the process of preparing a flash memory device for data storage. It cleans the Secure Digital (SD, SDHC, SDXC) card by removing previously existing data and information on the card ("low level formatting") and creating a new file system ("high level formatting").

 

4. Test the network with c/s based programs between 2 nodes

192.168.1.3 would be the server

successful test using Python script :

http://www.python-exemplary.com/index_en.php?inhalt_links=navigation_en.inc.php&inhalt_mitte=raspi/en/communication.inc.php

Still not sure what is wrong with the C program. 

 类似资料:

相关阅读

相关文章

相关问答