Asee peer logo

A Systematic Approach to Teaching the Foundational Concepts of Programming Using LEGO and Matlab

Download Paper |

Conference

2023 ASEE Annual Conference & Exposition

Location

Baltimore , Maryland

Publication Date

June 25, 2023

Start Date

June 25, 2023

End Date

June 28, 2023

Conference Session

Two-Year College Potpourri

Tagged Division

Two-Year College Division (TYCD)

Page Count

16

DOI

10.18260/1-2--42519

Permanent URL

https://peer.asee.org/42519

Download Count

121

Request a correction

Paper Authors

author page

Il Yoon University of North Georgia

Download Paper |

Abstract

Learning programming can be challenging for newly admitted engineering students. It may be even more challenging in two-year colleges due to the broad spectrum of student populations, which includes both traditional and non-traditional students. Students who have been out of school for several years after high school may find programming particularly challenging, while students who have just graduated from high school may find it less so. To overcome this challenge, it is suggested to teach programming using familiar tools from the very beginner level to the intermediate level. This paper proposes a new course to teach the foundational concepts of programming using LEGO EV3, a robotics toolkit, and MATLAB to control the LEGO robots. The course consists of three parts: Basics, Assigned Projects, and Student-Led Projects. In the Basics part, students learn fundamental programming concepts such as algorithms, flowcharts, variables, input/output, IF statements, and loop structures. Systematically designed application problems are provided to enhance understanding of programming basics. In the Basics part, students write code to control LEGO robots and solve application problems. This helps students overcome their unfamiliarity with programming, as they can see how the robots move interactively as they program. After completing the Basics part, students will work on two assigned projects: a line-tracking robot and a cleaning robot. Guided problems are provided to help students complete these projects. After students complete the assigned projects, students will undertake a Student-Led project. For this project, they will design an engineering product of their choice and build it using LEGO EV3 and MATLAB. To evaluate the effectiveness of the new course, the level of difficulty and repetition of application problems and guided problems were measured, along with the applicability of active learning activities. The measured data shows that the level of difficulty gradually increases overall from the beginner level, which helps students build foundational concepts of programming as beginners. It also shows that the topics in the Basics part are systematically repeated in the application problems and guided problems, which enhances learning retention of the topics. Additionally, the data shows that the learning methods used in this course lead to a higher percentage of active learning activities with higher complexity, making this course more beneficial for students. To evaluate the effectiveness of this proposed course, it is recommended to offer this course for a few semesters and conduct surveys at the end of each semester to collect feedback and measure its effectiveness.

Yoon, I. (2023, June), A Systematic Approach to Teaching the Foundational Concepts of Programming Using LEGO and Matlab Paper presented at 2023 ASEE Annual Conference & Exposition, Baltimore , Maryland. 10.18260/1-2--42519

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: © 2023 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