RPi LCD Datasheets
Raspberry Pi Installation Tutorial
Raspberry Pi official website download address: http://www.raspberrypi.org/downloads (Download the latest Raspbian Raspberry Pi system)
Raspberry Pi official forum address: http://www.raspberrypi.org/phpBB3/
1. Insert the TF card into your computer, format the TF card using software/Panasonic_SDFormatter/SDFormatter.exe in our disc
2. Open software/Win32DiskImager/Win32DiskImager.exe and select the image to flash (the image we have configured is in the IMAGE/ directory of the disc, you can also choose to install the image you downloaded), and click "Write" to flash, and after flashing, insert the TF card into the Raspberry Pi to run.
Login to Raspberry Pi via Serial Port
Open software/putty.exe, log in using the serial terminal, and set in the red boxes as below:
- Serial line: Select the corresponding serial port. The image shows COM3, but the user should follow the actual settings. (You can view it through Device Manager)
- Speed: Set the baud rate to 115200.
- Connection type: Set to Serial
Enter the username: pi and password: raspberry to enter the serial terminal:
Note: The Raspberry Pi's serial port is default for serial terminal debugging. To use the serial port normally (when running serial programs), you need to modify the Raspberry Pi settings. After disabling the serial port terminal debugging feature, you can no longer log in to access the Raspberry Pi via the serial port. You need to use SSH or other methods to control the Raspberry Pi. You need to enable serial port debugging to control the Raspberry Pi via the serial port. For serial terminal settings, please see Libraries Installation for RPi.
Login to Raspberry Pi via SSH
The Raspberry Pi needs to be connected to a network to use SSH login. Set the content of the red box in the following figure:
- Host Name: Select the corresponding IP. The image shows 192.168.1.187, but the user should follow the actual settings.
- Port: Set the port to 22.
- Connection type: Set to SSH
Enter the username: pi and password: raspberry to enter the SSH terminal:
Libraries Installation for RPi
(To run the API demo we provide, you need to install the corresponding libraries)
WiringPi
We have provided an installation package for WiringPi (click here to download), and users can also download it from the WiringPi official website: https://projects.drogon.net/raspberry-pi/wiringpi/download-and-install/
Copy the installation package to your own image system, unzip the file, enter the WiringPi folder, and execute:
chmod 777 build ./build
After installation, enter:
gpio -v
Check if the installation is successful.
Bcm2835 C Library
We have provided an installation package for bcm2835 (click here to download), and users can also download it from the official website: http://www.airspayce.com/mikem/bcm2835/
Copy the installation package to your own image system, unzip the file, enter the bcm2835-1.36 folder, and execute:
./configure make sudo make check sudo make install
The installation is complete.
Python Library
Users can install the Python libraries for the Raspberry Pi via the apt-get command (including the RPi.GPIO package and spidev package, see: https://pypi.python.org/pypi/RPi.GPIO, https://pypi.python.org/pypi/spidev)
Installing the library using the apt-get command requires a Raspberry Pi network. Update software list:
sudo apt-get update
1. Install python-dev
sudo apt-get install python-dev
2. Install RPi.GPIO and GPIO interface library function
Copy the RPi.GPIO installation package to the Raspberry Pi, unzip it, and enter the file to perform the installation with the following command:
sudo python setup.py install
3. Install the smbus library and I2C interface library functions
sudo apt-get install python-smbus
4. Install the serial library and UART interface library functions
sudo apt-get install python-serial
5. Install the spidev library and SPI interface library functions
Copy the spidev installation package to the Raspberry Pi, unzip it and enter the directory where the file is located, and execute the installation command:
sudo python setup.py install







