An Introduction to VEX IQ Programming with Modkit

Slides:



Advertisements
Similar presentations
Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
Advertisements

Bug Session One. Session description In this session, pupils are introduced to a programming sequence which will make a light pattern on their Bug. Objectives.
Vex Robotics Introduction to Sensors. introduction to sensors Sensors assist robots in seeing and feeling the physical world through which they travel.
Available at: – Program Optical Quad Encoders in Autonomous Mode Program optical quad encoders in autonomous mode.
EducateNXT NXT... an introduction The Kit and the Software.
Bug Session Two. Session description In this session the use of algorithms is reinforced to help pupils plan out what they will need to program on their.
Bug Session Three. Session description In this session, pupils will discover how the Bug software makes drawing shapes easier (this is based on the use.
Testbed: Exercises.
Loops and Switches. 1. What kind of blocks are these? 2. Name two kinds of controls that can be specified to determine how long a loop repeats. 3. Give.
Bug Session One. Session description In this session, pupils are introduced to a programming sequence which will make a light pattern on their Bug. Objectives.
Open and Closed Loops Standard Grade Computing Studies.
BEGINNER PROGRAMMING Lesson
Available at: Lesson 3.6 – Program Line Follower in Autonomous Mode Program Line Follower in Autonomous Mode.
L ILY P AD T RAINING C ENTENNIAL E LEMENTARY 2012 Material by Linz Craig Revision by Sarah Bloms Additional images by Modkit & Adam Meyer.
Available at: Lesson 3.5 – Program Light Sensor in Autonomous Mode Program Light Sensor in Autonomous Mode.
Technical Writing for Robotic Coding!.  du/products/teaching_robotc_cort ex/fundamentals/introtoprogramm ing/thinking/videos/fundamentals.
Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks.
Castor Bot. Now, we will begin creating a robot Log onto your computer On your screen, click on the website labeled “castor bot” Your building instructions.
Find the Mindstorms Icon on the computer.. To start a new program click go.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
Lesson 1: Motors and Sound Programming Solutions.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
LESSON 05 Using the Touch LED The Touch LED The purpose of this lesson is to introduce students to the Touch LED Sensor and how they can be used on a.
Unit 1 - Introduction to VEX Robotics
INTRODUCTION Robots have been part of our fantasy and science fiction for many years. In the last few decades robots have also become a reality of everyday.
An Introduction to Programming with C++1 An Introduction to Control Structures Tutorial 1.
LESSON 05 Using the Touch LED. LESSON 05 Using the Touch LED.
Adding the Cortex and Testing Lesson 03. OBJECTIVES FOR TODAY By the end of this lesson you will be able to: Complete construction of the VEX Clawbot.
Project Overview  Introduction  Clawbot Build  Design Modification  Design Development  Programming  Sensors  Advanced Sensors  Open design challenges.
ROBOTC for CORTEX Teacher Training © 2011 Project Lead The Way, Inc. Automation and Robotics VEX.
With. Project Overview  Introduction to Factory Automation Numerical Control  Build an autonomous robotic solution  Testing an autonomous robot build.
BEGINNER PROGRAMMING LESSON
VEX IQ Gyro Sensor Measures rotational angle of the robot
The Corridor Challenge
Introduction to Programming in RobotC
VEX IQ Curriculum It’s Your Future Lesson 11 Lesson Materials:
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
An Introduction to VEX IQ Programming with Modkit
Lego Robot Challenge.
Project Overview Introduction Clawbot Build Design Modification
Ozoblockly Lesson 03 Beginner Programs
Exploring Computer Science Lesson 6-11
VEX IQ Mix & Match Curriculum
Using the Colour Sensor
An Introduction to VEX IQ Programming with Modkit
By Sanjay and Arvind Seshan
By Sanjay and Arvind Seshan
Exploring Computer Science Lesson 6-11
Using the Bumper switch
Most Basic Programming
Programming Part 2 Mod Kit
Loops and Switches Pre-Quiz
Automation and Robotics
Beginner Programming Lesson
BEGINNER PROGRAMMING Lesson
An Introduction to VEX IQ Programming with Modkit
Beginner Programming Lesson
Holyoke Codes LEGO ROBOTICS
Line Following Behavior
Recap the basics Lesson 1.
Beginner Programming Lesson
An Introduction to VEX IQ Programming with Modkit
BEGINNER PROGRAMMING Lesson
Objective of the lesson
Recap the basics Lesson 1.
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
An Introduction to VEX IQ Programming with Modkit
Intro to Robotics It’s YOUR FUTURE.
Lego MINDSTORMS EV3.
Exploring Computer Science Lesson 6-11
Presentation transcript:

An Introduction to VEX IQ Programming with Modkit Robotics Lesson Materials: VEX IQ sensor car (per 2 students) Computer running Modkit (per 2 students) An Introduction to VEX IQ Programming with Modkit Lesson 02

Google Car Re-introduce concept of Google car in action. Compare with our car so far. Today: visual feedback for user (like reversing light on real car)

Assembling The Robot Assemble your robot: use drivetrain and Touch LED only. (Make sure to guide students to choose the right ports)

Programming our robot Program: moving forward and back (using distance or time it) with LED colour feedback. Have a look and discuss other drivetrain blocks (such as turns).

Programming a loop: brief Challenge You need to program the robot to…. Make our car drive forward with a green light after 3 seconds make it go back with a white light 3 seconds later make it turn right with a red light Wait 1 second, then repeat all the instructions twice Introduce different types of loops/repeat structures (repeat / forever blocks). Guide students to create this program brief.

Programming a loop Only the brain section with the loop is shown here. The other routines have been built previously (or are simple adjustments).

Debugging a program: brief Challenge You need to program the robot to…. Make the LED glow blue to signal the program is starting. Drive forward 100mm and back again 4 times, wait 2 seconds in between movements. Make the LED glow green when going forward and white when going back. At the end of the program make the LED glow red for 3 seconds, then switch it off. Hand out program (or download for students) with mistake, explain what you want the program to do.

Debugging a program Ask students what will happen when program runs. Run the program to see. Find the mistake (the bug) and fix it (debugging). Solution: lights need to be switched on in the GETREADY routine, the loop in the brain needs adjusting (DRIVEBACK should be in the loop) The light needs to be switched off after 3 seconds at the end of the program.

Summary Today you have: Learned to add the Touch LED to you robot. Learning objective: Learn to program a VEX IQ robot with drivetrain and Touch LED sensor. Learn about repeat structures and debugging. Today you have: Learned to add the Touch LED to you robot. Programmed a robot to work autonomously. Learned how to use repeat structures. Learned to debug an algorithm.