获取温度传感器数据(485通信)
Go to file
2024-04-22 00:17:59 +08:00
.idea Temperature acquisition demo 2024-04-14 17:59:04 +08:00
app doc文档转pdf;优化运行代码 2024-04-22 00:17:59 +08:00
docs doc文档转pdf;优化运行代码 2024-04-22 00:17:59 +08:00
tests Temperature acquisition demo 2024-04-14 17:59:04 +08:00
README.md Temperature acquisition demo 2024-04-14 17:59:04 +08:00
requirements.txt Temperature acquisition demo 2024-04-14 17:59:04 +08:00
run.py doc文档转pdf;优化运行代码 2024-04-22 00:17:59 +08:00

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