基于Andriod重力感应控制的小车设计与研究

2014-07-24 09:40:50陈锦儒彭昕昀
电脑知识与技术 2014年15期
关键词:控制

陈锦儒 彭昕昀

摘要:该次项目主要研究的内容是在上位机的Andriod平台上编写JAVA应用程序,通过利用自身的蓝牙模块发送重力感应系统检测到的方向数据。下位机的蓝牙模块把上位机传输过来的信号通过异步通信的方式与单片机互传数据,从而遥控小车的运动情况,实现控制了小车的前进、后退、左转、右转、停止等运动状态。整个系统的设计主要分成两部分,分别是上位机的Andriod平台的程序开发以及下位机与蓝牙的通信设计,难点在Andriod平台上读取重力感应系统的数据。整个项目主要是在获取重力感应系统的方向数据后通过蓝牙模块进行数据传输而实现遥控功能,需要一个在Andriod平台上稳定可靠的JAVA应用程序保证系统的可行性。

关键词:Andriod;小车;控制;蓝牙;通信

中图分类号:TP311 文献标识码:A 文章编号:1009-3044(2014)15-3636-04

Based on the Android Accelerometer Control Car Design and Research

CHEN Jin-ru, PENG Xin-yun

(School of Physics and Mechanical & Electrical Engineering ,Shaoguan College, Shaoguan 512005, China )

Abstract: This project mainly studies on the PC of the Android platform is the content of the writing JAVA applications, by using its own bluetooth module sending accelerometer system to detect the direction of the data. Bluetooth module to PC machine under transmission of signal with single-chip microcomputer by means of asynchronous communication data, and remote control car movement situation, realize the control of the car forward, backward, turn left, turn right, stop motion etc. The design of the whole system mainly divided into two parts, respectively is upper machine under the Android platform application development and a machine and the bluetooth communication design, the difficulty on the android platform read data of gravity sensing system. The whole project is mainly after obtain the direction of the accelerometer system data via bluetooth module for data transmission and remote control function, need a stable and reliable on the Android platform of the JAVA application ensure the feasibility of the system.

Key words: Andriod ; the car; control; bluetooth; communication

随着现今网络化的发展,智能小车也逐渐的被网络化,不再只有傳感器,控制器和执行器三部分。网络化的智能小车,不再是只能用于参加全国电子设计大赛的智能小车,更不是只有一种特定的模式运用于特定环境的智能小车,而是,通过网络的控制,可以在不同的恶劣环境下运作,完成人类无法完成的事情,将不同环境下的探测数据,发送给人类进行分析。

本设计通过使用手机蓝牙的功能来控制的智能小车,其目的在于从根本上了解智能小车的工作原理,亲身体会蓝牙的工作原理与应用。蓝牙主要应用于短距离的无线数据传输,然而,蓝牙模块可以与PC机中的或手机中的蓝牙设备相连接,也可以实现两个蓝牙模块之间的数据传输交换,取代短距离的线缆连接,直接代替数据传输线。……

登录APP查看全文

猜你喜欢
控制
我国企业实施全面预算管理的实践与探讨
控制权归属及同一控制下企业合并认定条件辨析
商业会计(2016年13期)2016-10-20 15:43:05
土建工程中项目管理措施及应用
高压输配电线路工程施工技术控制之我见
刍议水库施工管理控制
关于工程项目成本管理的分析
社会转型期行政权控制的路径探索
科技视界(2016年21期)2016-10-17 17:06:18
浅析应收账款的产生原因和对策
商(2016年27期)2016-10-17 05:41:05
船舶轮机振动噪声控制研究
会计预算控制现状及方法