• 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: Raspberry Pi 5 Silver-Shadow Case Industrial Isolated 4CH RS485 TO POE ETH (B) RJ45 Converter UART For Modbus RS485 TO Relay DPI Interface Industrial UART USB TO 8CH RS485 Isolated Converter For 35mm standard rail and stacked installation Pi5 Case ESP32 P4 Development Board 7-inch LCD Display 1024×600 7inch Touchscreen ESP32-C6 WiFi6 AI Deepseek Code USB TO 2.5G Ethernet Port Converter RJ45 RTL8156B Driver-Free For Windows/macOS/Linux/Android SpotPear Raspberry Pi DSI LCD ESP32 C6 Development Board 1.47 inch LCD Touch Screen 1.47inch Display 172×320SD AXS5106L JD9853 Raspberry Pi Mini PC USB Monitor Screen RDK X5 PoE Module For Power Over Ethernet/ IEEE 802.3af/at PoE For D-Robotics RDK X5 ADXL354C Development Board DeepSeek AI Voice Chat ESP32 S3 Development Board 2.06-inch AMOLED Display 410×502 2.06inch TouchScreen Programmable Watch SpotPear ADXL354C Evaluation Board Digital Photo Frames