Search query: pimoroni fan shim for raspberry pi

Product: Taidacent Raspberry Pi Cooling Fan Silent DC Brushless Fan 5v Cooling Board Wind Speed PWM Controllable Raspberry Pi Fan
Brand: Taidacent
Relevance: Substitute
The fan heat sink adopts 4*4 large wind silent fan design, and the wind speed can be controlled and controlled by GPIO, which can effectively reduce the temperature of the raspberry pie when working.
Fan control code, for reference only:
Open fan code
#!/usr/bin/env python
# -*- coding: utf-8 -*-
Import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(22, GPIO.OUT)
#IO22 Output HIGH to turn on the fan
GPIO.output(22, GPIO.HIGH)
-------------------------------------------------- -------------------------------------------------- ------
Turn off fan code
#!/usr/bin/env python
# -*- coding: utf-8 -*-
Import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(22, GPIO.OUT)
#IO22 Output LOW to turn off the fan
GPIO.output(22, GPIO.LOW)
4*4 large wind silent fan design
and the wind speed can be controlled and controlled by GPIO
effectively reduce the temperature of the raspberry pie when working

Product: Pimoroni Fan Shim for Raspberry PI
Brand: Pimoroni
Relevance: Exact