USB Arduino 设备与 Android 手机的结合
本质上,我正在寻找一个可以做的项目,而且由于我现在经常骑自行车,所以我想我应该构建一个速度计,它的作用不仅仅是显示当前速度。我意识到我可以通过 GPS 来做到这一点,已经有人这样做了,但从使用它们来看,我可以说速度读数不准确,而且更新得不够频繁,不符合我的喜好。
Arduino 设备或多或少只是为了读取和计算速度以及其他一些东西而存在。我很想通过 USB 实现这一点,但我的搜索表明,在当前的手机上,如果不 root 的话这是不可能的。对我来说很好,但如果我想分享该项目,它会限制可以尝试的人。
如果我收集正确,我别无选择,只能为 Arduino 设备使用某种蓝牙模块,以便它可以将数据发送到手机。这是正确的吗?我发现了很多链接,请随意分享任何特别好的链接。非常感谢。
一些不相关的曲线问题:是否可以构建一个连接到微型 USB 端口的电池组,以便使用 AAA、AA、9 V 等?
如果这里有任何不清楚的地方,请说出来。仅供参考,我正在使用 Gio 运行(2.3,我想,也许是 2.2)。
Essentially I'm looking for a project to do, and since I'm biking quite a bit at the moment, I thought I'd build a speedometer that does a lot more than just display the current speed. I realise I can just do this via GPS, there are already people that do it, but from using them I can say that the speed readings are not accurate and not updated often enough for my liking.
The Arduino device would more or less exist solely to read and possibly calculate the speed and maybe some other stuff. I'd love to this over USB, but my searching has revealed that it is most impossible on current phones without rooting them. Fine for me, but if I want to share the project, it limits the people that can try it out.
If I gather correctly I have no choice but to use a Bluetooth module of some sort for the Arduino device so that it can send the data to the phone. Is that correct? I've found quite a few links, feel free to share anything particularly good. Much appreciated.
Sort of unrelated curveball question: Is it possible to build a battery pack that hooks into the micro-USB port to charge the phone using AAA, AA, 9 V, etc.?
If anything here isn't clear, please do say. Just FYI, I am using Gio running (2.3, I think, maybe 2.2).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Android 开放配件开发套件(如果您运行的是 2.3.4)
MintyBoost 的一个变体。您需要足够的电流(至少 500mA)和 5V。
Android Open Accessory Development Kit, if you're running 2.3.4
A variant on the MintyBoost. You need a decent current (at least 500 mA) and 5 V.