ZP-0139

From 52Pi Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Aluminum Case With ICE Tower Cooler For Raspberry Pi 4B

Descritions

It is aluminum case with ICE tower cooler for Raspberry Pi 4 model B ONLY. It can protect the Raspberry Pi well and dissipate heat well through adjustable-speed fan. We strongly recommend using the official Raspberry Pi operating system, which can directly configure the fan to adjust the speed according to the CPU temperature through the raspi-config command.

Other operating systems may require you to write software yourself and send PWM signals to the fan through GPIO pins to control fan’s speed.

Features

  • Easy to assemble
  • Acrylic Top Cover
  • ICE Tower Cooler
  • Adjustable Speed Fan
  • Precise Positioning
  • Beautiful and Stable
  • For Raspberry Pi 4 model B Only

Gallery

  • Product Outlook
ZP-0139主图.jpg


  • Features
Zp-0139-1.jpg


Zp-0139-2.jpg


Zp-0139-3.jpg


Zp-0139-4.jpg


Zp-0139-5.jpg


Dimension

Zp-0139-6.jpg


Package List

Zp-0139-7.jpg


How to assemble

Zp-0139-安装1.jpg


Zp-0139-安装2.jpg


Package Includes

  • 1 x Aluminum case
  • 1 x Acrylic Top cover
  • 1 x Aluminum bottom cover
  • 1 x ICE Tower cooler
  • 2 x ICE Tower bracket
  • 4 x Copper pillar
  • 2 x M2.5 screws for ICE tower brackets
  • 4 x M2.5 Flat head screw
  • 2 x Thermal Pad
  • 1 x hex wrench
  • 4 x Hexagon socket head screw for Top cover
  • 2 x Rubber anti-slipper pad
  • 1 x Instructions

How to assemble

  • 1. Fix the bracket of ICE Tower Cooler as following figure
  • 2. After peeling off the protect films on Thermal pad, Paste Thermal pad on Raspberry Pi 4B’s CPU and fix the ICE Tower Cooler with copper pillars.
  • 3. Connect fan cable from ice tower cooler to Raspberry Pi on GPIO Pins.
    • Connect the red wire from Fan to 5V Pin on Raspberry Pi 4B’s GPIO Pin
    • Connect the black wire from fan to GND Pin on Raspberry Pi 4B’s GPIO Pin
    • Connect the Blue wire from fan to GPIO14 Pin on Raspberry Pi 4B’s GPIO Pin.
  • 4. Insert Raspberry Pi 4B and ICE Tower Cooler into the case.
  • 5. Peeling off the protect film from Acrylic Top Cover and fix it with hexagon socket screws.
  • 6. Paste the rubber anti-slipper pad on the bottom of the case.

How to configure PWM Fan

We are assume that you are using Raspberry Pi OS (Official).
  • 1. Press Ctrl+ ALT + T or click terminal Icon to open a terminal and typing: “sudo raspi-config”
0138Step1.png


  • 2. Navigate to 4 Performance Options
0138Step2.png


  • and navigate to P4 Fan and select YES.
0138Step3.png


  • Keep 14 as default.
0138Step4.png


  • select yes, input a temperature in degrees should the fan turn on, Recommend setting to 60 degrees.
0138Step5.png


  • select yes and reboot your Raspberry Pi.
0138Step6.png


0138Step7.png


0138Step8.png


  • If you are using other OS on Raspberry Pi, please refer to how to generate PWM signal in your OS.

Demo Code

  • Here is a demo code, it will help you to control the fan speed according to the temperature of CPU.
#File Name: fan_control.py
#!/usr/bin/python3

import RPi.GPIO as GPIO
import time
import subprocess

GPIO.setmode(GPIO.BCM)
GPIO.setwarnings(False)
GPIO.setup(14, GPIO.OUT)
pwm = GPIO.PWM(14,100)

print("\nPress Ctrl+C to quit \n")
dc = 0
pwm.start(dc)

try:
    while True:
        temp = subprocess.getoutput("vcgencmd measure_temp|sed 's/[^0-9.]//g'")
        if round(float(temp)) >= 45:
            dc = 100
            pwm.ChangeDutyCycle(dc)
            print("CPU Temp:",float(temp)," Fan duty cycle:",dc)
            time.sleep(180.0)
        if round(float(temp)) >= 40:
            dc = 85
            pwm.ChangeDutyCycle(dc)
            print("CPU Temp:",float(temp)," Fan duty cycle:",dc)
            time.sleep(120.0)
        else:
            dc = 70
            pwm.ChangeDutyCycle(dc)
            print("CPU Temp:",float(temp)," Fan duty cycle:",dc)
            time.sleep(60.00)

except KeyboardInterrupt:
    pwm.stop()
    GPIO.cleanup()
print("Ctrl + C pressed -- Ending program")
  • Save it and execute it in a terminal:
python3 fan_control.py

Keywords

  • Aluminum Breck case with Ice Tower Cooler for Raspberry Pi 4B, ICE tower cooler case, Raspberry Pi 4B aluminum case.