ICTCM 28th International Conference on Technology in Collegiate Mathematics

Similar documents
SPIRIT 2.0 Lesson: How Far Am I Traveling?

Analytic Geometry/ Trigonometry

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

AC : THE UBIQUITOUS MICROCONTROLLER IN MECHANICAL ENGINEERING: MEASUREMENT SYSTEMS

UNIT FOUR COORDINATE GEOMETRY MATH 421A 23 HOURS

TETRIX PULSE Workshop Guide

THE ARDUINO ENGINEERING KIT INFORMATION GUIDE ARDUINO.CC/EDUCATION

Pre-Day Questionnaire

Part of: Inquiry Science with Dartmouth

Program.

MADISON PUBLIC SCHOOL DISTRICT. GRADE 7 Robotics Cycle

CH 21 2-SPACE. Ch 21 2-Space. y-axis (vertical) x-axis. Introduction

Physics 131 Lab 1: ONE-DIMENSIONAL MOTION

Tennessee Senior Bridge Mathematics

Embedded Systems & Robotics (Winter Training Program) 6 Weeks/45 Days

Multi-Vehicles Formation Control Exploring a Scalar Field

Advanced Mechatronics 1 st Mini Project. Remote Control Car. Jose Antonio De Gracia Gómez, Amartya Barua March, 25 th 2014

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. LEGO Bowling Workbook

Lego Nxt in Physical Etoys

Hi everyone. educational environment based on team work that nurtures creativity and innovation preparing them for a world of increasing

Week 15. Mechanical Waves

Engage Examine the picture on the left. 1. What s happening? What is this picture about?

