Skip to content

aldiserg/RPI_shim_fan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cooled fan via shim on RPI

Connection

Requirements

Hardware:

  1. RPI
  2. 5V Fan
  3. Transistor (for example IRF3205)
  4. Resistor 100 OM
  5. Resistor 10k OM

Software:

  1. Python3

Setup

Clone repository

git clone https://github.com/aldiserg/RPI_shim_fan.git
cd RPI_shim_fan

Change path to shim.py into shimFAN.service

ExecStart=python /path/to/shim.py

Change connected pin into shim.py (line 9)

dataPIN = 17 # change data pin if needed

Create the service

sudo cp shimFAN.service /etc/systemd/system/shimFAN.service
sudo systemctl enable shimFAN --now

About

Cooled fan via shim on RPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages