• 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: Intel 12th MPUUART Raspberry Pi 5 PCIe to ISO 2-CH RS485 /2-CH RS232 / USB /UART / TTL Milk-V Duo S Usage of USB Type A interface CH340 driver XIAO RA4M1 Tiny SuperMini Board For Arduino Uno IDE For SeeedStudio R7FA4M1 ESP32-S3 7inch LCD Display 7 inch TouchScreen 7B 1024×600 N16R8 CAN RS485 Sensor 0.49inch OLED Screen Display 64×32 SSD1315 Arduino Raspberry Pi ESP32 Pico STM32 Jetson Orin 5G/4G/3G expansion board GNSS GPS RM520N-GL Sipeed NanoCluster Mini Cluster Board mini data center For Raspberry Pi CM45 / Computer /LM3H /M4N UGV Rover PT Kit AI OpenCV Robot Car MediaPipe For Jetson Orin Raspberry Pi Secondary Screen Industrial RS485 Modbus RTU Relay RP204 0.85inch LCD Raspberry Pi ESP32 S3 ESP32 P4 Development Board WIFI6 3.4 inch LCD Round Display 3.4inch TouchScreen 800×800 Dual Microphones Jetson Nano Cooler SpotPear RISC-V NVIDIA Jetson Orin Nano Developer Kit Official Original 8GB AI 40Tops For Embedded and Edge Systems