Asee peer logo

The VU-LEGO Real Time Target: Taking Student Designs to Implementation

Download Paper |

Conference

2011 ASEE Annual Conference & Exposition

Location

Vancouver, BC

Publication Date

June 26, 2011

Start Date

June 26, 2011

End Date

June 29, 2011

ISSN

2153-5965

Conference Session

Experiential Learning in ECE

Tagged Division

Electrical and Computer

Page Count

10

Page Numbers

22.1516.1 - 22.1516.10

DOI

10.18260/1-2--18559

Permanent URL

https://peer.asee.org/18559

Download Count

227

Request a correction

Paper Authors

biography

James Peyton Jones Villanova University Orcid 16x16 orcid.org/0000-0001-7820-3893

visit author page

James Peyton Jones is Director of the Center for Nonlinear Dynamics & Control and Professor of Electrical & Computer Engineering at Villanova University

visit author page

biography

Connor W. McArthur Villanova University

visit author page

Connor McArthur is an undergraduate at Villanova Unversity studying Computer Engineering and Computer Science.

visit author page

biography

Tyler A. Young Villanova University

visit author page

Tyler Young is a senior Computer Engineer and research assistant at Villanova University.

visit author page

Download Paper |

Abstract

The VU-LEGO Real Time Target: Taking Student Designs to ImplementationThe use of mobile robotics in teaching has the potential to be revolutionized by advances in fourareas: a) low-cost, compact, and very computationally powerful target hardware which canoperate fully autonomously, and which can execute increasingly sophisticated algorithms in realtime; b) modern Automatic Code Generation or ‘Rapid Prototyping’ tools which allow thesedevices to be programmed directly from high-level Matlab / Simulink-based designs – withoutthe traditional difficulties associated with low level issues, fixed point computation, or C-language programming; c) the built-in sound, sensor, actuator and networking capabilities ofthese devices which enables groups of robots to interact with one another in complex ways; d)increasingly interdisciplinary approaches to dealing with this complexity, using methods fromCognitive Science, Biology, Mechanical, Electrical and Computer Engineering. This paperdescribes progress on an NSF, MathWorks, and Nokia sponsored project aimed at bringing allthese elements together for practical use and benefit in the classroom.Specifically, the paper describes a toolchain that has been developed, which enables students toaccess the hardware capabilities of the 32-bit LEGO NXT brick from within the Matlab /Simulink environment, and to automatically generate and cross-compile the necessary code forreal time autonomous implementation. The tool is similar to the existing ECRobot target, but thelatter is constrained by its function call architecture, and non-standard use of the Simulink Real-Time Workshop. The presented toolbox is much simpler to use. LEGO hardware I/O isrepresented in the Simulink design mode as blocks for accessing motors, encoders, push-buttons,ultrasound sensors, light sensors and more. Blocks have also been developed to allow the LEGOtarget to communicate in real time with a host computer over USB or BlueToothcommunications. An example system, consisting of a stabilized LEGO mobile invertedpendulum is discussed.

Jones, J. P., & McArthur, C. W., & Young, T. A. (2011, June), The VU-LEGO Real Time Target: Taking Student Designs to Implementation Paper presented at 2011 ASEE Annual Conference & Exposition, Vancouver, BC. 10.18260/1-2--18559

ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2011 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015