polewarrow.blogg.se

For iphone instal FanControl v160
For iphone instal FanControl v160









for iphone instal FanControl v160

It is very specific to the Raspberry Pi, so we also add an architectures: block that makes it only build and run on arm images. The image is based on core18, so we add a base: core18 entry. Summary: Control a raspberry pi fan attached to GPIO 14Ĭontrol a fan attached to a GPIO via NPN transistorĬp -av fancontrol.sh $SNAPCRAFT_PART_INSTALL/ Since we run Ubuntu Core we indeed want to run the whole thing as a snap package, so lets quickly create a snapcraft.yaml file for it: name: pi-fancontrol So now I had an addon board that can cool the CPU, but the fan indeed needs some controlling software, this is easily done via some small shell script by echoing 0 or 1 into /sys/class/gpio/gpio14/value … this script can be found on my github account as fancontrol.sh Finished addon board (with pic how it gets attached)











For iphone instal FanControl v160