Сделал простой скрипт для управления температурой кулера Raspberry Pi.
- Зачем? Их же полно готовых! Даже дефолтные инструменты есть.
Хотелось сделать этот велосипед по-своему 😁
▫️Пороговых температур две: Одна контролирует момент включения, другая выключения. Например, выше 80 - включаем. Остыл до 50 - выключаем.
▫️ Значения пороговых температур заипсывается в специальном файле и считывается каждый раз при проверке темературы без рестарта сервиса.
Исходники и схема.
https://github.com/paulwinex/rpi_fan_control
ЗЫ. В схеме присуствует сопротивление. Это требуется только если нужно уменьшить скорость вращения кулера. Мой на полных оборотах сильно гудит, пришлось поставить.
#sources#rpi
🌍 Nearly 2,000 islands make up Indonesia’s Maluku Islands, sometimes called the “Spice Islands,” where nutmeg, cloves, and mace originated—once so valuable they shaped global trade routes. ✨
#islands⚡#archipelagos⚡#spices⚡#geography⚡#nature⚡#earth
👉subscribe Amazing Geography🌍
🍛Two Iconic South African Curries 🇿🇦
Two of the most famous curries in South African cuisine represent the two port cities — Cape Town on the west coast and Durban on the east. ⚓️
Even their names reflect their origins:
🌶Cape Malay Curry Powder refers to Cape Town’s Malay community,
🔥Durban Curry Masala — to Durban’s Indian community.
The Cape curry is slightly sweeter and milder, while the Durban curry is hotter and more vibrant thanks to the addition of Kashmiri red chili. 🌶
Source: https://t.me/africamother/800
#SouthAfrica#Food#Cuisine#Cooking#CapeTown#Durban#Spices#Curry