{
    "ok": true,
    "data": {
        "title": "ZP-0112",
        "rev_id": 12948,
        "updated_at": "2023-04-18T06:39:15+00:00",
        "chunk_count": 13,
        "chunks": [
            {
                "title": "ZP-0112",
                "rev_id": 12948,
                "heading_path": "",
                "chunk_index": 0,
                "content": "# ZP-0112",
                "char_count": 9,
                "token_estimate": 3
            },
            {
                "title": "ZP-0112",
                "rev_id": 12948,
                "heading_path": "Aluminum Alloy CNC Heat Sink with Fan for Raspberry Pi CM4 Module",
                "chunk_index": 1,
                "content": "<figure>\n<img src=\"ZP-0112-1（2）.jpg\" title=\"ZP-0112-1（2）.jpg\" width=\"320\" alt=\"ZP-0112-1（2）.jpg\" \/>\n<figcaption aria-hidden=\"true\">ZP-0112-1（2）.jpg<\/figcaption>\n<\/figure>\n\n-   Purchase URL \\[ <https:\/\/52pi.com\/products\/52pi-cnc-heatsink-with-pwm-fan-for-raspberry-pi-cm4-module> \\]",
                "char_count": 281,
                "token_estimate": 71
            },
            {
                "title": "ZP-0112",
                "rev_id": 12948,
                "heading_path": "Description",
                "chunk_index": 2,
                "content": "This is an aluminum alloy heat sink, which is only suitable for Raspberry Pi computer modules.\nIt adopts passive heat dissipation and has good heat dissipation performance.\nActive fan cooling mode, faster cooling.",
                "char_count": 213,
                "token_estimate": 54
            },
            {
                "title": "ZP-0112",
                "rev_id": 12948,
                "heading_path": "Features",
                "chunk_index": 3,
                "content": "-   Easy to install\n-   CNC machining\n-   Accurate matching of heat dissipation contact surface\n-   Good heat dissipation\n-   Adjustable speed fan",
                "char_count": 146,
                "token_estimate": 37
            },
            {
                "title": "ZP-0112",
                "rev_id": 12948,
                "heading_path": "Gallery",
                "chunk_index": 4,
                "content": "-   Product Outlook\n\n|                                                                                                  |                                                                                   |\n|--------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| <figure>\n <img src=\"ZP-0112-1（2）.jpg\" title=\"ZP-0112-1（2）.jpg\" width=\"500\" alt=\"ZP-0112-1（2）.jpg\" \/>\n <figcaption aria-hidden=\"true\">ZP-0112-1（2）.jpg<\/figcaption>\n <\/figure>                                                                                         | <figure>\n                                                                                                    <img src=\"ZP-0112-1.jpg\" title=\"ZP-0112-1.jpg\" width=\"500\" alt=\"ZP-0112-1.jpg\" \/>\n                                                                                                    <figcaption aria-hidden=\"true\">ZP-0112-1.jpg<\/figcaption>\n                                                                                                    <\/figure>                                                                          |",
                "char_count": 1190,
                "token_estimate": 298
            },
            {
                "title": "ZP-0112",
                "rev_id": 12948,
                "heading_path": "Gallery",
                "chunk_index": 5,
                "content": "-   Dimension of Product\n\n<img src=\"ZP-0112-4-01_(2).jpg\" title=\"ZP-0112-4-01_(2).jpg\" width=\"500\" alt=\"ZP-0112-4-01_(2).jpg\" \/>\n\\* The overall appearance and interface information after connecting with the IO board\n\nNote: The Raspberry Pi CM4 Module and IO board is not included in product.\n\n<img src=\"ZP-0112-3.jpg\" title=\"ZP-0112-3.jpg\" width=\"500\" alt=\"ZP-0112-3.jpg\" \/>\n\\* Pin Definitions <img src=\"ZP-0112-8.jpg\" title=\"ZP-0112-8.jpg\" width=\"500\" alt=\"ZP-0112-8.jpg\" \/>\n\\* How to connect fan [left\\|500px](File:Zp0112howtowire.jpg \"wikilink\")",
                "char_count": 548,
                "token_estimate": 137
            },
            {
                "title": "ZP-0112",
                "rev_id": 12948,
                "heading_path": "Package Includes",
                "chunk_index": 6,
                "content": "-   1 x Aluminum Alloy CNC Heat Sink with Fan for Raspberry Pi CM4 Module\n-   1 x Screw Driver\n-   4 x M2.5 Screw\n-   4 x M2.5 Nuts\n-   4 x Thermal Pad\n\n<img src=\"ZP-0112-2.jpg\" title=\"ZP-0112-2.jpg\" width=\"500\" alt=\"ZP-0112-2.jpg\" \/>",
                "char_count": 234,
                "token_estimate": 59
            },
            {
                "title": "ZP-0112",
                "rev_id": 12948,
                "heading_path": "How to Assemble",
                "chunk_index": 7,
                "content": "-   Paste thermal pad to CM4 module(RPi)\n-   Fix heat sink as following pictures\n-   Snap the CM4 module into the IO board\n-   Connect Red wire to 5V on GPIO Pin\n-   Connect Black wire to GND on GPIO Pin\n-   Connect Blue wire to GPIO14 (TXD) on GPIO Pin (Similar with Raspberry Pi 4B GPIO PINOUT)\n\nNOTE: Please beware of the direciton of the screws and nuts",
                "char_count": 357,
                "token_estimate": 90
            },
            {
                "title": "ZP-0112",
                "rev_id": 12948,
                "heading_path": "How to Assemble",
                "chunk_index": 8,
                "content": "|                                                                                               |                                                                                   |                                                                                   |\n|-----------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| <figure>\n <img src=\"ZP-0112-5_(2).jpg\" title=\"ZP-0112-5_(2).jpg\" width=\"320\" alt=\"ZP-0112-5_(2).jpg\" \/>\n <figcaption aria-hidden=\"true\">ZP-0112-5_(2).jpg<\/figcaption>\n <\/figure>                                                                                      | <figure>\n                                                                                                 <img src=\"ZP-0112-6.jpg\" title=\"ZP-0112-6.jpg\" width=\"320\" alt=\"ZP-0112-6.jpg\" \/>\n                                                                                                 <figcaption aria-hidden=\"true\">ZP-0112-6.jpg<\/figcaption>",
                "char_count": 1141,
                "token_estimate": 286
            },
            {
                "title": "ZP-0112",
                "rev_id": 12948,
                "heading_path": "How to Assemble",
                "chunk_index": 9,
                "content": "<\/figure>                                                                          | <figure>\n                                                                                                                                                                                     <img src=\"ZP-0112-3.jpg\" title=\"ZP-0112-3.jpg\" width=\"320\" alt=\"ZP-0112-3.jpg\" \/>\n                                                                                                                                                                                     <figcaption aria-hidden=\"true\">ZP-0112-3.jpg<\/figcaption>\n                                                                                                                                                                                     <\/figure>                                                                          |",
                "char_count": 861,
                "token_estimate": 216
            },
            {
                "title": "ZP-0112",
                "rev_id": 12948,
                "heading_path": "How to enable auto adjustable fan",
                "chunk_index": 10,
                "content": "-   Turn on Raspberry Pi and login.\n-   Open a terminal and typing:\n\n<!-- -->\n\n    sudo raspi-config\n\n-   Navigate to <b>4 Performance Options<\/b> -\\> <b>P4 Fan <\/b> and select <b>YES<\/b>-\\> Input or keep it as <b>14<\/b>-\\><b>OK<\/b>-\\>input temperature in degrees should the fan turn on, for example: I'd like turn on the fan when the temperature reached to 65 degrees, input 65 and press Enter.",
                "char_count": 395,
                "token_estimate": 99
            },
            {
                "title": "ZP-0112",
                "rev_id": 12948,
                "heading_path": "How to enable it via Programming",
                "chunk_index": 11,
                "content": "-   Make sure RPi.GPIO library has been installed.\n\n<!-- -->\n\n      pip freeze |grep RPi.GPIO\n\nIf feedback is:\n\n    RPi.GPIO==0.7.0\n\nmeans library is OK.\n\n-   Open a terminal and create a file named: pwm-fan-control.py\n-   Copy and paste following code into the file and save it.\n\n<!-- -->\n\n    import RPi.GPIO as GPIO\n    import time\n    import subprocess\n\n    GPIO.setmode(GPIO.BCM)\n    GPIO.setup(14, GPIO.OUT)\n    pwm = GPIO.PWM(14,100)\n\n    print(\"\\nPress Ctrl+C to quit \\n\")\n    dc = 0\n    pwm.start(dc)\n\n    try:\n        while True:\n            temp = subprocess.getoutput(\"vcgencmd measure_temp|sed 's\/[^0-9.]\/\/g'\")\n            if round(float(temp)) >= 65:\n                dc = 100\n                pwm.ChangeDutyCycle(dc)\n                time.sleep(0.05)\n            else:\n                dc = 0\n                pwm.ChangeDutyCycle(dc)\n                time.sleep(0.05)\n    except KeyboardInterrupt:\n        pwm.stop()\n        GPIO.cleanup()\n        print(\"Ctrl + C pressed -- Ending program\")\n\n-   Execute it by typing:\n\n<!-- -->\n\n    python3 pwm-fan-control.py\n\n-   The fan will be turned on when the CPU temperature is reached to 65 degrees.",
                "char_count": 1151,
                "token_estimate": 288
            },
            {
                "title": "ZP-0112",
                "rev_id": 12948,
                "heading_path": "Keywords",
                "chunk_index": 12,
                "content": "-   Aluminum Alloy CNC Heat Sink with Fan for Raspberry Pi CM4 Module, Aluminum heat sink for CM4, Raspberry Pi CM4 heat sink with fan, heat sink with fan for CM4",
                "char_count": 162,
                "token_estimate": 41
            }
        ]
    }
}