Home
  • Intro
  •  
  • Energy
    • Energy diversion
    • My Energy Diverter
    • Oven control
    • Resources
  •  
  • Banana Pi M5
    • Install Armbian
    • Setting up
    • SSH connection
    • Static IP address
    • Install SAMBA
    • Install Apache
    • Install MySQL
    • Install PHP
    • Install phpMyAdmin
    • Install FTP server
    • Add web site
    • erase eMMC
  •  
  • Arduino
    • Programming
    • Connecting to PHP/MySQL
  •  
  • Energy app
    • Example
  •  
  • Music server (NAS)
    • miniDLNA
    • Installing on BPi-M5
    • Uploading files

Banana Pi M5 (BPi-M5) cooling fan

A fan may not be necessary but I've added one just in case. It is controlled through the GPIO pins that turn on/off a 100mA mini fan glued to the top of the case, after I drilled through a 28mm hole.

Control is through a simple Python file activated by regular CRON requests.

Photo to go here


Install Python:

Python should already be installed but is case it's not...

BPiM5:yourname:# apt install python3

This will install the latest version of Python

Type in "apt-cache search libpython3" to see which versions of Python are installed.