• 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: ESP32 S3 AI Voice Chat Robot Mini Development Board DeepSeek X1008 Raspberry Pi 5 PCIe to 2.5" 3.5" SATA HDD/SSD Dual Double-SATA (NOT BOOT From SATA/SSD Intel BE200 Wireless WLAN Card Gigabit Tri-Band WiFi7 Bluetooth 5.4 M.2 MU-MIMO IEEE 802.11 JLINK OB Raspberry Pi Pico 2 RP2350B 1.46 inch Round LCD Touch Display 412x412 HMI LVGL QMI8658 6-axis 65K Colors E-Paper Milk-V Duo S Usage of USB Type A interface spotpear ESP32-S3 AI Electronic Eye Development Doard DualEye TouchEye 1.28 inch TouchScreen LCD Round Display N16R8 Toy Doll Robot Raspberry Pi PICO LoRa Raspberry Pi Game Argon SpotPear Install Espressif IDF Plugin Tutorial User Guide ESP32-C6 Development Board Raspberry Pi 5 Fan ESP32 3.5 inch Capacitive TouchScreen LCD Display ST7796 FT6336 320x480 For Arduino/Raspberry Pi/Pico Raspberry Pi 5 ABS Case LuckFox Raspberry Pi RP2040 LoRa