Сделал простой скрипт для управления температурой кулера Raspberry Pi.
- Зачем? Их же полно готовых! Даже дефолтные инструменты есть.
Хотелось сделать этот велосипед по-своему 😁
▫️Пороговых температур две: Одна контролирует момент включения, другая выключения. Например, выше 80 - включаем. Остыл до 50 - выключаем.
▫️ Значения пороговых температур заипсывается в специальном файле и считывается каждый раз при проверке темературы без рестарта сервиса.
Исходники и схема.
https://github.com/paulwinex/rpi_fan_control
ЗЫ. В схеме присуствует сопротивление. Это требуется только если нужно уменьшить скорость вращения кулера. Мой на полных оборотах сильно гудит, пришлось поставить.
#sources#rpi
#MASK/USDT analysis :
#MASK is currently in an uptrend, characterized by higher highs (HHs) and higher lows (HLs), and is trading above the 200-period exponential moving average (EMA).
The price is presently consolidating above a key support zone, and it is anticipated that it will bounce back from this level, continuing its upward trajectory and potentially testing previous highs.
TF : 4H
Entry : $2.877
Target : $3.300
SL : $2.610
#MASK/USDT analysis :
#MASK is in an uptrend. After breaking above the 200 EMA, the price is now sustaining above it. The price is currently consolidating over the support zone and is expected to bounce back from the current level, testing higher levels. Wait for a pullback before entering a long position.
TF : 4h
Entry : $2.265
Target : $2.531
SL : $2.129