• sales

    +86-0755-88291180

Raspberry Pi ------ 4.0 Python software installation User Guide

1.Start up Raspberry Pi I2C function

Input following command:

sudo apt-get install -y python-smbus i2c-tools

PS: The communication method of the Raspberry-Pi-RGB-Cooling-HAT and the Raspberry Pi is operated through I2C.

Sbefore using Raspberry-Pi-RGB-Cooling-HATwe need toenable the I2C service of the Raspberry Pi.

Input following command:

sudo raspi-config

ChooseInterfacing Options.

Choose【I2C---YES.




2.Install Adafruit-SSD1306 library

Adafruit-SSD1306 is a Python OLED library that can be used for screens controlled by 128×64 and 128×32 pixel SSD1306 chips.

Input following command to install it.

sudo python -m pip install --upgrade pip setuptools wheel

Input following command to install it.

sudo pip install Adafruit-SSD1306

Note: After testing the fan control and RGB light control procedures in 3B/3B+, the official mirror control for 2019 is abnormal.

If you are a 3B/3B+ user, It is recommended that use the latest official image to configure.

TAG: STM32 1.54inch OLED X1008 Raspberry Pi 5 PCIe to 2.5" 3.5" SATA HDD/SSD Dual Double-SATA (NOT BOOT From SATA/SSD RS485 Bus Windows Environment User Guide Camera Bus Servo Adapter A ESP32 S3 Raspberry Pi 5/4B not boot To update BootLoader EEPROM Tutorial Raspberry Pi 5 TTL ADXL355BEZ Raspberry Pi 8inch LCD 768x1024 Capacitive TouchScreen HDMI Display Raspberry Pi 5 27W Power EyeLink-RC-S1 Industrial Edition 5.5 inch Touchscreen Camera R1M Card Recording Flight Controller FPV Drone ground station image transmission remote Raspberry Pi Pico 2 RP2350 1.28 inch Round LCD Development Board 240x240 Display Screen QMI8658 6-Axis ESP32-P4 DEV-KIT C6 WiFi6 MIPI DSI 7/10.1 inch Display/CSI Camera/Audio Speaker For AI Deepseek Raspberry Pi 5 RTC spotpear Spotpear Accelerometer 1.28 inch Round Rotary LCD Smart Screen 1.28inch Knob Display 240x240 Option Touch/No-Touch