• 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: Power Manager Module Autofocus Camera Raspberry Pi Pico 2 RP2350 1.47 inch LCD Display Development board RP2350A 1.47inch Screen RGB color $8.5 Raspberry Pi 5inch Display 1024x600 HDMI Capacitive TouchScreen 5 inch LCD B Wide-Cover For Mini PC Spotpear Industrial RS485 Modbus RTU Relay CAN Analyzer Program Raspberry Pi SIM7670G LTE-4G-Cat-1/GNSS/USB-HUB Expansion Board ESP32-P4-ETH RJ45 POE DSI/MIPI 10.1 inch LCD Display Touchscreen/CSI Camera/Audio Speaker AI Deepseek UGV Rover PT AI OpenCV Robot Car MediaPipe For Raspberry Pi Pan-Tilt Kit Code RV1103 IMX477 IR CUT Camera (A) 12.3MP For Jetson Nano/Orin And Raspberry Pi Serial UART Bus Servo ST3215 30KG.CM/19.5KG.CM Magnetic Encoder 360° High Precision And Large Torque ESP32-Hi Mechanical Dog ESP32 C3 Servo AI Voice Chat Development Board Deepseek Industrial Modbus RTU 8 ch Relay Module Robotic Arm Control GC2083