Skip to content

sunjun6513/iot

 
 

Repository files navigation

#开源物联网系统设计

相关文档可以参考这里: 一步步搭建物联网系统

系统框架图: Struct

现有的这个版本是HTTP版,在线demohttp://b.phodal.com

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

物联网相关资料收集

吊兰-MQTT协议,CoAP协议,WebSocket,物联网协议在线测试

#Design Internet of Things

A Minimum IOT with arduino and raspberry pi.

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

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

##Install

###直接下载

已打包好的: https://github.com/phodal/iot/archive/0.9.5.zip

###使用Git 代码中因为有两个子模块,即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

##测试

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 示例

Android

示例界面

Android

项目主页: IoT-Android

已测支持平台: HTC G1,Motor XT300,SONY ST25I

主要依赖库: GSON

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.

Analytics

About

Internet of Things 这是一个最小Internet of Things ,一个Internet of Things相关的毕业设计产生的一个简化的Internet of Things 。

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 76.3%
  • CSS 23.3%
  • Other 0.4%