ChargingStation/chargingstation/chuankou3/readme.md

43 lines
767 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# chuankou3
#### 简要说明
用于测试冲串口中ty0中读取红外测温传感器数据、对数据做出处理的调试用例程
## 准备工作
参考1126与红外温度传感器的引脚图将串口正确接好
## 编译(build)
根据编译器位置,调整 GCC_COMPILER 参数,执行下面命令进行编译
```
./build.sh
```
## 安装(install)
通过adb连接设备并将编译结果推送至板端执行以下命令推送这里板端默认使用/userdata路径
```
adb push install/rknn_yolo_demo /userdata/
```
将前面准备好的RKNN模型推送至板端这里假设模型名字为 yolov5s_u8.rknn
```
adb push ./yolov5s_u8.rknn /userdata/rknn_yolo_demo/model/yolov5s_u8.rknn
```
## 测试执行
```
./temperature
```