Skip to content

Instantly share code, notes, and snippets.

View dee1337's full-sized avatar
🎯
Focusing

Daniel Geers dee1337

🎯
Focusing
View GitHub Profile
@dee1337
dee1337 / Programming_Languages_Extensions.json
Created August 27, 2024 09:53 — forked from ppisarczyk/Programming_Languages_Extensions.json
Programming Languages and their File Extensions
[
{
"name":"ABAP",
"type":"programming",
"extensions":[
".abap"
]
},
{
"name":"AGS Script",
@dee1337
dee1337 / RPI_FAN.md
Created August 20, 2024 07:07 — forked from 0x7d7b/RPI_FAN.md
Raspberry Pi PWM Fan Controller

After mounting the GPIO hammer headers to my RPi Zero I am now ready to do some prototyping. The first thing I wanted to test is controlling a 4 pin PWM fan. So here is a short howto on that.

Prerequisites

Besides a RPi Zero with pin headers you need a 4 pin PWM (Pulse With Modulation) fan. I took a Noctua NF-F12 5V fan. Be aware that when you take a 12V fan it will damage your board!

To easily access the RPi Zero during setup I use an USB to serial adapter cable as described in on of my other posts.

Installation

Prepare the SD card as usually. Usually before mounting an RPi Zero I put it into my Raspberry Pi 3 B+. Since that one has an ethernet connection I can update the system and install required libraries:

#!/bin/sh
# Sublime Text 3 install with Package Control
# http://simonewebdesign.it/blog/install-sublime-text-3-on-fedora-20/
# fix by dee1337:
# select the correct ST3 version depending on the system - 64bit build does not work on fedora i686 32bit
# Run this script with:
# $ curl LINK_TO_THIS_SCRIPT | sh