Arduino-如何在没有IDE的情况下获取串行数据 [英] Arduino - how to get serial data without IDE
问题描述
我正在为脑部分流器制作一个滴灌监测器原型.它将监控滴水情况并报告我需要的任何数据.问题是我只是在构建设备.一个对Arduino或代码一无所知的人正在使用它.有没有一种方法或程序可以将数据显示和/或保存到文件中,从而使人们可以只将Arduino插入而不必理会IDE或任何代码?感谢您的帮助!
如注释中所述,根据预算和其他条件,有很多方法可以做到这一点.例如,您不确定是否仅需要进行(简单的)实时监视,还是需要将数据记录到文件中以供以后查看(更复杂).独立日志记录是另一个(相当复杂的)选项(例如Arduino未连接到主机).
这是不同方法的很好的教程和概述. /p>
就用户友好的GUI而言,可以使用处理,在几个小时内组装一个简单的应用程序.它将显示实时数据,并在需要时将其写入文本文件.
As noted in the comments, there are many ways to do this depending on budget and other criteria. For example, you don't say for certain if this only needs to be (simple) real time monitoring or (a bit more complicated) if data needs to be logged to a file for later review. Standalone logging is another (fairly complicated) option (e.g. the Arduino not connected to a host computer).
This is a good tutorial and overview of the different approaches.
In terms of user-friendly GUI, one could put together a simple app in a few hours using Processing which would display real time data and if need be, write to a text file.
There are many Arduino data logging projects on the web. Here's one and search results for many, many others
这篇关于Arduino-如何在没有IDE的情况下获取串行数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!