ZP-0139: Difference between revisions
Jump to navigation
Jump to search
Line 32: | Line 32: | ||
<br style="clear:both;"> | <br style="clear:both;"> | ||
===Dimension=== | ===Dimension=== | ||
[[ File:Zp-0139-6.jpg|left|800px]] | [[File:Zp-0139-6.jpg|left|800px]] | ||
<br style="clear:both;"> | <br style="clear:both;"> | ||
===Package List=== | ===Package List=== | ||
[[ File:Zp-0139-7.jpg|left|800px]] | [[ File:Zp-0139-7.jpg|left|800px]] |
Latest revision as of 16:38, 18 May 2023
Aluminum Case With ICE Tower Cooler For Raspberry Pi 4B
- Purchase URL [ https://52pi.com/products/raspberry-pi-4-model-b-aluminum-brick-case-black-enlosure-shell-with-4010-low-profile-ice-tower-cooling-fan-for-rpi-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
- Features
Dimension
Package List
How to assemble
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”
- 2. Navigate to 4 Performance Options
- and navigate to P4 Fan and select YES.
- Keep 14 as default.
- select yes, input a temperature in degrees should the fan turn on, Recommend setting to 60 degrees.
- select yes and reboot your Raspberry Pi.
- 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.