您好...
我正在使用 CC2530模块进行一些实验、现在我想读取内部温度传感器的值(这只是一个示例、现在校准和精度并不重要)、并通过串行端口传输到 PC 上的 MATLAB 软件。
我知道在 MATLAB 中必须执行的操作。 但我不知道如何读取温度值并将其放置在缓冲器上进行串行通信。 我想我应该设置一个中断或一些测量的东西、并将温度发送到缓冲器、但我不知道怎么做!!!
我使用 z stack 3和 IAR 对模块进行编程... 有人可以帮助我吗???
提前感谢您的回复
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好...
我正在使用 CC2530模块进行一些实验、现在我想读取内部温度传感器的值(这只是一个示例、现在校准和精度并不重要)、并通过串行端口传输到 PC 上的 MATLAB 软件。
我知道在 MATLAB 中必须执行的操作。 但我不知道如何读取温度值并将其放置在缓冲器上进行串行通信。 我想我应该设置一个中断或一些测量的东西、并将温度发送到缓冲器、但我不知道怎么做!!!
我使用 z stack 3和 IAR 对模块进行编程... 有人可以帮助我吗???
提前感谢您的回复
您好 Shahriar、
以下是一些可移植到 SampleTemperatureSensor 项目的内部温度传感器资源:
https://e2e.ti.com/support/wireless-connectivity/zigbee-and-thread/f/158/t/202290
https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz/f/156/t/100073
https://sunmaysky.blogspot.com/2014/11/how-to-do-temperature-monitoring-using.html
SWRC147和 ZNP/OTA_server 项目还将帮助您设置 UART 通信所需的 MT 接口。
此致、
Ryan