1. Install Raspbot V2 driver library

1. Install Raspbot V2 driver library1.1. Download Python driver library file1.2. Transfer files to Raspberry Pi 51.3. Start installation1.4. Import library files1.5 API Introduction

1.1. Download Python driver library file

The latest version of Raspbot V2 driver library is provided in this course material, named py_install.zip.

The compressed package contains the following files:

Or go to Yahboom official website and click [Python Driver Library] in the download area to download the latest version of the file py_install.zip.

1.2. Transfer files to Raspberry Pi 5

If you use the browser that comes with Raspberry Pi 5 to download files from Yabo Smart Official Website, please download the files to a user-operable path, such as the desktop.

If you use the driver library compressed package file in the data, or download the driver library file using a computer browser, you can use WinSCP software to drag the driver library compressed package file to the Raspberry Pi 5 desktop.

After successful installation, the driver library file can be deleted.

If you don’t know how to use WinSCP to transfer files, you can search online for tutorials on how to use winscp.

1.3. Start installation

Open the terminal of Raspberry Pi 5 and enter the following command to decompress.

Go to the desktop and check whether the file exists. The target file is in the red box

Unzip the file

Note: The entire document example uses the py_install.zip compressed package placed on the Raspberry Pi 5 system desktop as an example. If you store the compressed package in a different path, please enter the corresponding directory according to the actual path.

Enter the folder of the driver library

Run the installation command. If you see the installation version number at the end, it means the installation is successful. This command will overwrite the previously installed Raspbot V2 driver library.

1.4. Import library files

Refer to the following picture to import the driver library. If no error message appears, the installation is successful.

1.5 API Introduction