{
    "ok": true,
    "data": {
        "title": "ZP-0138",
        "rev_id": 12991,
        "updated_at": "2023-04-18T07:11:14+00:00",
        "chunk_count": 11,
        "chunks": [
            {
                "title": "ZP-0138",
                "rev_id": 12991,
                "heading_path": "",
                "chunk_index": 0,
                "content": "# ZP-0138",
                "char_count": 9,
                "token_estimate": 3
            },
            {
                "title": "ZP-0138",
                "rev_id": 12991,
                "heading_path": "Aluminum Brick Case",
                "chunk_index": 1,
                "content": "<figure>\n<img src=\"Zp-0138-7.jpg\" title=\"Zp-0138-7.jpg\" width=\"320\" alt=\"Zp-0138-7.jpg\" \/>\n<figcaption aria-hidden=\"true\">Zp-0138-7.jpg<\/figcaption>\n<\/figure>\n\n-   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> \\]",
                "char_count": 329,
                "token_estimate": 83
            },
            {
                "title": "ZP-0138",
                "rev_id": 12991,
                "heading_path": "Descriptions",
                "chunk_index": 2,
                "content": "It is aluminum Brick 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\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\n    NOTE: Raspberry Pi 4B is not included in the package, require additional purchase.",
                "char_count": 593,
                "token_estimate": 149
            },
            {
                "title": "ZP-0138",
                "rev_id": 12991,
                "heading_path": "Features",
                "chunk_index": 3,
                "content": "-   Easy to assemble\n-   Acrylic Top Cover\n-   Ultra-Quiet Cooling Fan\n-   Adjustable Speed (PWM)\n-   Precise Positioning\n-   Beautiful and Stable\n-   Support Raspberry Pi 4 model B Only",
                "char_count": 186,
                "token_estimate": 47
            },
            {
                "title": "ZP-0138",
                "rev_id": 12991,
                "heading_path": "Galley",
                "chunk_index": 4,
                "content": "-   Product Outlook\n\n<img src=\"Zp-0138-7.jpg\" title=\"Zp-0138-7.jpg\" width=\"800\" alt=\"Zp-0138-7.jpg\" \/>\n\\* Features <img src=\"Zp-0138-1new.jpg\" title=\"Zp-0138-1new.jpg\" width=\"800\" alt=\"Zp-0138-1new.jpg\" \/>\n<img src=\"Zp-013822-2.jpg\" title=\"Zp-013822-2.jpg\" width=\"800\" alt=\"Zp-013822-2.jpg\" \/>\n<img src=\"Zp-0138-3.jpg\" title=\"Zp-0138-3.jpg\" width=\"800\" alt=\"Zp-0138-3.jpg\" \/>\n\n-   Cooling System detials\n\n<img src=\"Zp-0138-5.jpg\" title=\"Zp-0138-5.jpg\" width=\"800\" alt=\"Zp-0138-5.jpg\" \/>\n\\* Pinout of Fan connection <img src=\"Zp-0138-6.jpg\" title=\"Zp-0138-6.jpg\" width=\"800\" alt=\"Zp-0138-6.jpg\" \/>\n\\* Dimentions <img src=\"Zp-0138-8.jpg\" title=\"Zp-0138-8.jpg\" width=\"800\" alt=\"Zp-0138-8.jpg\" \/>",
                "char_count": 692,
                "token_estimate": 173
            },
            {
                "title": "ZP-0138",
                "rev_id": 12991,
                "heading_path": "Package Includes",
                "chunk_index": 5,
                "content": "-   1 x Aluminum Brick case\n-   1 x Acrylic Top cover\n-   1 x Aluminum bottom cover\n-   1 x 3510 Ultra-Quiet Cooling Fan\n-   4 x Copper pillar\n-   2 x M2.5 Nut\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",
                "char_count": 328,
                "token_estimate": 82
            },
            {
                "title": "ZP-0138",
                "rev_id": 12991,
                "heading_path": "How to assemble",
                "chunk_index": 6,
                "content": "-   1\\. Fix 3510 Ultra-quiet Cooling Fan as following figure\n-   2\\. Conect fan cable to GPIO Pin:\n\n` ** Connect the red wire from Fan to 5V Pin on Raspberry Pi 4B’s GPIO Pin`\n` ** Connect the black wire from fan to GND Pin on Raspberry Pi 4B’s GPIO Pin`\n` ** Connect the Blue wire from fan to GPIO14 Pin on Raspberry Pi 4B’s GPIO Pin`\n\n-   3\\. Insert Raspberry Pi 4B and 3510 Ultra-Quiet Cooling Fan into the case, and fix it with M2.5 Flat head screws.\n-   4\\. Fix the aluminum bottom cover to case with M2.5 flat head screws.\n-   5\\. Peeling off the protect film from Acrylic Top Cover and fix it with hexagon socket screws.\n-   6\\. Paste the rubber anti-slipper pad on the bottom of the case.\n\n<img src=\"0138安装1.jpg\" title=\"0138安装1.jpg\" width=\"800\" alt=\"0138安装1.jpg\" \/>",
                "char_count": 773,
                "token_estimate": 201
            },
            {
                "title": "ZP-0138",
                "rev_id": 12991,
                "heading_path": "How to configure PWM Fan",
                "chunk_index": 7,
                "content": "We are assume that you are using Raspberry Pi OS (Official).\n\n-   1\\. Press Ctrl+ ALT + T or click terminal Icon to open a terminal and typing: “sudo raspi-config”\n\n<img src=\"0138Step1.png\" title=\"0138Step1.png\" width=\"800\" alt=\"0138Step1.png\" \/>\n\\* 2. Navigate to **4 Performance Options** <img src=\"0138Step2.png\" title=\"0138Step2.png\" width=\"800\" alt=\"0138Step2.png\" \/>\n\\* and navigate to **P4 Fan** and select YES. <img src=\"0138Step3.png\" title=\"0138Step3.png\" width=\"800\" alt=\"0138Step3.png\" \/>\n\\* Keep **14** as default. <img src=\"0138Step4.png\" title=\"0138Step4.png\" width=\"800\" alt=\"0138Step4.png\" \/>\n\\* select yes, input a temperature in degrees should the fan turn on, Recommend setting to **60** degrees. <img src=\"0138Step5.png\" title=\"0138Step5.png\" width=\"800\" alt=\"0138Step5.png\" \/>\n\\* select yes and reboot your Raspberry Pi. <img src=\"0138Step6.png\" title=\"0138Step6.png\" width=\"800\" alt=\"0138Step6.png\" \/>\n<img src=\"0138Step7.png\" title=\"0138Step7.png\" width=\"800\" alt=\"0138Step7.png\" \/>\n<img src=\"0138Step8.png\" title=\"0138Step8.png\" width=\"800\" alt=\"0138Step8.png\" \/>\n\\* If you are using other OS on Raspberry Pi, please refer to how to generate PWM signal in your OS.",
                "char_count": 1189,
                "token_estimate": 298
            },
            {
                "title": "ZP-0138",
                "rev_id": 12991,
                "heading_path": "How to configure PWM Fan > Demo Code",
                "chunk_index": 8,
                "content": "-   Here is a demo code, it will help you to control the fan speed according to the temperature of CPU.\n\n<!-- -->\n\n#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)",
                "char_count": 1112,
                "token_estimate": 278
            },
            {
                "title": "ZP-0138",
                "rev_id": 12991,
                "heading_path": "How to configure PWM Fan > Demo Code",
                "chunk_index": 9,
                "content": "except KeyboardInterrupt:\n        pwm.stop()\n        GPIO.cleanup()\n    print(\"Ctrl + C pressed -- Ending program\")\n\n-   Save it and execute it in a terminal:\n\n<!-- -->\n\npython3 fan_control.py",
                "char_count": 192,
                "token_estimate": 48
            },
            {
                "title": "ZP-0138",
                "rev_id": 12991,
                "heading_path": "Keywords",
                "chunk_index": 10,
                "content": "-   Aluminum breck case for Raspberry Pi 4B, aluminum case for raspberry pi 4B, breck case.",
                "char_count": 91,
                "token_estimate": 23
            }
        ]
    }
}