获取温度传感器数据(485通信)
| .idea | ||
| app | ||
| docs | ||
| tests | ||
| README.md | ||
| requirements.txt | ||
| run.py | ||
Python 获取 485 温度传感器数据
简介
该仓库为 485 温度传感器数据的获取
运行:
# 安装依赖
pip install -r requirements.txt
# 运行
Python3 run.py
项目结构:
get_485_temperature>tree /f
│ README.md
│ requirements.txt
│ run.py // 程序入口
├─.idea
├─app
│ │ get_temperature.py
│ │ __init__.py
│ │
│ └─__pycache__
│ get_temperature.cpython-38.pyc
│ __init__.cpython-38.pyc
├─docs
│ NTA8A01 NTC温度传感器设置协议.docx
│ NTA8A01 NTC温度传感器说明书.docx
└─tests
test.py
使用设备
https://item.taobao.com/item.htm?id=643781808936
设备说明
├─docs │ NTA8A01 NTC温度传感器设置协议.docx │ NTA8A01 NTC温度传感器说明书.docx