• 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 theInterfacing 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: ESP32-S3 Industrial-Grade IOT RS485 CAN Communicator WiFi Bluetooth SpotPear USB Camera 2MP GC2093 ‌WDR Backlight Compensation‌ Onboard microphone Raspberry Pi Autofocus Camera Industrial Isolated RS485 TO ETH (C) RJ45 Converter Wall/Rail-Mount For Modbus Luckfox Pico Raspberry Pi 5 PCIe to M.2 5G/4G/3G HAT With RM520N-GL Raspberry Pi 10.1 inch DSI LCD TouchScreen Display 800x1280 Also For RK3576/RK3506/ESP32-P4 1.47 inch LCD AXS5106L TouchScreen JD9853 Display 172x320 For Arduino/Raspberry Pi/Pico/ESP32 Arduino 0.96inch RGB OLED Industrial ESP32-S3 Relay 8-Channel 8-Ch ESP32-WROOM IOT WiFi Bluetooth HAT For Arduino Luckfox PicoKVM KVM NanoKVM RV1106 Pico Remote Control /Power /Desktop Maintenance Server HDMI USB For PiKVM Raspberry Pi Raspberry Pi Pico RP2040 1.69 inch TouchScreen Round LCD Display With QMI8658/Buzzer/RTC For Arduino Raspberry Pi Pico 2 RP2350 1.47 inch LCD B Display Development board RP2350A 1.47inch Screen RGB color Raspberry Pi display Jetson Orin Nano UGV Beast PT ROS2 AI OpenCV Robot Car MediaPipe Raspberry Pi 1.54inch LCD Bookworm-Desktop Display and Touch Magnetic Encoder Servo Motor 35KG.CM 24V 360° RS485 High Precision And Large Torque RSBL35-24-HS Luckfox Pico Max ESP32 Thermal imaging