PCB & Circuit Designing (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY

Ultimatum. Robotics Unit Lesson 5. Overview

EDUCATORS INFORMATION GUIDE

Programming and Multi-Robot Communications

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

UTILIZATION OF ROBOTICS AS CONTEMPORARY TECHNOLOGY AND AN EFFECTIVE TOOL IN TEACHING COMPUTER PROGRAMMING

Smart-M3-Based Robot Interaction in Cyber-Physical Systems

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

Appendix C: Graphing. How do I plot data and uncertainties? Another technique that makes data analysis easier is to record all your data in a table.

ROBOTC: Programming for All Ages

Engaging Solutions for Applied Learning Programme

Exercise 2. Point-to-Point Programs EXERCISE OBJECTIVE

MAKER: Development of Smart Mobile Robot System to Help Middle School Students Learn about Robot Perception

Instructional Demos, In-Class Projects, & Hands-On Homework: Active Learning for Electrical Engineering using the Analog Discovery

Teaching Mechanical Students to Build and Analyze Motor Controllers

Motion Graphs Teacher s Guide

ACTIVE LEARNING USING MECHATRONICS IN A FRESHMAN INFORMATION TECHNOLOGY COURSE

Objective: Investigate patterns in vertical and horizontal lines, and. interpret points on the plane as distances from the axes.

Closed-Loop Transportation Simulation. Outlines

Relationship to theory: This activity involves the motion of bodies under constant velocity.

HANDS-ON TRANSFORMATIONS: DILATIONS AND SIMILARITY (Poll Code 44273)

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech

Robotics & Embedded Systems (Summer Training Program) 4 Weeks/30 Days

AC : A CIRCUITS COURSE FOR MECHATRONICS ENGINEERING

Wheeled Mobile Robot Obstacle Avoidance Using Compass and Ultrasonic

Objective: Use the addition of adjacent angle measures to solve problems using a symbol for the unknown angle measure.

UC DAVIS CENTER FOR INTEGRATED COMPUTING AND STEM EDUCATION (C STEM) Implementation Brochure /2018. c-stem.ucdavis.edu

Mathematics Expectations Page 1 Grade 04

Motion Lab : Relative Speed. Determine the Speed of Each Car - Gathering information

Objective: Investigate patterns in vertical and horizontal lines, and interpret points on the plane as distances from the axes.

Lesson 6.1 Linear Equation Review

Welcome Booklet. Version 5

Sensors and Sensing Motors, Encoders and Motor Control

RUNNYMEDE COLLEGE & TECHTALENTS

Course: STEM Robotics Engineering Total Framework Hours up to: 600 CIP Code: Exploratory Preparatory

1.1 The Pythagorean Theorem

8.EE. Development from y = mx to y = mx + b DRAFT EduTron Corporation. Draft for NYSED NTI Use Only

OPEN SOURCES-BASED COURSE «ROBOTICS» FOR INCLUSIVE SCHOOLS IN BELARUS

AC : MICROPROCESSOR BASED, GLOBAL POSITIONING SYSTEM GUIDED ROBOT IN A PROJECT LABORATORY

Robotics Links to ACARA

Arduino Robotics (Technology In Action) By John-David Warren, Josh Adams

Introduction to Statics

Robotics using Lego Mindstorms EV3 (Intermediate)

My Accessible+ Math: Creation of the Haptic Interface Prototype

Robotics Workshop. for Parents and Teachers. September 27, 2014 Wichita State University College of Engineering. Karen Reynolds

Performance Analysis of Ultrasonic Mapping Device and Radar

Speed Control of a Pneumatic Monopod using a Neural Network

GEARS-IDS Invention and Design System Educational Objectives and Standards

E Technology: A. Innovations Activity: Introduction to Robotics

Building a comprehensive lab sequence for an undergraduate mechatronics program

Mindstorms NXT. mindstorms.lego.com

Note to Teacher. Description of the investigation. Time Required. Materials. Procedures for Wheel Size Matters TEACHER. LESSONS WHEEL SIZE / Overview

IT.MLD900 SENSORS AND TRANSDUCERS TRAINER. Signal Conditioning

Welcome to. NXT Basics. Presenter: Wael Hajj Ali With assistance of: Ammar Shehadeh - Souhaib Alzanki - Samer Abuthaher

LESSONS Lesson 1. Microcontrollers and SBCs. The Big Idea: Lesson 1: Microcontrollers and SBCs. Background: What, precisely, is computer science?

Singapore Math 4-U.S. Edition Class Description: Singapore math says that Singapore Primary Mathematics U.S. Edition "is a series of rigorous

acknowledgments...xv introduction...xvii 1 LEGO MINDSTORMS NXT 2.0: people, pieces, and potential getting started with the NXT 2.0 set...

Note to the Teacher. Description of the investigation. Time Required. Additional Materials VEX KITS AND PARTS NEEDED

QaD Teacher Support Materials

VEX Robotics Platform and ROBOTC Software. Introduction

Mathematics (Project Maths Phase 2)

TUTA/IOE/PCU All rights reserved. Printed in Nepal Fax: My First Humanoid Robot An Experience worth Sharing with Freshmen and Sophomore

Figure 1.1: Quanser Driving Simulator

MAT 140 SYLLABUS - ANALYTIC GEOMETRY AND CALCULUS I

Total Hours Registration through Website or for further details please visit (Refer Upcoming Events Section)

AN ARDUINO CONTROLLED CHAOTIC PENDULUM FOR A REMOTE PHYSICS LABORATORY

HANDS-ON TRANSFORMATIONS: RIGID MOTIONS AND CONGRUENCE (Poll Code 39934)

Welcome to Arduino Day 2016

Using the Pythagorean Theorem to Explore and Measure Topography in 2D/3D Space

Intercepts and Rapidly Graphing Lines

4.2 modeling WITh linear FUnCTIOnS

MFL and Numeracy. Teachers of MFL in KS2 and KS3 reinforce:

EQ-ROBO Programming : bomb Remover Robot

Mathematics Success Grade 8

PROCEEDINGS OF SPIE. Development of activities to promote the interest in science and technology in elementary and middle school students

Students will be able to:

Sensors and Sensing Motors, Encoders and Motor Control

Transcription:

ARDUINO IN THE CLASSROOM: CLASSROOM READY MODULES FOR UNDERGRADUATE MATHEMATICS Michael D. Seminelli 1 Department of Mathematical Sciences United States Military Academy West Point, NY 10996 Michael.Seminelli@usma.edu INTRODUCTION We are living in a time were technology has become an integral part of our daily lives. Our students have never known life without the internet and likely grew up with computers at school and at least one computer at home. As educators we have the opportunity to bring technology into the classroom, not as a gimmick, but in a way that can help enhance our instruction of mathematics. Every cadet at the United States Military Academy (USMA) is required to take three courses as part of the core mathematics curriculum, totaling 12 credits hours. MA103 is the first math course every freshmen takes which emphasizes applied mathematics through mathematical modeling [1]. Students are introduced to calculus through continuous and discrete mathematics while developing effective strategies to solve complex and often illdefined problems. The course exercises a 1 The views expressed in this article are those of the authors and do not reflect the official policy or position of the U.S. Military Academy, the Department of the Army, the Department of Defense, or the U.S. Government. 341

Figure 1: USMA Mathematical Modeling Triangle provides students a strategy to solve complex or incomplete problems wide array of mathematical concepts while nurturing creativity, critical thinking, and learning through activities performed in disciplinary and interdisciplinary settings. MA103 teaches students the problem solving process by using the USMA Mathematical Modeling Triangle in Figure 1. This flow chart provides students with a framework to transform the givens and unknowns of the problem statement into math, solve the problem, and finally analyze and interpret the results. Instructors also highlight the iterative approach to this problem solving process. The second course in the core mathematics curriculum is MA104 which is single variable calculus. Students learn about differentiation, integration, and vector calculus concepts. Students apply their understanding of derivatives and integrals to solve applications based problems with the use of computational software. The students continue to use the math modeling process introduced in MA103. MA206 Probability and Statistics is the final course in the core mathematics sequence. Students continue apply their understanding of integration as they explore probability, confidence intervals, hypothesis testing, and experimental design. Cadets continue to develop their programming skills as they use computational software packages for problem solving. Although the core mathematics program is only three courses, students majoring in STEM fields may also take multi-variable calculus, engineering mathematics, and applied statistics. 342

Figure 2: Arduino Starter kit is a great tool to introduce students to programming and robotics. ARDUINO ROBOTS Programmable robotics kits are growing in popularity and becoming increasingly more affordable. These systems range in construction and programming complexity to engage students from elementary school to college. The Lego Mindstorms system uses a control mechanism and Lego pieces to construct the robot. Students learn the essence of programming by assembling a series of command modules in the sequence the robot will execute them [2]. This approach to computer programming builds students understanding of functions and the sets the foundation for more advanced coding. Arduino is an open-source electronics platform based on easy-to-use hardware and software [3]. The boards read inputs from sensors to trigger an output action or response - such as illuminate an LED, power a servo motor, or display data to a screen. Arduino has created an online community where users have posted tutorials and project descriptions to inspire the creativity in others. The Arduino Starter Kit in Figure 2 contains all of the tools needed to build and program a robot, all for around $100. The Arduino processing boards use the Arduino programming language which is based on the open-source language Wiring, used as a cross platform framework for microcontrollers [4]. The Arduino programming interface enables users to program content and then upload the code via USB cable to the Arduino board, allowing it to operate without the computer. We selected the Boe-Bot Robot Kit from Parallax which utilizes the Arduino Uno processing board for use in our classrooms, Figure 3. These robots are more advanced to construct and program as well as easily interface with a robust array of sensors. Each robot kit used is available for less than $200 and are sold from many online vendors [5]. Although the programming the robots requires an understanding of computer coding, the kits have a well developed manual and online tutorials that walk students through the construction of simple robot processes like making an 343

Figure 3: Boe-Bot Robot Kit with Arduino Uno board, ultrasonic range finder, and LCD screen. LED blink, up to obstacle avoidance using an ultrasonic range finder [6]. ROBOTS IN THE CLASSROOM The Arduino robots were used to help teach students pre-calculus and calculus topics by generating data for hands on experiments. Students were involved in robot assembly by attaching and wiring the sensor to their robots. However, the robots used were programmed by the instructor in advance based on the students limited experience with coding and the short 55 minute class period. If time allows we recommend dedicating a lab hour or multiple lessons to robotics which allows students the opportunity to program their own robots. This engages student creativity and problem solving skills as well as enhances the interdisciplinary aspect of the exercise. The following sections serve as a collection of lesson plans designed to demonstrate two calculus topics using robotics. The lessons are designed to be completed in 55 minutes with a class of twenty students. EXERCISE I: Average and Instantaneous Rates of Change (Calculus I) Lesson Objectives: 1. Explain the geometric interpretation of average and instantaneous rates of change. 2. Explain why the slope of the tangent line is the limit of the slopes of the secant lines. 3. Compute average rates of change (slopes of secant lines) and approximate instantaneous rates of change. 4. Understand the definition of velocity. 344

Assignment: READ: Section 2.1 in Stewart Early Transcendentals 8E DO: Stewart Early Transcendentals 8E: Section 2.1, Exercises 1, 2, 5, 7 Think About: 1. What is the relationship between secant lines and average rate of change? 2. What is the relationship between tangent lines and instantaneous rate of change? Materials Needed: Arduino Robots - Programs loaded and acoustic sensor removed (Enough for groups of 2-3 students) Activity 1: Introduction/ History of Robotics Discuss the early development of robots. Discuss the Three Laws of Robotics from Issac Asimov s I, Robot novels. Discuss modern applications of robotics (self-driving cars, drones for filming, manufacturing). Activity 2: Robot Construction Students start by attaching the acoustic sensor to the bread board. Students then follow instructions (printed/ slide) to connect the four wires from the bread board (sensor) to the designated ports. Finally, Attach the power supply cable. Activity 3: Data Collection Students place the robot perpendicular to a fixed vertical surface (ie. wall or door)with acoustic sensor facing the surface. Students then turn on the robot (using switch) and robot will drive way from the wall, reporting it s distance from the wall every 2 seconds. The experiment ends when the robot starts reporting unrealistic distance values (sensor no longer parallel to wall or effective range of sensor is exceeded). Students record the output from the LCD screen and repeat the experiment at least two more times, Table 3. Activity 4: Analysis Students plot the data from the three trials using a spreadsheet or analysis program and build a continuous model to represent the position function for 345

the robot s movement, Figure 7. Students can differentiate the model to predict the robot s speed at a teacher specified time. Pseudo Code for Exercise 1: procedure RateOfChangeExperiment 2: Initialize: 3: eventt ime clock for the experiment 4: distance distance from the start point 5: velocity robot speed 6: incriment used to increase robot speed 7: delay time between distance readings 8: Loop: 9: loop conduct experiment repeat 10: eventt ime = gettime() 11: print ( Time:, eventt ime,, distance, cm ) 12: velocity = velocity + incriment 13: vehicleforward (velocity) 14: distance = getdistance() 15: pause delay 16: end loop Time(s) Data(cm) 0 2.76 2 16.84 4 33.86 6 52.61 8 73.32 10 97.87 12 122.69 14 145.95 16 174.98 18 203.2 20 232.61 22 244.92 24 252.05 26 253.21 Table 1: Data Experimental Figure 4: Plot of Robot Position from Experimental Data EXERCISE II: Related Rates (Calculus I) Lesson Objectives: 1. Model and solve problems involving related quantities that change over time. 2. Implement the USMA Modeling Process for Related Rates Problems, Table 2. Assignment: 346

Phase Step Descriptive Title 1 Read and Understand the Problem 2 Draw a Picture/Diagram Transform 3 Define all Variables 4 Define all Derivatives 5 Define the Relationship Equation Solve 6 Differentiate with Respect to Time Interpret 7 Substitute and Answer the Question Table 2: USMA Modeling Process for Related Rates Problems READ: Section 3.9 in Stewart Early Transcendentals 8E DO: Stewart Early Transcendentals 8E: Section 3.9, Exercises 5, 13, 14, 15, 22, 29, 33, 37 Think About: 1. How can a good diagram or picture assist in setting up a problem that relates rates of change? 2. How can dimensional analysis assist in setting up a related rates problem? Materials Needed: Two Arduino Robots - Programs loaded and acoustic sensor removed. (Enough for groups of 4-5) Activity 1: Robot Construction Students start by attaching the acoustic sensor to the bread board. Students then follow instructions (printed/ slide) to connect the four wires from the bread board (sensor) to the designated ports. Finally, Attach the power supply cable. Activity 2: Modeling Process Introduce students to the seven step modeling process in Table 2. Highlight to students that the seven problem solving steps are nested within the USMA Math Modeling Process: Transform, Solve, Interpret. In steps 1-5, students transform the word problem into math notation. Then, in step 6 they solve by differentiating the relationship equation. Finally, students answer the question in step 7 and interpret the results to ensure it makes sense in the context of the problem. Problem Scenario: 347

Robot A is initially located 300 cm west of Robot B. At the same time, Robot A travels east at a constant speed for 15 seconds while Robot B travels north at a constant speed for 15 seconds. How fast is the distance between the robots changing at the instant before they stop? Activity 3: Robot Demonstration Start with the robots 300 cm apart with Robot A s direction of travel perpendicular to Robot B s direction of travel, as in Figure 5. Turn on the robots and run the program. Both robots will drive straight for 15 seconds and stop. The robots should be configured in a right triangle with the start point of Robot B. Students will Students take position measurements of each robot relative to the start point and then the distance between them. Students will use the data to compare to their theoretical answers. Figure 5: Initial Positioning of Robots Figure 6: Step 2 Diagram Activity 4: Problem Solving 1. Read Problem. 2. Draw a picture of the scenario, Figure 6. 3. Define variables. a= distance traveled by Robot A b= distance traveled by Robot B c= distance between Robot A and Robot B d= distance from Robot A to Robot B s start point (300 cm - a) t= time robots are traveling 4. Define derivatives. da dt db = speed of Robot A; = speed of Robot B dt 348

dc = rate at which distance between Robot A and Robot B changes dt 5. Define the Relationship Equation. Pythagorean Theorem. c 2 = (300 a) 2 + b 2 6. Differentiate the Relationship Equation. 2c dc dt = 2(300 a) da dt 7. Substitute and Solve. +2b db dt Rate = distance ; da = a; db = b time dt t dt t c = (300 a) 2 + b 2 dc = (a 300) a t +b b t dt (300 a) 2 +b 2 Additional Activities: Speed Estimation/ Model Development In this lesson students assume each robot has a constant acceleration and use the relationship that Rate = distance. However, each robot is programmed to time use the acoustic sensor to determine its position and display the distance traveled each second. Students can use this data and develop a continuous model that represents each robot s position as a function of time, see Table 3. Instructors can tie in concepts discussed in during earlier lessons on instantaneous rates of change and differentiation. Students can also use the robot data to fit a continuous linear or power model using a MS Excel or similar software package. A power model in the form f(x) =a(x c) b + d, with b = 1 was used to represent the movement of the robots, see Table 4. The initial model is created by estimating or solving for the parameters using data points and systems of equations. Students analyze the model s accuracy using r 2 or Sum of Squared Error then adjust the parameters to achieve a better fit to the data. Table 4 includes the Sum of Squared Error (SSE), Sum of Squared Totals (SST), and r 2 values for each model after optimizing with MS Excel Solver. Each model achieved an r 2 value of 0.99 which indicates a well fitting model. The plot in Figure 7 depicts the experimental data and velocity model for each robot. Students can utilize this plot to assess and confirm the accuracy of each robot s power model through visual inspection, eyeball test. Students can also interpret the plot and identify robot velocity as a linear function and therefore conclude that each robot had a constant velocity. 349

Figure 7: Robots A and B Position Data and Corresponding Velocity Models Time Robot A Model A Robot B Model B (s) (cm) (cm) (cm) (cm) 0 3.7 2.4 3.8 1.6 1 7.8 8.5 11.2 11.8 2 13.9 14.6 21.5 21.9 3 20.5 20.7 31.8 32.0 4 26.1 26.8 41.2 42.1 5 33.2 32.9 51.0 52.2 6 38.8 38.9 61.7 62.3 7 46.4 45.0 72.6 72.4 8 50.8 51.1 82.7 82.5 9 57.3 57.2 93.4 92.7 10 63.0 63.3 103.2 102.8 Table 3: Experimental Data and Fitted Power Models Model A Model B a 6.1 10.1 b 1 1 c 0 2.9 d 2.4 31.3 SSE 5.4 8.3 SST 4082.7 11250.1 r 2 0.99 0.99 Table 4: Velocity Model Parameters 350

Pseudo Code for Exercise 1: procedure RelatedRateExperiment 2: Initialize: 3: eventt ime clock for the experiment 4: distance distance from the start point 5: velocity robot speed 6: runt ime time that robot drives from start point 7: Loop: 8: while eventt ime <= runt ime do 9: eventt ime = gettime() 10: print ( Time:, eventt ime,, distance, cm ) 11: vehicleforward (velocity) 12: distance = getdistance() 13: end while 14: Stop Exercise: 15: if eventt ime > runt ime then 16: vehicleforward(0) 17: end if CONCLUSION Using robotics in the classroom helps to enhance student understanding of keystone calculus topics. These exercises take to seemingly intangible concepts from the students homework and allow them to fully experience the math. When students came to class they were excited to build the robots and then use them to collect data. Hands on experiments also allow students to engage their creativity and critical thinking skills, especially when they obtain unexpected data points. Educators can leverage these teachable moments to expand student learning beyond the calculus lesson. The affordability of programmable robotics kits drastically increases the feasibility of conducting class wide instruction for both students and educators. Incorporating innovative technology into the classroom will help inspire students and bring your calculus lessons to life. REFERENCES [1] D. of Mathematical Sciences, Core Mathematics, tech. rep., United States Military Academy, 2016. [2] Lego, Mindstorms, 2016. [3] Arduino, 2016. [4] H. Barragán, Wiring, 2016. [5] B. Minden, M. Mogensen, F. Wattenberg, and D. Wilkerson, MacGyver on the Hudson - Arduinos and Robotics, 2015. 351

[6] M. Mogensen, Mathematics and Robots, 2015. [7] M. Mogensen, Mathematics and Public Policy - Problems Considered in a First Year Mathematics Course at West Point, 2015. [8] F. Wattenberg and M. Mogensen, Mathematics: the Power Behind the Drone, 2015. [9] S. Wilkerson and F. Wattenberg, Sensors and Actuators, 2015. [10] J. Stewart, Calculus: Early Transcendentals, 8th Ed. Cengage Learning, 2016. 352