Giter VIP home page Giter VIP logo

smarthome-qt's Introduction

title date
智能家居之环境监控系统
2016-01-13

作者:鹅卵石
时间:2016年4月13日22:43:53
版本:V 0.0.0
邮箱:[email protected]

基于zigbee和STM32的环境监测监控系统

1 系统功能

详细的介绍可以看博客http://blog.csdn.net/u013704336/article/details/51765397 这个项目作为2016年的毕设,完美完成了各项要求。综合利用了所学的C语言、C++、zigbee、stm32、Qt、ARM、等嵌入式技术。

首页

Image text

控制主界面

Image text

客厅

Image text

卧室

Image text

厨房

Image text

历史曲线数据

Image text

Image text

Image text

2. 电路原理图

电路图使用AD13软件进行绘制,使用的主控芯片是STM32F103

Image text

3. 编译和运行

3.1 下载代码到本地

git clone [email protected]:kevinlq/SmartHome-Qt.git

3.2 使用Qt4打开直接编译

为什么说是Qt4呢,因为当时编写基于ARM Linux 平台,使用的是Qt4,在Qt5中有一些函数方法被取消了。如果你在windows下或者其他平台使用非Qt4,那么需要自己进行修改!

3.3 运行

程序运行需要数据库,默认使用 QSqlLite 数据库,需要拷贝 file文件夹下的 SmartHome.db 文件到可执行程序同级目录下

默认程序编译完成后,可执行程序在bin目录下

可以在工程配置文件中进行修改!

DESTDIR = $$PWD/bin

关于交叉编译,移植到ARM平台,可以参考我的这篇文档,介绍很详细! 传输门

4. 如果有什么问题欢迎及时联系我

5 感谢

如果觉得分享的内容不错,可以请作者喝杯咖啡

thanks

6. Change Logs

  • ....
  • 2018-10.14-添加程序编译及运行配置(最近有不少人问,总是编译失败,所以完善了下)

补充下,时间真快,到目前(2018年4月25日20:20:38)为止,2年了,曾经分享的这套代码喜欢的人还是很多的, 还是很高兴。以后会继续分享的(之前这份代码确实写的比较烂)。

smarthome-qt's People

Contributors

kevinlq 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.