- Hands-On Robotics Programming with C++
- Dinesh Tavasalkar
- 416字
- 2021-06-24 15:30:24
Setting up the Raspberry Pi 3B+
After booting the Raspbian OS from the microSD card, we will set up the Raspberry Pi by connecting different peripherals to it, as follows:
- Insert the microSD card into the SD card slot, which is located on the back of the Raspberry Pi 3B+:

- Connect the keyboard and mouse to the USB ports of the Raspberry Pi 3B+. It is also possible to use a wireless keyboard and mouse:

- The Raspberry Pi 3B+ contains an HDMI port with which we can connect the RPi to a display unit, such as a computer monitor or TV. Connect one end of the HDMI cable to the Raspberry Pi's HDMI port and the other end to a display unit:

- Finally, to turn the Raspberry Pi on, we need to provide it with power. A typical Raspberry Pi requires 5V of power and ideally 2.5A of current. There are two methods that we can use to supply power to the Raspberry Pi:
-
- Smartphone charger: Most smartphone chargers provide a 5V voltage output and 2.5A of current output. If you take a closer look at your smartphone charger, you will find the maximum voltage and the current output value printed on it, as shown in the following photo. On my charger, the current output of 3A indicates the maximum current output. The charger, however, will only provide the current output as required for the RPi and not the maximum current of 3A. Note that the Raspberry Pi contains a micro USB B port, so, to connect to the power port of Raspberry Pi, we need to connect a micro USB B wire to our charger:

-
- Power bank or battery bank: Alternatively, we can use a power bank or a battery bank. As mentioned earlier, we need to connect the power bank to the Raspberry Pi via micro USB B port, and we also need to make sure that it provides 5V of voltage output and around 2.5A of current output:

- Once everything is plugged in, turn the display unit on and make sure that you have selected the correct HDMI option.
- Next, turn on the power supply. You will see the red LED on your Raspberry Pi turn on. Wait for around 10-20 seconds for the Raspberry Pi to boot up. Once this is done, you will see the following screen:

Now that we've got our Raspberry Pi 3B+ running, let's connect it to the internet.
推薦閱讀
- Node.js Design Patterns
- 深入理解Bootstrap
- Python 深度學習
- Practical Data Science Cookbook(Second Edition)
- R的極客理想:工具篇
- Microsoft System Center Orchestrator 2012 R2 Essentials
- Learning Vaadin 7(Second Edition)
- 運用后端技術處理業務邏輯(藍橋杯軟件大賽培訓教材-Java方向)
- Hands-On Neural Network Programming with C#
- Webpack實戰:入門、進階與調優(第2版)
- Mastering jQuery Mobile
- Java程序設計實用教程(第2版)
- 零基礎學SQL(升級版)
- HTML5 and CSS3:Building Responsive Websites
- HTML5+jQuery Mobile移動應用開發