Environmental preparation before the development of the Raspberry Pi camera
1. Environmental requirements:
1. Burned the system image of the Raspberry Pi;
2. Opened the SSH service of the Raspberry Pi;
3. The Raspberry Pi board can connect to the network;
4. It is possible to transfer files cross the file system by SSH software;
2. Steps
2.1)Write system image
You need to use Win32DiskImager to write the Raspberry Pi system image.
(Note : This software in the Tools folder)
2.2) Opening SSH service:
Case1: (Suitable for users with display screen)
After the system image is written, you should insert the SD card directly into the Raspberry Pi to run. we need to connect the monitor, mouse and keyboard.
(Note:Official original system image of the Raspberry pi without SSH service, so we need to open this service by ourself.)
①You need to open the command line terminal in the Raspberry Pi system and input:sudo raspi-config ,as shown in the figure below.
②You should choose :5 Interfacing Options,as shown in the figure below.
③You should choose :P2 SSH, as shown in the figure below.
After the above steps, we have opened the SSH service successfully.
Method to start root:
1)You need to input: sudo passwd root
2) You need to input the root password twice
input: sudo passwd --unlock root
You can switch root privileges for development.
You need to input: su
Then you need to input password of root privileges.
Case2: If you don't possess a monitor
You need to connect the SD card to the computer with a card reader and create a new SSH file(without any format) in this disk.
As shown in the figure below.
2.3)Connect to internet
Case 1: (Suitable for users with display screen)
After entering the system, For users who use the screen, you can directly click on the network icon in the upper right corner of the screen to connect to the currently available WIFI(Raspberry Pi 3 Mode B+ can be connected to 5G WIFI). Then, you need to open the command line terminal in the Raspberry Pi system and input:ifconfig to search the IP address of the Raspberry Pi, as shown in the figure below.
(Note:just for example:my IP address of the Raspberry Pi is 192.168.0.119)
Case 2: If you don't possess a monitor
You need to insert the Internet cable into the Raspberry Pi board, and the indicator light of the Raspberry Pi network port will flash. You can get the IP address of the Raspberry Pi by IP SCAN software.
(Note : This software in the Tools folder)
You can double-click to use it.
Then you can remote login into the system with this IP address.
More Raspberry i Night Vision Camera Tutorial:
- Raspberry Pi Night Vision Camera Environmental preparation For Raspberry Pi 3B+
- Raspberry Pi Night Vision Camera Environmental preparation Raspberry Pi 4B
- Raspberry Pi Night Vision Camera Use tutorial For Raspberry Pi 3B+
- WinSCP file transfer between Raspberry Pi and windows
- Raspberry Pi Night Vision Camera Use tutorial Raspberry Pi 4B