• 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.

So before using Raspberry-Pi-RGB-Cooling-HAT, we need toenable the I2C service of the Raspberry Pi.

Input following command:

sudo raspi-config

Choose【Interfacing 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: spotpear STM32 0.85inch LCD Arduino Thermal imaging camera ESP32-S3 1.28inch Round LCD Display Screen Module Development Board GC9A01A QMI8658A With Case Raspberry Pi 5 TVOC Sensor gas Sensor Expansion board UART High Sensitivity For Arduino /Raspberry Pi /Pico /ESP32 Raspberry Pi LCD Luckfox Pico Max Modbus-Protocol-Specification User Guide Raspberry Pi 4.26 inch e-Paper link (G) RYBW 800x480 For Arduino / Jetson / STM32 /ESP32 Industrial Hybrid relay module RS485 Modbus RTU rail with isolation protection EchoEar ESP32 S3 AI Development Board with 1.85-inch LCD Display Cute Cat Pet Chatting Robot N32R16 xiaozhi AI Character Personality Configuration Tutorial Raspberry Pi 24.5 inch Type C/HDMI 2K Display 24.5inch Screen 2560x1440 Computer PC Phone For Xbox/PS4/Switch OLED-LCD-HAT-A user guide ESP32 C5 Development Board 2.73 inch LCD Display Screen ILI9488 For Dual band WiFi Onborad SD-Port DeepSeek ESP32-S3 Voice Chat Robot espHome XiaoZhi Ball Milk-V RJ45 ESP32-S3 AI Dancing Robot Development Board Chatbot AI Toy Desktop Dance Pet Core1121 LoRa LR1121 HF LF SPI For Sub-GHz and 2.4GHz