• sales

    +86-0755-88291180

Raspberry Pi Install related software and settings User Guide

3.0 Install related software and settings


As the author of WiringPi stopped updating the WiringPi library on August 6, 2019, WiringPi cannot be used in the new 64-bit system of Raspberry Pi, and C files cannot be compiled. 

If you are using the official 64-bit image of the Raspberry Pi, we recommend that you use the python code.


1. The Raspberry Pi opens the I2C settings.

PS: The Raspberry Pi RGB_Cooling_HAT and Raspberry Pi control method is operated by I2C, so we need to enable the Raspberry Pi I2C service.

Input command:

sudo raspi-config

Then, select the【Interfacing Options】


Select 【P5 I2C】 and confirm with “YES”. 





2. 
Install wiringPi 

PS: Raspberry Pi official raspbian system will bring its own wiringPi by default. You can run gpio –v to view the version. If there is, skip this step.

Input command:

cd ~

git clone git://git.drogon.net/wiringPi 

If this command cannot be downloaded, use the following command to download the unofficial wiringPi image:

git clone https://github.com/WiringPi/WiringPi.git

cd WiringPi

sudo ./build

3. Install gcc

PS: Raspberry Pi official raspbian system will bring its own wiringPi by default. You can run gpio –v to view the version. If there is, skip this step.

Input command to install gcc:

sudo apt-get install gcc

4. Oled display drive

Just need to put the three driver files of the oled driver library (ssd1306_i2c.c/ ssd1306_i2c.h/oled_fonts.h) in the same folder as the source code need to be run, and compile with gcc command.

Eg:

gcc -o oled oled.c ssd1306_i2c.c -lwiringPi

./oled

TAG: Screen DeepSeek AI Voice Chat ESP32 S3 Development Board 1.83 inch TouchScreen Display 240x284 Industrial Isolation USB TO RS232/485/422/TTL FT232RNL Serial UART Converter 1.83inch LCD TouchScreen Display 240×280 NV3030B Arduino Raspberry Pi ESP32S3 Pico STM32 Raspberry Pi ZERO Camera Jetson Orin 4G/3G/2G expansion board GNSS GPS SIM7600G-H-M.2 USB Binocular Camera 2MP AR0144 Distortion Free Binocular Synchronous Frame USB 2.0 Plug and Play Raspberry Pi 13.3 inch DSI MIPI Display 13.3inch LCD Capacitive TouchScreen 1920x1080 Magnetic Encoder Servo Motor 85KG.CM 12V/24V 360° RS485 High Precision And Large Torque ESP32 C5 Development Board 1.47 inch LCD Display Screen ST7789 For WiFi6/LVGL/HMI Onborad SD-Port/RGB-LED Luckfox Pico Tutorial Milk-V Duo SP3232EEN ESP32 LVGL Sipeed RISCV LicheeRV Nano Super-Mini SG2002 AI RAM-256MB UGV Beast PT Kit AI OpenCV Robot Car MediaPipe For Jetson Orin User Guide SC09 Serial UART Bus Servo Motor Switchable 2.3kg 300Angle Raspberry-Pi-Game-1.54inch-LCD-touchscreen-display-ST7789 Raspberry-Pi-GPIO-Audio-amplification-PWM-Sound-Card-Speaker-Buzzer