douyin4561 2016-10-17 07:25
浏览 357

如何存储从arduino接收到Web服务器的数据

Since i didnt do any webserver code so far,my mind is full of questions.Lets say I have web server and I want to store data that comes from an arduino in database.How can I receive data ? Do I have to use php,write a script for webserver.Lets say I write the script and I made server to listen the port,where should I put script in my server in order to make server listen the port all the time.I need a tutorial.Any help will be appreciated. Thanks in advance.

  • 写回答

1条回答 默认 最新

  • drqxfmfa804578 2016-10-17 07:42
    关注

    I already did something like you want to do, and today I think the best choice is to do a REST api on an external webserver (you can do it with PHP). You can also install you API (or any other kind of program) on your arduino but you will be limited by the memory (depending the amount of data you write).

    评论

报告相同问题?

悬赏问题

  • ¥100 求数学坐标画圆以及直线的算法
  • ¥35 平滑拟合曲线该如何生成
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 自己瞎改改,结果现在又运行不了了
  • ¥15 链式存储应该如何解决