Сделал простой скрипт для управления температурой кулера Raspberry Pi.
- Зачем? Их же полно готовых! Даже дефолтные инструменты есть.
Хотелось сделать этот велосипед по-своему 😁
▫️Пороговых температур две: Одна контролирует момент включения, другая выключения. Например, выше 80 - включаем. Остыл до 50 - выключаем.
▫️ Значения пороговых температур заипсывается в специальном файле и считывается каждый раз при проверке темературы без рестарта сервиса.
Исходники и схема.
https://github.com/paulwinex/rpi_fan_control
ЗЫ. В схеме присуствует сопротивление. Это требуется только если нужно уменьшить скорость вращения кулера. Мой на полных оборотах сильно гудит, пришлось поставить.
#sources#rpi
🌍 The Netherlands has created an intricate system of dikes, canals, and pumps to manage water and reclaim land from the sea. Over a quarter of Dutch land lies below sea level thanks to these human-made defenses. ✨
#adaptation⚡#Netherlands⚡#watermanagement⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography🌍
Tashkent hosted the international forum Tashkent Water Week 2026 dedicated to water resource challenges.
Government officials, international organizations, and experts discussed water security and climate adaptation.
The focus was on water‑saving technologies, digital monitoring, and modern irrigation solutions.
Special report by Ekolog.uz
Author: Avazkhon Khaydarov
#TashkentWaterWeek#WaterSecurity#CentralAsia#ClimateChange#WaterManagement#EkologUz#EnvironmentalJournalism#Uzbekistan#WaterResources#Ecology
☘️Read the latest environmental news on the @ekologuz page. Follow us and send your suggestions and wishes via @eklguz_bot
Instagram | Facebook | Twitter | Sayt | Youtube.