Microchip
直播中

云解相

7年用户 179经验值
私信 关注
[问答]

如何从Ubuntu终端获取温度和光传感器值

嗨,In LoRawan与RN2483MODE,我看到GPIO12和GPIO13引脚提供温度的读数。光。我如何在Linux PC或Linux PC文件中自动获取数据并通过串行端口发送到终端。或者,我如何通过串行连接自动将温度和光传感器数据发送到Ubuntu PC。对此有任何想法…谢谢和问候,S.Jayaram。

以上来自于百度翻译


      以下为原文

    Hi,
In LoRawan mOTE with RN2483,
I seen GPIO12 and GPIO13 pins provides the readings of temp. and light.
How can I automatically fetch the data and send via seriel port to terminal in linux PC or file in Linux PC.
or
How can I auto send the temp and light sensor data at specific time interval to Ubuntu PC via seriel Connection.

Any idea on this....

Thanks and Regards,
S.Jayaram

回帖(3)

施敏

2019-1-15 06:28:04
你必须改变在PIC18LF上运行的固件。

以上来自于百度翻译


      以下为原文

    You have to changer the firmware running on the PIC18LF.
举报

施敏

2019-1-15 06:45:29
或者有可能使用UART引脚直接与RN248D接口,并且可以直接发送命令以具有临时/光值。谨慎地使用UART电平,它必须是TTL 3V3(不是5V),您可以使用例如TTL到USB设备直接向RN2483D发送命令。

以上来自于百度翻译


      以下为原文

    Or there 's a possibility to interface directly with the RN2483 using the UART PINS,and you can send directly a command to have the temp/light value. 
Be prudent with the UART level,it must be TTL 3V3 (not 5V), you can use for example an TTL to USB device to send commands directly to the RN2483.
 
举报

孙原元

2019-1-15 07:01:18
受到警告
提示: 作者被禁止或删除 内容自动屏蔽
举报

更多回帖

发帖
×
20
完善资料,
赚取积分