ZP-0141: Difference between revisions
Line 11: | Line 11: | ||
<br> | <br> | ||
<font color=red> | <font color=red> | ||
NOTE: Raspberry Pi 4B and M.2 SATA SSD drive are not included in the package, require additional purchase. Please pay attention to the type of your SSD drive, it must be M.2 SATA SSD 2280, The adapter board does not support NVME | NOTE: Raspberry Pi 4B and M.2 SATA SSD drive are not included in the package, require additional purchase. Please pay attention to the type of your SSD drive, it must be M.2 SATA SSD 2280, The adapter board does not support NVME SSD. | ||
</font> | </font> | ||
[[File:SupportSSDinfo.jpg|left|800px]] | |||
<br style="clear:both;"> | |||
==Features== | ==Features== | ||
* Easy to assemble | * Easy to assemble |
Latest revision as of 15:21, 10 March 2023
Aluminum NAS Case with Low-Profile ICE Tower Cooler
Descriptions
It is aluminum NAS Case which is supporting Raspberry Pi 4 model B ONLY. It can protect the Raspberry Pi well and dissipate heat well through adjustable-speed fan.
At the same time, there is a M.2 SATA SSD adapter board inside the package, you can build your own NAS device by using this adapter board and M.2 SATA SSD.
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.
NOTE: Raspberry Pi 4B and M.2 SATA SSD drive are not included in the package, require additional purchase. Please pay attention to the type of your SSD drive, it must be M.2 SATA SSD 2280, The adapter board does not support NVME SSD.
Features
- Easy to assemble
- Acrylic Top Cover
- ICE Tower Cooler
- Adjustable Speed Fan
- Precise Positioning
- Support M.2 SATA SSD B Key 2280 Only
- Support Raspberry Pi 4 model B Only
Gallery
- Product outlook
- Easy to insert and remove TF card
- Easy to access to all ports
- Dimensions
- Good Heat dissipation
- Material details
Package Includes
- 1 x Aluminum case
- 1 x Acrylic Top cover
- 1 x Aluminum bottom cover
- 1 x 52Pi Mini M.2 SATA SSD Adapter board
- 1 x USB adapter for SSD adapter board
- 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. Fix M.2 SATA SSD drive to adapter board with the screw onboard, please insert your SSD drive in 45° degree angle.Insert Raspberry Pi 4B and ICE Tower Cooler and adapter board into the case, and fix it with M2.5 Flat head screws. Then insert the USB adapter to USB port and adapter board.Peeling off the protect film from Acrylic Top Cover and fix it with hexagon socket screws.Paste the rubber anti-slipper pad on the bottom of the case.
How to configure PWM fan
We are assuming that you are using Raspberry Pi OS (Official). 1. Press `Ctrl+T` or click terminal Icon to open a terminal and typing: “sudo raspi-config”
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.
Here is a demo code, it will help you to control the fan speed according to the temperature of CPU.
Demo code
#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
How to initialize SSD drive?
1. Check if SSD drive has been recognized by Raspberry Pi. Turn on your Raspberry Pi, we assume that you are using Raspberry Pi official OS, open a terminal and typing:
lsblk
you will see there is a disk named : sda
2. Make partition and format partition to ext4 File system.
typing:
sudo fdisk /dev/sda
Typing: “n” and press enter, and then typing: “p” press enter, typing: “1” and then press enter twice, and typing: “w” to save the partition table.
format the partition to ext4 file system:
sudo mkfs.ext4 /dev/sda1
3. Mount the file system and configure /etc/fstab to auto-mount the device
Create a directory and mount the device to the directory
mkdir ~/mydata sudo mount -t ext4 /dev/sda1 /home/pi/mydata sudo chmod 777 /home/pi/mydata df -Th
Edit /etc/fstab file. Please edit this file carefully, wrong configure will cause the system booting failure.
adding following line: /dev/sda1 /home/pi/mydata ext4 defaults,noatime 0 0
save it and reboot your Pi.
4. Install samba software and configure it as NAS Server.
Modify /etc/samba/smb.conf file and adding your own share parameter:
save and restart the service. also enable smbd.service and nmbd.service too.
sudo systemctl enable smbd.service sudo systemctl enable nmbd.service sudo systemctl restart smbd.service nmbd.service
Access from your laptop or windows PC.
Press windows icon + R and typing the IP address of your Raspberry Pi.
you will access your own NAS service, you can upload and download pictures, music, movies and so on!
Enjoy your own NAS device share your stuff with your friends or family in your local network(LAN).
Tech -Support
If you have any question about this product, please kindly contact with us: admin@52pi.com
Keywords
- Aluminum NAS Case with low-profile ICE Tower cooler, NAS Case, Raspberry Pi 4B case.