最小物联网系统开源IOT

联合创作 · 2023-09-26 11:28

文档

一步步搭建物联网系统

HTTP vs CoAP

现有的这个版本是HTTP版,目前的CoAP版正在开发中,欢迎加入。

https://github.com/phodal/iot-coap

Minimum Internet of Things

A Minimum IOT with arduino and raspberry pi.

一个最小的物联网系统设计方案及源码

android/ 一个最小的Android程序实例
rest/ PHP Laravel Framework to create RESTful API
python/ 简单的pyhon示例
hardware/  硬件串口通信收集
 -/ arduino Arduino板
doc/  文档 简介ppt nginx配置 系统框架图
dashboard/ 基于ruby框架dashing的dashboard

简要的初始化代码说明

代码中因为有两个子模块,即Android与REST,Android是一个简单的Android程序示例,REST作为子模块的原因是考虑到后期会用更简单的源码来替换。但是laravel作为一个运行环境,还是很理想的。

先clone

git clone git@github.com:phodal/iot.git iot

or

git clone https://github.com/phodal/iot.git iot

子模块

git submodule init
git submodule update

系统框架图

Struct

测试

1.将arduino/BareMinimum.ino 烧录到开发板上

2.执行get.py (ps:如果用的是Windows系统 需要将get.py中的 /dev/ttyACM0 改为 COM*.)

sudo python python/get.py

3.打开 http://localhost/athome/create 创建一个数据。打开 http://localhost/athome/1/edit 编辑状态

4.测试网址: b.phodal.com

如何在Android手机上测试

1.下载安装 Stay at Home

交流

QQ群:348100589

中文文档

一个最小的物联网系统设计方案及源码

最小物联网系统(一)——系统组成

最小物联网系统(二)——RESTful

最小物联网系统(三)——创建RESTful

最小物联网系统(四)——详解Laravel的RESTful

最小物联网系统(五)——Laravel RESTful模板化

最小物联网系统(六)——Ajax打造可视化

最小物联网系统(七)——与服务器通讯

最小物联网系统(八)——与单片机通讯

最小物联网系统(九)——Android客户端

最小物联网系统设计——给Laravel添加测试

最小物联网系统——Dashboard

License

© 2014 Phodal Huang. This code is distributed under the MIT license.

浏览 15
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报