Raspberry Pi 3B+

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. 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值