Сделал простой скрипт для управления температурой кулера Raspberry Pi.
- Зачем? Их же полно готовых! Даже дефолтные инструменты есть.
Хотелось сделать этот велосипед по-своему 😁
▫️Пороговых температур две: Одна контролирует момент включения, другая выключения. Например, выше 80 - включаем. Остыл до 50 - выключаем.
▫️ Значения пороговых температур заипсывается в специальном файле и считывается каждый раз при проверке темературы без рестарта сервиса.
Исходники и схема.
https://github.com/paulwinex/rpi_fan_control
ЗЫ. В схеме присуствует сопротивление. Это требуется только если нужно уменьшить скорость вращения кулера. Мой на полных оборотах сильно гудит, пришлось поставить.
#sources#rpi
From Bush to Trump to Biden, US imperialism against Venezuela has remained a bipartisan affair. VA writer Andreína Chávez's column traces this continuity, from sanctions to coup efforts and beyond.
Read the full column here 👉🏼https://shorturl.at/B8Vdw
#DonaldTrump#sanctions#thesubversivetruth#vacolumn
📝OPINION | VA writer Andreína Chávez examines Venezuela's communes and grassroots democracy just in time for Sunday’s "National Popular Consultation."
“If you speak to a Venezuelan engaged in grassroots organizing, you’ll find that to them democracy is about much more than counting ballots or electing politicians, and they reject foreign meddling as a matter of principle. True democracy demands a deep commitment to democratizing a country’s political and economic system, ensuring that people have control over the structures and resources that shape their lives.”
🔗Read the full opinion piece here:https://shorturl.at/MPLV3
#demcoracy#grassrootsdemocracy#communes#elections#popularvote#fyp#TheSubversiveTruth