基于安卓的蓝牙rgb灯设计内容摘要:

组 意 见 评语: 评定等级: 负责人(签名): 年 月 日 系 学 位 委 员 会 意 见 评语: 论文(设计)最终评定等级: 负责人(签名): 系部(公章) 年 月 日 校 学 位 委 员 会 意 见 评语: 评定等 级: 负责人(签名): 年 月 日 I 目 录 绪论 ...................................................................................................................................... 1 蓝牙 RGB 硬件控制 ...................................................................................................... 3 开发工具 ................................................................................................................ 3 电路设计软件 protel ................................................................................. 3 软件开发工具 keil ..................................................................................... 3 控制芯片 STC12A32S2 ........................................................................................ 3 蓝牙通信原理 ....................................................................................................... 3 电路原理 ................................................................................................................ 4 RGB LED 变色原理 .............................................................................................. 6 下位机软件需求分析 ........................................................................................... 7 与上位机通信接口 ................................................................................................ 7 下位机程序流程图 ................................................................................................ 8 上位机 Android 软件介绍 .......................................................................................... 10 Android 开发工具 Eclipse ................................................................................... 10 Android 软件需求分析 ........................................................................................ 10 Android 页面布局 .................................................................................................11 Android 控制下位机的实现 ................................................................................11 基于 Android 蓝牙 RGB 灯实物展示 .............................................................. 12 结论 .................................................................................................................................... 13 参考文献 ............................................................................................................................ 14 附录 A ................................................................................................................................ 15 致 谢 ................................................................................................................................ 28 II 插图索引 图 1 设计模型 .............................................................................................................. 2 图 3 主控原理图 .......................................................................................................... 4 图 4 蓝牙 ...................................................................................................................... 5 图 5 电源电路 .............................................................................................................. 5 图 6 RGB 驱动电路 ....................................................................................................... 5 图 7 PCB 板图 ............................................................................................................... 6 图 8 PWM 调色结构 ....................................................................................................... 6 图 9 需求分析图 .......................................................................................................... 7 图 10 与上位机通信接口结构 .................................................................................... 7 图 11 主程序流程图 .................................................................................................... 8 图 12 定时器中断执行流程图 .................................................................................... 8 图 13 接收中断流程图 ................................................................................................ 9 图 14 上位机需求分析 .............................................................................................. 10 图 15 安卓页面 .......................................................................................................... 11 图 16 实物图 .............................................................................................................. 12 III 基于安卓的蓝牙 RGB 灯 摘 要 本文详细阐述了基于 android 蓝牙 RGB 灯的整个构成,该设计主要是用于智能家居、舞台灯光或者音乐灯光,其控制方式是蓝牙控制。 下位机主芯片为STC12A32S2,蓝牙部分为 BMX02C 模块。 基于 android 蓝牙 RGB 灯主要包括两个部分: 下位机控制 RGB 灯部分; 上位机 android 应用部分。 本文依次从下位机的电路设计、蓝牙通信方式、软件通信接口、控制 RGB 灯变色的 PWM 原理、与上位机通信接口、 android 上位机软件需求分析、 android 布局、 android 控制变色的实现方法、 android 音乐幻灯的实现方法、 android 短信和来电提醒功能的实现等介绍了蓝牙幻灯的原理和设计过程,最后将基于 android 蓝牙 RGB 灯的下位机的程序源码附上。 【关键词】: android, RGB, PWM, 智能家居 , 蓝牙 IV Bluetooth RGB Lights Based on Android Abstract This paper expounds on the Android Bluetooth RGB of the lamp in detail, and this design is mainly used for smart home, stage lighting or light music, whose control mode is Bluetooth control. The main chip of lower machine is STC12A32S2, and the Bluetooth part is BMX 02c module. Based on the Android Bluetooth, the RGB lamp mainly includes two parts : One is lower machine control RGB lights part。 The other is Android application part. This paper introduces the theory of Bluetooth slideshows and design process bine the circuit design of a lower。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。