Giter VIP home page Giter VIP logo

intelhome's Introduction

IntelHome

在校做的智能家居系统整套代码(不是最终版,但已经可以实现同一网络下的通信)

项目细节

1、为了避免局域网网关的限制,利用路由器模拟一个虚拟的互联网网络,服务器主机,arm开发板,
android手机等都连接到这个路由wifi网络。
2、在x86 windows平台下利用java搭建一个服务器,专门负责随时接受手机端的连接请求以及arm核心板的连接请求,
并将arm核心板的数据进行实时保存(IP,外设状态,板子是否在线等),并负责将手机端的控制指令通过主动新建
socket的方式转发给arm核心板。
3、在arm linux平台下搭建一个客户机程序,有用户qt界面,可直接通过arm板界面操作各种外部设备
(433无线模块连接各种外部设备),客户机程序有多个线程,在服务器检测id和passwd成功后,
分别负责arm信息(外设状态,arm状态,arm IP等)刷新、登陆指令,注册指令,对外界控制指令的接收,以及其他指令的接收。
4、在手机 android平台下创建一个app,主要利用id和passwd成功登陆服务器后,便可实现对arm指令
信息的实时获取,以及可实时实现对arm核心板的数据通信(控制arm上各种外部设备)

项目分析

到目前为止,项目进展到一个阶段,已经解决了很多技术难题
1、从刚开始的linux系统移植、文件系统的制作,led灯的驱动编写
2、到后来的arm核心板上的QT移植,wifi模块移植以及服务器端多进程环境的搭建以及服客双方详细通信协议的制定
3、到现在的无线模块的选取和驱动改写以及手机端获取设备后界面的显示和刷新

相关技术

这个项目前前后后忙活了一年时间,期间使用到了java,linux,C,网络,数据库,pcb,电路分析等的技术知识

只供参考

由于代码跟具体硬件电路相关,故下载代码后只能使用android端的代码,其他代码跟我们自己设计的具体电路相关
有时间在整理个视频文件共享

intelhome's People

Contributors

zhangzeqiang avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.