Сделал простой скрипт для управления температурой кулера Raspberry Pi.
- Зачем? Их же полно готовых! Даже дефолтные инструменты есть.
Хотелось сделать этот велосипед по-своему 😁
▫️Пороговых температур две: Одна контролирует момент включения, другая выключения. Например, выше 80 - включаем. Остыл до 50 - выключаем.
▫️ Значения пороговых температур заипсывается в специальном файле и считывается каждый раз при проверке темературы без рестарта сервиса.
Исходники и схема.
https://github.com/paulwinex/rpi_fan_control
ЗЫ. В схеме присуствует сопротивление. Это требуется только если нужно уменьшить скорость вращения кулера. Мой на полных оборотах сильно гудит, пришлось поставить.
#sources#rpi
#python#DataStructures#algorithms
🐍
Python Data Structures & Algorithms
What you will get in this course:
- Data Structures
Lists
Linked Lists
Doubly Linked Lists
Stacks & Queues
Binary Trees
Hash Tables
Graphs
- Algorithms
- Sorting
Bubble Sort
Selection Sort
Insertion Sort
Merge Sort
Quick Sort
- Searching
Breadth First Search
Depth First Search
🔗Link
-----
Main channel:@repo_science
Coupons:@freecoupons_reposcience
-----
#python#Algorithms#dataStructures
🐍
Hands-On Data Structures and Algorithms with Python: Store, manipulate, and access data effectively and boost the performance of your applications
🖇3rd Edition
📆2022
✍️Dr. Basant Agarwal
🔗Link
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----
#DataStructures#Algorithms#Java
🛠
The Ultimate Data Structures & Algorithms Course
What You'll Learn...
This course is divided into three parts, each about 5 hours long so you can easily complete it.
The first part is all about linear data structures and their algorithms:
- Big O Notation
- Arrays
- Linked Lists
- Stacks
- Queues
- Hash Tables
The second part covers non-linear data structures and their algorithms:
- Binary Trees
- AVL Trees
- Heaps
- Tries
- Graphs
The third part explores:
- Searching Algorithms
- Sorting Algorithms
- String Manipulation Algorithms
🗣Mosh Hamedani
🔗Link
-----
Main channel:@repo_science
Coupons:@freecoupons_reposcience
-----
#DataStructures#Algorithm#designStrategies
📚
A Textbook of Data Structures and Algorithms, Volume 3: Mastering Advanced Data Structures and Algorithm Design Strategies
🔗Link
-----
Main channel: @repo_science
Coupons: @freecoupons_reposcience
-----