Сделал простой скрипт для управления температурой кулера Raspberry Pi.
- Зачем? Их же полно готовых! Даже дефолтные инструменты есть.
Хотелось сделать этот велосипед по-своему 😁
▫️Пороговых температур две: Одна контролирует момент включения, другая выключения. Например, выше 80 - включаем. Остыл до 50 - выключаем.
▫️ Значения пороговых температур заипсывается в специальном файле и считывается каждый раз при проверке темературы без рестарта сервиса.
Исходники и схема.
https://github.com/paulwinex/rpi_fan_control
ЗЫ. В схеме присуствует сопротивление. Это требуется только если нужно уменьшить скорость вращения кулера. Мой на полных оборотах сильно гудит, пришлось поставить.
#sources#rpi
🌍 Earth’s climate zones are not just about temperature—they also shape which plants and animals can survive. Some cacti thrive in deserts, while rainforests burst with life in tropical zones. ✨
#climate⚡#vegetation⚡#adaptation⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography🌍
🌍 The humid subtropical climate zone stretches across southeastern continents but also appears in parts of East Asia and South America, helping create lush forests and long growing seasons for crops. ✨
#climatezones⚡#vegetation⚡#agriculture⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography
👉more Channels
🌍 Earth’s Mediterranean climate zones, found in places like California and parts of Australia, support massive wildflower blooms after winter rains despite having hot, dry summers. ✨
#climatezones⚡#biomes⚡#vegetation⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography
👉more Channels
Red Fox - Vulpes vulpes, close-up portrait. Laying down in the colorful fall vegetation by RTaylorImages
#photodune#red#fox#vulpes#closeup#portrait#colorful#fall#vegetation
Envato Freebies