So you just got a new one raspberry pie, Maybe even Raspberry Pi 4 or Raspberry Pi 400, And take it out of the box. How to do? You can do a million things with your mini computer, but first you need to get it up and running.Please note that if this is a Raspberry Pico For microcontrollers, the setup process is completely different, so please refer to our article How to set up Raspberry Pi Pico.
If you buy the Pi as part of the kit, you may get everything you need in the box, but if you only have a circuit board, you need the following items:
- A power supply
- A microSD card (at least 8GB)
And, unless you plan to make a Headless installation or Raspberry Pi And to use it via remote desktop or SSH (control from PC), you will need.
- Keyboard (wired or wireless)
- Mouse or other pointing device (can be built into the keyboard)
- The monitor or TV to be connected (via HDMI)
- HDMI cable
Please note that the HDMI cable you need varies depending on the Raspberry Pi you are using. Raspberry Pi 4 B has dual micro HDMI output ports, so a micro HDMI to HDMI cable or adapter is required. Raspberry Pi Zero / Zero W has mini HDMI, so a mini HDMI to HDMI cable is required to connect to the display. All other Raspberry Pi models, including 3 B, have a standard HDMI port and can be connected to your monitor or TV using an HDMI male-to-male cable.
Power your Pi
Raspberry Pi 4 B and Raspberry Pi 400 (only 4 B inside the keyboard) are powered by the USB Type-C port, which requires a charger that can output 5 volts and 3 amps. Most USB Type-C mobile phone chargers don’t have enough amplifiers to do the job unless they have USB PD capabilities, but USB-C laptop chargers should all work. Although this is unlikely to be a problem, please note that Pi 4 models produced in 2019 or early 2020 have a bug that prevents them from charging via high-speed data cables that support USB 3.x 5 or 10 Gbps connections.
All other Raspberry Pi models, including Raspberry Pi 3 B and Pi Zero / Zero W, are powered via the micro USB port, which means you can charge it by connecting it to any of many different third-party chargers Or even connect it to one of the computer’s USB ports. Although you can avoid providing less power to the board (Pi Zero W works perfectly off the USB port of my laptop), the best power supply for Raspberry Pi 3 should have 5 volts and 2.5 amps, which also provides a lot of Power any peripherals you connect to its USB ports.
There are many power supplies made specifically for Raspberry Pi, including This Canakit model For older Raspberry Pi and this Vilros model of Pi 4Some third-party chargers have on/off switches, but you should not use them to disconnect the power.
Pi does not have a built-in power switch, so the default way to turn it on is to plug it in. However, to avoid data loss, you need to use the shutdown function in the operating system (OS) before unplugging or shutting it down.
Operating system on microSD card
Raspberry Pi has more than ten different operating systems, and there is even a way to Run full Windows 10 On Pi 3B. However, Raspberry Pi OS is a special version of Debian Linux, optimized for Pi, and is the best platform for most use cases.
Raspberry Pi does not have internal storage, but boots from the microSD memory card you provide.Make sure to get at least 8GB, preferably 32GB or higher, and a card with Class 10 speed (see our list The best Raspberry Pi microSD card). This is almost self-evident, but you need some kind of card reader to write the operating system from your PC to it.
Headless installation of Raspberry Pi?
If you just want to try the Pi or use it to control physical objects such as lights, motors, and sensors, you don’t need to equip it with your own screen and keyboard.Please follow our separate instructions Headless installation on Raspberry Pi, You can use VNC or SSH remote access software to control the device from the desktop of a PC or Mac.
Download and install the Raspberry Pi operating system
Once you have all the components you need, follow the steps below to set up your Raspberry Pi with a Windows, Mac, or Linux-based PC (we tried this on Windows, but it should be the same on all three).
1. Insert a microSD card/card reader Enter your computer.
2. Download and install Official Raspberry Pi Imager. For Windows, macOS or Linux, this application will download and install the latest Raspberry Pi operating system. There are other ways to do this, namely by downloading a Raspberry Pi OS image file and then using a third-party application to “burn” it, but Imager makes it easier.
3. Click “Select Operating System” and select “Raspberry Pi Operating System” (32 bit) From the operating system menu (there are other options, but for most purposes, 32-bit is best).
4. Click to select SD card And choose the one you are using.
5. Click Write. The application now takes a few minutes to download the operating system and write to your card.
Configure Raspberry Pi operating system
If you are prompted to enter a username and password, the default username is “pi” and the password is “raspberry”. If you are worried about security, you will want to change these. At the first startup, you may see the “Welcome to Raspberry Pi” dialog box to guide you through the process of selecting important settings.
1. Click next In the dialog, then Choose your country, language and keyboard type.
2. Change your default password On the next screen or leave it blank, because it is still “raspberry”.
3. Choose the right Wi-Fi network On the following screen, the premise is that you are connected via Wi-Fi. If you do not have Wi-Fi or are using Ethernet, you can skip this step.
4. Click next When prompted to update the software. This only works when you are connected to the Internet and may take a few minutes. If you are not connected to the Internet, click Skip.
5. Click finish or restart (If prompted to restart).
If you don’t see the “Welcome to Raspberry Pi” dialog box, or you want to change these settings later, you can find the area and password settings and many other options by clicking the Pi icon in the upper left corner.Screen and navigate to Preferences -> Raspberry Pi Configuration. You can configure Wi-Fi by clicking the Wi-Fi/Network icon on the taskbar.
Change the screen resolution on the Raspberry Pi
If you do not have enough desktop space, you may need to change the screen resolution to make sure it matches the capabilities of your monitor.If you are using a headless Pi and access it via VNC, you may still need at least one 720p screen.
To change the Raspberry Pi resolution:
1. Open the screen configuration menu By clicking on the Pi icon and then selecting Preferences -> Screen Configuration.
2. Right click on the HDMI box with Choose your resolution From the resolution menu.
3. Click the check box. The screen resolution will be updated.
4. Click ok If everything seems acceptable. If you don’t do this, the screen will revert to its previous resolution.
What should I do now?
You can do many different things with the Raspberry Pi. Some popular uses include turning your Raspberry Pi into a retro arcade machine, using your Raspberry Pi as a web server or using it as the brain of a robot, security system, or custom iOT device.
For a complete list, see our Raspberry Pi master page, but here are some tutorials to help you get started.