• sales

    +86-0755-88291180

Libraries Installation for RPi User Guide

Open the terminal of Raspberry Pi and install libraries as guides below

Install WiringPi Library

cd
sudo apt-get install wiringpi
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
gpio -v

Install C Library bcm2835

cd
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.60.tar.gz
tar zxvf bcm2835-1.60.tar.gz 
cd bcm2835-1.60/
sudo ./configure
sudo make && sudo make check && sudo make install

For more information and the newest libraries please refer to website:http://www.airspayce.com/mikem/bcm2835/

Install Python Library

For python2
cd
sudo apt-get update
sudo apt-get install python-pip
sudo pip install RPi.GPIO
For python3
cd
sudo apt-get update
sudo apt-get install python3-pip
sudo pip install RPi.GPIO

TAG: Raspberry Pi USB Camera 12MP IMX378 30fps onboard dual microphones Also For Jeston / RDK ESP32 S3 Development Board 2.8 inch B LCD 2.8inch Display 480x640 TouchScreen QMI8658 Sensor / Battery Port LVGL/HMI For Arduino USB to CAN LuckFox SC3336 SpotPear ESP32-S3 1.28inch Round LCD Display Screen Module Development Board GC9A01A QMI8658A With Case Intel 12th SIM8260G M2 3G/4G/5G/GNSS/GPS Sub-6G PCIe M.2 Moudle For LTE-A/NSA/SA For DFOTA /VoLTE For SIMCOM EchoEar 1.85 inch Round TouchScreen 1.85inch QSPI LCD 360*360 CST816T ST77916 Raspberry Pi RTC WatchDog ISX031C GMSL Camera H100 Image Sensor IP67 protection rating For Jetson Orin And MAX9296 GMSL camera development board Raspberry Pi Pico 2 RP2350 2 inch LCD Capacitive TouchScreen Development Board 240x320 Display QMI8658 6-Axis /OV5640 Camera /SD /Battery Port ESP32 Portable Pendant Raspberry Pi 5 PCIe to 2-CH PCIe FFC Dual PCIe HAT Board Pi5 Double JETSON NANO Raspberry Pi 5 inch LCD 720x1280 Capacitive TouchScreen Display HDMI For Jetson Nano/mini Computer PC Raspberry Pi Pico 2 RP2350 1.69 inch LCD TouchScreen Development Board 240x280 1.69inch Display QMI8658 6-Axis Raspberry Pi 5 PCIe to 4 Port 2.5G Gigabit Ethernet Adapter RJ45 Ports Milk V Duo UART