总字数:11118
摘 要
随着设施设备的智能化发展,智能机器人的设计和实践,已发展成为一门开设理论和实践综合的课程,他要求学习者具备数学和计算机学科基础,其宗旨是为了培养学习者的系统设计、程序编写、设计优化和数据分析能力,熟知的乐高EV3智能机器人,该机器人平台具备零件种类多、接口灵活、使用方便等特别,非常适用于教学环境来教书育人,本设计基于该EV3平台设计一款智能小车,本文主要在该系统的框架结构、系统环境和配置方案、测试结果等方面进行深入探索,全面介绍该EV3平台在教学中的使用方法和步骤。
LEGO MINDSTORMS EV3作为第三代乐高智能机器人,它产于乐高公司,该公司在2013年成功上市,备受广大消费者的青睐。乐高EV3的适用范围相对固定,它只能连接计算机和另一台EV3进行正常通信,与其他设备相连无法完成通信功能。有学者尝试用通过转接板让Arduino对乐高积木进行连接,该转接板可以与乐高电机和传感器直接连接,起到Arduino替换乐高程序块的作用,并实现Arduino对乐高电机和传感器的直接控制功能。此外,有关学者也对APP程序进行编写,通过手机APP直接控制乐高EV3。本设计也对EV3的蓝牙通信模块也进行了相关探索,这个方法不仅节省通信时间,还不需要转接板进行转接,只需要一个蓝牙模块,就能实现Arduino与乐高机器人的互相通讯和协同工作,此次设计针对蓝牙控制小车进行循迹和避障功能进行设计。
关键词:EV3;Arduino;蓝牙;循迹
Abstract
With the intelligent development of facilities and equipment, the design and practice of intelligent robot has developed into a comprehensive course of theory and practice, which requires learners to have the basis of mathematics and computer science, its purpose is to cultivate learners’ ability of system design, programming, design optimization and data analysis, familiar with Lego EV3 intelligent robot, The robot platform has many kinds of parts, flexible interface, easy to use and other special, very suitable for teaching environment to educate people, this design is based on the EV3 platform design of an intelligent car, this paper mainly in the framework of the system, system environment and configuration scheme, test results and other aspects of in-depth exploration, A comprehensive introduction to the EV3 platform in teaching methods and steps.
The LEGO MINDSTORMS EV3 is the third generation of intelligent Lego robots created by Lego, which went public in 2013 and has been a hit with consumers. The application scope of LEGO EV3 is relatively fixed. It can only connect a computer to another EV3 for normal communication, and cannot complete the communication function when connected with other devices. Some scholars try to connect the LEGO blocks with Arduino through the adapter board. The adapter board can be directly connected with the LEGO motor and sensor, playing the role of replacing the Lego program block with Arduino, and realizing the direct control function of Arduino on the Lego motor and sensor. In addition, relevant scholars also wrote the APP program, through the mobile phone APP directly control Lego EV3. This design also explores the Bluetooth communication module of EV3. This method not only saves communication time, but also does not require switching board. Only one Bluetooth module is needed to realize the mutual communication and collaborative work between Arduino and LEGO robot.
Key words: EV3; Arduino; Bluetooth; Follow the trac
目录
1 绪 论 6
2 系统方案设计 10
4 软件设计 17
5 机器人器件的搭建 19
6实物测试 24
7结论 27
致 谢 28
参考文献 29
附录 31