Сделал простой скрипт для управления температурой кулера Raspberry Pi.
- Зачем? Их же полно готовых! Даже дефолтные инструменты есть.
Хотелось сделать этот велосипед по-своему 😁
▫️Пороговых температур две: Одна контролирует момент включения, другая выключения. Например, выше 80 - включаем. Остыл до 50 - выключаем.
▫️ Значения пороговых температур заипсывается в специальном файле и считывается каждый раз при проверке темературы без рестарта сервиса.
Исходники и схема.
https://github.com/paulwinex/rpi_fan_control
ЗЫ. В схеме присуствует сопротивление. Это требуется только если нужно уменьшить скорость вращения кулера. Мой на полных оборотах сильно гудит, пришлось поставить.
#sources#rpi
She's a mother, a daughter,
She's brave, courageous,
Is She's feeble ? Helpless ?
No! It's you, your frame of mind,
Still let's her freedom to rescind!
She's not disabled,
Just the scenario made her existence confined,
Even in the century of 21st,
She's still defenseless over the set of your mind!
She never got the freedom, which a boy gets at his age,
So could you please let me know,
How She's guilty at every stage ?
Either She's LAXMI to NIRBHAYA and PRIYANAKA in 2019,
Nothing has changed,
Every single day, every single minute, nd in every single second,
She's molested, burnt and raped!
This act is plaintive enough,
We can't even think of,
Only a question I wanted to ask,
When she'll get rid of!
💯
-Gurpreet Bhatia
#guri#poetry#review#write