OOD!
Price: $26.15

This cooling fan is designed for Raspberry Pi, you do not need to worry about your Pi becoming too hot. It can help to protect your Raspberry Pi well, it suitable for Raspberry Pi 2B, Raspberry Pi 3B/ 3B+. The cooling fan chooses the design of 4 x 4 powerful and low noise fan, and you can control and adjust the speed via GPIO.
Flex_PCB-1

Sample code to turn on the fan

  • #!/usr/bin/env python # -*- coding: utf-8 -*-

    import RPi.GPIO as GPIO

    GPIO.setmode(GPIO.BCM)

    GPIO.setup(22, GPIO.OUT)

    #IO22 output HIGH turn on the fan

    GPIO.output(22, GPIO.HIGH)

Sample code to turn off the fan

  • #!/usr/bin/env python

    # -*- coding: utf-8 -*-

    import RPi.GPIO as GPIO

    GPIO.setmode(GPIO.BCM)

    GPIO.setup(22, GPIO.OUT)

    #IO22 output LOW turn off the fan

    GPIO.output(22, GPIO.LOW)

Package list