基于Arduino的小型空气动力艇控制系统的设计.docx
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《基于Arduino的小型空气动力艇控制系统的设计.docx》由会员分享,可在线阅读,更多相关《基于Arduino的小型空气动力艇控制系统的设计.docx(4页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、研究与设计基 于 Arduino的 小 型 空 气 动 力 艇 控 制 系 统 的 设 计王 国 龙 , 邓 云 亮 , 罗 兴 保 , 卢 亚 生(东北林业大学交通学院,黑龙江哈尔滨150040)摘 要 :为了提高空气动力艇的舒适性和灵活性,设计了一种基于Arduino 的控制系统,实现了动力艇速 度与转向控制的数字化。系统由Arduino控制器、操纵杆模块、电机驱动模块等组成。通过软硬件设计,阐述 了系统的工作原理及硬件选择。本系统具有性价比和精准度高,容易实现,操作简单的特点。关 键 词 :空气动力艇;操纵杆控制;Arduino中图分类号:TP273 文献标识码:A 文章编号:2095
2、- 2953(2016)12 - 0029 - 03Design of the Control System for Small Airboats Based on ArduinoWANG Guo-long, DENG Yun-liang, LUO Xing-bao, LU Ya-sheng(College of Transportation,Northeast Forestry University,Harbin Heilongjing 150040,China)Abstract; In order to improve the comfort and flexibility of airb
3、oats, an Arduino-based control system is designed to realize the digitalization of airboat speed and steering control. The control system consists of Arduino controller, an operating lever module, a motor drive module, etc. Through software and hardware design, the working principle and hardware sel
4、ection of the system are described. This system features high price/performance ratio, high precision, easy implementation and easy operation.Key words : airboats; operating lever control ; Arduino空气动力艇可在近岸水域、内河水网地带、滩涂 沼泽地带及冰雪地域得到广泛应用,其在抢险救灾、 环境保护、科学研究等多个领域发挥着非常重要的 作用 1/步 进 电 机 库const int stepsPerRe
5、volution = 200 ; Stepper myStepper(stepsPerRevolution,8,9,10,11);int xpotPin =0; int ypotPin = 1; int xval; int yval; void setup ()!pinMode(Ml,OUTPUT); myStepper. setSpeed(200);Ivoid loop ()Ixval = analogRead ( xpotPin) -512;yval = analogRead( ypotPin) -512;delay(100) ;/刷新速度/模拟量映射到控制量xval = map (xva
6、l, -512,511, -250,250);yval = map (yval, -512,511, -50,205);myStepper. step ( xval);/调节步数digitalWrite ( Ml, HIGH ) ; analogWrite ( El, yval) ;/PWM调速不同的空气动力艇推进转向结构对应的map() 函数的后两个参数不同。4结 束 语设计的小型空气动力艇的控制系统解决了空气 动力艇的转向和速度控制问题,实现了电子转向,提 高了驾驶动力艇的舒适性和安全性,并 将 速 度 控 制 和转向控制合为一体,简化了操作。通过对操纵杆 模拟量与控制量的关系,编程实现精
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 基于 Arduino 小型 空气 动力 控制系统 设计
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内