{
    "ok": true,
    "data": {
        "title": "ZP-0141",
        "rev_id": 12808,
        "updated_at": "2023-03-10T07:21:10+00:00",
        "chunk_count": 14,
        "chunks": [
            {
                "title": "ZP-0141",
                "rev_id": 12808,
                "heading_path": "",
                "chunk_index": 0,
                "content": "# ZP-0141",
                "char_count": 9,
                "token_estimate": 3
            },
            {
                "title": "ZP-0141",
                "rev_id": 12808,
                "heading_path": "Aluminum NAS Case with Low-Profile ICE Tower Cooler",
                "chunk_index": 1,
                "content": "<figure>\n<img src=\"ZP-0141主图.jpg\" title=\"ZP-0141主图.jpg\" width=\"320\" alt=\"ZP-0141主图.jpg\" \/>\n<figcaption aria-hidden=\"true\">ZP-0141主图.jpg<\/figcaption>\n<\/figure>",
                "char_count": 158,
                "token_estimate": 50
            },
            {
                "title": "ZP-0141",
                "rev_id": 12808,
                "heading_path": "Descriptions",
                "chunk_index": 2,
                "content": "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.\n\nAt 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.\n\nWe 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.\n\nOther operating systems may require you to write software yourself and send PWM signals to the fan through GPIO pins to control fan’s speed.\n 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.  <img src=\"SupportSSDinfo.jpg\" title=\"SupportSSDinfo.jpg\" width=\"800\" alt=\"SupportSSDinfo.jpg\" \/>",
                "char_count": 992,
                "token_estimate": 248
            },
            {
                "title": "ZP-0141",
                "rev_id": 12808,
                "heading_path": "Features",
                "chunk_index": 3,
                "content": "-   Easy to assemble\n-   Acrylic Top Cover\n-   ICE Tower Cooler\n-   Adjustable Speed Fan\n-   Precise Positioning\n-   Support M.2 SATA SSD B Key 2280 Only\n-   Support Raspberry Pi 4 model B Only",
                "char_count": 193,
                "token_estimate": 49
            },
            {
                "title": "ZP-0141",
                "rev_id": 12808,
                "heading_path": "Gallery",
                "chunk_index": 4,
                "content": "-   Product outlook\n\n[left\\|800px](File:ZP-0141-3.jpg \"wikilink\")\n\\* Easy to insert and remove TF card <img src=\"ZP-0141-4.jpg\" title=\"ZP-0141-4.jpg\" width=\"800\" alt=\"ZP-0141-4.jpg\" \/>\n\\* Easy to access to all ports <img src=\"ZP-0141-2.jpg\" title=\"ZP-0141-2.jpg\" width=\"800\" alt=\"ZP-0141-2.jpg\" \/>\n\\* Dimensions [left\\|800px](File:ZP-0141-5.jpg \"wikilink\")\n\\* Good Heat dissipation <img src=\"ZP-0141-1.jpg\" title=\"ZP-0141-1.jpg\" width=\"800\" alt=\"ZP-0141-1.jpg\" \/>\n\\* Material details [left\\|800px](File:ZP-0141-6.jpg \"wikilink\")",
                "char_count": 528,
                "token_estimate": 132
            },
            {
                "title": "ZP-0141",
                "rev_id": 12808,
                "heading_path": "Package Includes",
                "chunk_index": 5,
                "content": "-   1 x Aluminum case\n-   1 x Acrylic Top cover\n-   1 x Aluminum bottom cover\n-   1 x 52Pi Mini M.2 SATA SSD Adapter board\n-   1 x USB adapter for SSD adapter board\n-   1 x ICE Tower cooler\n-   2 x ICE Tower bracket\n-   4 x Copper pillar\n-   2 x M2.5 screws for ICE tower brackets\n-   4 x M2.5 Flat head screw\n-   2 x Thermal Pad\n-   1 x hex wrench\n-   4 x Hexagon socket head screw for Top cover\n-   2 x Rubber anti-slipper pad\n-   1 x Instructions\n\n<img src=\"ZP-0141-清单.jpg\" title=\"ZP-0141-清单.jpg\" width=\"800\" alt=\"ZP-0141-清单.jpg\" \/>",
                "char_count": 535,
                "token_estimate": 142
            },
            {
                "title": "ZP-0141",
                "rev_id": 12808,
                "heading_path": "How to assemble",
                "chunk_index": 6,
                "content": "-   1\\. Fix the bracket of ICE Tower Cooler as following figure:\n\n[left\\|800px](File:ZP-0141-安装1.jpg \"wikilink\")\n\\* 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. <img src=\"ZP-0141-安装2.jpg\" title=\"ZP-0141-安装2.jpg\" width=\"800\" alt=\"ZP-0141-安装2.jpg\" \/>",
                "char_count": 644,
                "token_estimate": 171
            },
            {
                "title": "ZP-0141",
                "rev_id": 12808,
                "heading_path": "How to configure PWM fan",
                "chunk_index": 7,
                "content": "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” [left\\|800px](File:0138Step1.png \"wikilink\")\nNavigate to 4 Performance Options [left\\|800px](File:0138Step2.png \"wikilink\")\nand navigate to P4 Fan and select YES. [left\\|800px](File:0138Step3.png \"wikilink\")\nKeep 14 as default. [left\\|800px](File:0138Step4.png \"wikilink\")\nselect yes, input a temperature in degrees should the fan turn on, Recommend setting to 60 degrees. [left\\|800px](File:0138Step5.png \"wikilink\")\nselect yes and reboot your Raspberry Pi. [left\\|800px](File:0138Step6.png \"wikilink\")\n[left\\|800px](File:0138Step7.png \"wikilink\")\n[left\\|800px](File:0138Step8.png \"wikilink\")\nIf 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.",
                "char_count": 948,
                "token_estimate": 237
            },
            {
                "title": "ZP-0141",
                "rev_id": 12808,
                "heading_path": "How to configure PWM fan > Demo code",
                "chunk_index": 8,
                "content": "#File Name: fan_control.py\n    #!\/usr\/bin\/python3\n\nimport RPi.GPIO as GPIO\n    import time\n    import subprocess\n\nGPIO.setmode(GPIO.BCM)\n    GPIO.setwarnings(False)\n    GPIO.setup(14, GPIO.OUT)\n    pwm = GPIO.PWM(14,100)\n\nprint(\"\\nPress Ctrl+C to quit \\n\")\n    dc = 0\n    pwm.start(dc)\n\ntry:\n        while True:\n            temp = subprocess.getoutput(\"vcgencmd measure_temp|sed 's\/[^0-9.]\/\/g'\")\n            if round(float(temp)) >= 45:\n                dc = 100\n                pwm.ChangeDutyCycle(dc)\n                print(\"CPU Temp:\",float(temp),\" Fan duty cycle:\",dc)\n                time.sleep(180.0)\n            if round(float(temp)) >= 40:\n                dc = 85\n                pwm.ChangeDutyCycle(dc)\n                print(\"CPU Temp:\",float(temp),\" Fan duty cycle:\",dc)\n                time.sleep(120.0)\n            else:\n                dc = 70\n                pwm.ChangeDutyCycle(dc)\n                print(\"CPU Temp:\",float(temp),\" Fan duty cycle:\",dc)\n                time.sleep(60.00)\n\nexcept KeyboardInterrupt:\n        pwm.stop()\n        GPIO.cleanup()\n    print(\"Ctrl + C pressed -- Ending program\")\n\nsave it and execute it in a terminal:\n    python3 fan_control.py",
                "char_count": 1180,
                "token_estimate": 295
            },
            {
                "title": "ZP-0141",
                "rev_id": 12808,
                "heading_path": "How to initialize SSD drive?",
                "chunk_index": 9,
                "content": "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:\n\nlsblk\n\n<img src=\"Ssd1.png\" title=\"Ssd1.png\" width=\"800\" alt=\"Ssd1.png\" \/>\nyou will see there is a disk named : sda 2. Make partition and format partition to ext4 File system. typing:\n\nsudo fdisk \/dev\/sda\n\n<img src=\"Ssd2.png\" title=\"Ssd2.png\" width=\"800\" alt=\"Ssd2.png\" \/>\nTyping: “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. <img src=\"Ssd3.png\" title=\"Ssd3.png\" width=\"800\" alt=\"Ssd3.png\" \/>\nformat the partition to ext4 file system:\n\nsudo mkfs.ext4 \/dev\/sda1\n\n<img src=\"Ssd4.png\" title=\"Ssd4.png\" width=\"800\" alt=\"Ssd4.png\" \/>\n3. Mount the file system and configure \/etc\/fstab to auto-mount the device Create a directory and mount the device to the directory\n\nmkdir ~\/mydata\n    sudo mount -t ext4 \/dev\/sda1 \/home\/pi\/mydata\n    sudo chmod 777 \/home\/pi\/mydata\n    df -Th",
                "char_count": 1036,
                "token_estimate": 259
            },
            {
                "title": "ZP-0141",
                "rev_id": 12808,
                "heading_path": "How to initialize SSD drive?",
                "chunk_index": 10,
                "content": "<img src=\"Ssd5.png\" title=\"Ssd5.png\" width=\"800\" alt=\"Ssd5.png\" \/>\nEdit \/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. <img src=\"Ssd6.png\" title=\"Ssd6.png\" width=\"800\" alt=\"Ssd6.png\" \/>\n4. Install samba software and configure it as NAS Server. <img src=\"Ssd7.png\" title=\"Ssd7.png\" width=\"800\" alt=\"Ssd7.png\" \/>\nModify \/etc\/samba\/smb.conf file and adding your own share parameter: <img src=\"Ssd8.png\" title=\"Ssd8.png\" width=\"800\" alt=\"Ssd8.png\" \/>\n<img src=\"Ssd9.png\" title=\"Ssd9.png\" width=\"800\" alt=\"Ssd9.png\" \/>\nsave and restart the service. also enable smbd.service and nmbd.service too.\n\nsudo systemctl enable smbd.service\n    sudo systemctl enable nmbd.service\n    sudo systemctl restart smbd.service nmbd.service",
                "char_count": 880,
                "token_estimate": 220
            },
            {
                "title": "ZP-0141",
                "rev_id": 12808,
                "heading_path": "How to initialize SSD drive?",
                "chunk_index": 11,
                "content": "<img src=\"Ssd10.png\" title=\"Ssd10.png\" width=\"800\" alt=\"Ssd10.png\" \/>\nAccess from your laptop or windows PC. Press windows icon + R and typing the IP address of your Raspberry Pi. <img src=\"Ssd11.png\" title=\"Ssd11.png\" width=\"800\" alt=\"Ssd11.png\" \/>\n<img src=\"Ssd12.png\" title=\"Ssd12.png\" width=\"800\" alt=\"Ssd12.png\" \/>\nyou 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).",
                "char_count": 519,
                "token_estimate": 130
            },
            {
                "title": "ZP-0141",
                "rev_id": 12808,
                "heading_path": "Tech -Support",
                "chunk_index": 12,
                "content": "If you have any question about this product, please kindly contact with us: admin@52pi.com",
                "char_count": 90,
                "token_estimate": 23
            },
            {
                "title": "ZP-0141",
                "rev_id": 12808,
                "heading_path": "Keywords",
                "chunk_index": 13,
                "content": "-   Aluminum NAS Case with low-profile ICE Tower cooler, NAS Case, Raspberry Pi 4B case.",
                "char_count": 88,
                "token_estimate": 22
            }
        ]
    }
}