Tutorial: Making Legobot Move Steering Command Brighton H.S Engineering By: Matthew Jourden

Similar documents
Unit 03 Tutorial 3: Sensors: Touch Sensor Brighton H.S Engineering By: Matthew Jourden

EV3 Programming Workshop for FLL Coaches

LEGO Mindstorm EV3 Robots

This page outlines some of the alternate pieces that can be used for building.

ROBOLAB Tutorial MAE 1170, Fall 2009

Robotics 2c. The Programming Interface

LEGO mindstorm robots

Autonomous Parking. LEGOeducation.com/MINDSTORMS. Duration Minutes. Learning Objectives Students will: Di culty Beginner

Hands-on Lab: LabVIEW Angle Sensor

Robotics II. Module 3: Dealing with Files

Robot Navigation Worksheet 1: Obstacle Navigation

Robotics II. Module 2: Application of Data Programming Blocks

Robotics Study Material School Level 1 Semester 2

Introduction to Robotics using Lego Mindstorms EV3

What Is a Program? Pre-Quiz

Part A: Monitoring the Rotational Sensors of the Motor

lab A.3: introduction to RoboLab vocabulary materials cc30.03 Brooklyn College, CUNY c 2006 Name: RoboLab communication tower canvas icon

In groups take a Mindstorms kit and decide on what sort of chassis will work best.

Robotics II. Module 4: Bluetooth Communication

Robolab. Table of Contents. St. Mary s School, Panama. Robotics. Ch. 5: Robolab, by: Ernesto E. Angulo J.

Programming Techniques Workshop for Mindstorms EV3. Opening doors to the worlds of science and technology for Oregon s youth

Robotics II. Module 5: Creating Custom Made Blocks (My Blocks)

Lab1: Introductory and Setup Activities

Part A: Monitoring the Touch Sensor and Ultrasonic Sensor

Robotics II. Module 1: Introduction to Data & Advanced Programming Blocks

2Control NXT FAQ For the latest version of this document please go to > support

LEGO MINDSTORMS NXT Lab 4

contents in detail introduction...xxi 1 LEGO and robots: a great combination the EV3 programming environment... 5

EV3Dev Lessons. Introduction to EV3Dev: Setup with Python

Agreement. Objectives. General Guidelines for Labs. Reading Assignment

Don t Bump into Me! Pre-Quiz

LME Software Block Quick Reference 1. Common Palette

Tech Tips. BeeBots. WeDo

INDEX. Tasks 1-9. Tasks Tasks Tasks Tasks Tasks Tasks Tasks Tasks Tasks Tasks

Discover Robotics & Programming CURRICULUM SAMPLE

mbot v1.1 - Blue (Bluetooth Version)

Function Block Diagram Programming with PLC Tutorial

ideas with idea packet Mathbotics: Learning Math Through Robotics IMPACT Sponsored by:

Function Block Diagram Programming with PLC Tutorial

Module 2, Add on lesson Introduction to the NXT and Mindstorms software. Teacher. 45 minutes

Chapter 18 Assembly Modeling with the LEGO MINDSTORMS NXT Set Autodesk Inventor

WIZ-PRO2 CURRICULUM HIGHLIGHTS

Digital Devices in the Digital Technologies curriculum (F-10) Steve Allen VCAA Digital Coding Specialist Teacher

ROBOCUP RESCUE LEGO MINDSTORMS NXT-G TURN ON GREEN G. Tardiani NXTG Programming Guide 2008

EduRob EV3 Technical User Guide

Chapter 19 Assembly Modeling with the TETRIX by Pitsco Building System Autodesk Inventor

Using visual programming kit and Lego Mindstorms: An introduction to embedded system

Sunscreen Tester. Evaluation copy

SCRATCH BUILDER R Q R O B O T C O D I N G G U I D E

CaptureSpace Recording

1. Open PowerPoint and you will see the introductory screen that contains different themes and templates. From the selection displayed, choose Slice.

Studuino Programming Environment Manual

Motors & Wheels. Wheels can be attached to the KIBO s motors to make them spin. The motors can be attached to the KIBO robot to make it move!

Design and Implementation of a Real-Time Autonomous Navigation System Applied to Lego Robots

ST NICHOLAS COLLEGE RABAT MIDDLE SCHOOL HALF YEARLY EXAMINATIONS February 2016

PixyCam for MINDSTORMS Introduction

1. Select the Insert tab. 2. Click the Picture command in the Images group. The Insert Picture dialog box appears.

S3 Scratch Programming

Lab 1: Introductory Project to Breadware

ROBOLAB Reference Guide

Simulation of the pass through the labyrinth as a method of the algorithm development thinking

Tutorial: Basic G Code Programming By: Matthew Jourden Brighton High School Brighton, MI

index Symbols < (Compare block in Less Than mode), 98 (Compare block in Less Than or Equal To mode), degree coupled gears, 115,

Studuino Block Programming Environment Guide

University of Pennsylvania. Department of Electrical and Systems Engineering. ESE Undergraduate Laboratory. Introduction to LabView

Why robotics in Education? DEI The University of Padova

Some call it a robot. EV3 Programming APP Available March Locally operated globally connected. Freecall:

Module 2, Add on lesson Introduction to the NXT and Mindstorms software. Student. 45 minutes

BEGINNER PROGRAMMING LESSON

LEGO BB-8 Release: LEGO BB-8. Learn how to automate a LEGO BB-8for motion, light, and sound using Crazy Circuits. Written By: Joshua

The Lego Mindstorms Ev3 Discovery Book Full Color A Beginners Guide To Building And Programming Robots

AKCess Pro Server Access Control User Manual

Unit 5.6 3D Modelling

GRAPH MATCHING EQUIPMENT/MATERIALS

Project from Real-Time Systems Lego Mindstorms EV3

DATA ACQUISITION KIT DESCRIPTION INSTALLATION LAYOUT. Wirings connections

COPYRIGHTED MATERIAL. Introducing LEGO CHAPTER. Did you get a box that looks like the one shown in Figure 1-1?

Lesson 2: Input, Output, and Processing

All Blocks of Scratch

Using imovie to create a Digital Video Marshall G. Jones Winthrop University Edited by Lynn Cecil

Ch Mindstorms Package User s Guide

Studuino Programming Environment Manual

Department of Physics & Astronomy Lab Manual Undergraduate Labs. A Guide to Logger Pro

Tutorial : First board in CircuitMaker.

Java using LEGO Mindstorms and LeJOS. University of Idaho

Don t Steal My BBC micro:bit Alarm!

Technical Learning. To Get Started. 1. Follow the directions in the Constructopedia to build Robo 1.

Lego Wedo Users Guide Look At This To Get A Feel For Wedo

Introducing Cubelets. What do they do?

1. Establishing a WiFi Connection

FOOTBALLER ROBOT KIT C-9893

Software for Observation and Measurement SGMMS V2.6. Users Manual

Activity Basic Outputs Programming VEX

CHAPTER 3B: ELECTRONIC POWER STEERING

school robotics On the path to success with Brault & Bouthillier Education

Detailed Unit Plan: Year 10 STEM Electric Cars

Line Tracer. Assembly Instructions

A+ Suite Software. User Manual

Not For Sale. Glossary

US Version USER GUIDE COMPUTER SCIENCE SCIENCE TECHNOLOGY ENGINEERING MATH. LEGOeducation.com/MINDSTORMS

Transcription:

Tutorial: Making Legobot Move Steering Command Brighton H.S Engineering By: Matthew Jourden 1. Build Bas Robot. See Build Manual in the Lego Core Set Kit for details or Build Instructions Base Robot File on Website 1. Two types of movement Linear Direction and Tank Method. Each has their advantages and disadvantages. We will experiment with both. a. Move Steering Command will apply the same power, time direction to both motors at the same time b. Move Tank Command will allow the user to control each motor independently from each other. I.E Power can be different from the Right and the Left Motors. 2. Open Lego Mindstorm EV3 Labview Software (From Desktop or Start Menu)> Create a New Program a. File > New Project > Program b. Click on Plus Sign on the Tab Bar Action Tab (Green) Code Blocks that controls Motors, Sound, EV3 Screen, Etc. 3. Command Code Tabs Flow Control Tab (Orange) Code Blocks that has Loops, If/Then Statements, etc. Sensors Tab (Yellow) Code Blocks that controls Sensors Data Operations Tab (Red) Code Blocks that allow Variable and Mathematical Calculations to be used with other codes blocks( I.E Sensors ) Advanced Tab (Blue) Code Blocks with advanced functions (I.E File Data retrieval, Bluetooth connections, etc. My Blocks Tab (Teal) Code Blocks that the user has created. User setup a series of code that equals only one block instead of multiple blocks

Move Steering Movement 1. Click on the Action Tab (Green) at the bottom of the screen > Drag Move Steering Code Block (Looks like two motors w/ a steering wheel) on the work screen and connect to the Play button Steering Movement Options Overview Ports: Lists which Ports the Motors are wired too on the EV3 Brick Motor Control Options Controls how power will be applied to the motors thus controlling how long the motors will turn for Movement Options changes based on the On the Rotations Selections Off: Turns Motors off On for Seconds: Turns Motors on for a series of time On: Turns Motors On until user turns them off Steering and Power: See On Option for Details Time: Set duration motors will operate Brake/Coast Option Steering: controlled values 100 to -100. Controls Direction of Movement. Positive # s = Right Turns in U-Shape Direction Power: controls amount of power supplied to motors. Values 100 to -100 Positive # s=forward Negative # s= Reverse Continued on Next Page Negative # s= Left Turns in U Shape Direction

Steering Continued On for Rotations: Controls how many times the motors will cycle through before turning off. On for Degrees: Controls how many degrees of rotation the motors will have. Steering and Power: See On Option for Details Degrees of Movement: Type how many degrees motors will turn Brake/Coast Option Steering and Power: See On Option for Details Brake/Coast Option Rotations: Number of times engine will run before turning off 2. Set the Motor Control to On for Seconds > Set the following below a. On for Seconds b. Steering = 0 c. 2 Seconds d. Brake at End = Brake 3. File > Save Program > TutorialSteering 4. Attach your Lego Base Robot to your computer using the USB-MicroUSB Wire > Wait till the computer recognize the EV3 Brick 5. Upload TutorialSteering Program to the EV3 Brick > Wait till the upload is complete > Detach the MicroUSB Wire from the EV3 Brick > Test the TutorialSteering Program

Making the Lego Robot Turn 6. Add a Wait Code Block from the Flow Tab (Orange) to the Right of the Steering Command > Set time to 2 Seconds (See Code Below). This will make the Lego Drive Base pause before carry out the next command. It is recommend to have any robot pause and sense their environment before immediately starting to move again. The Wait/Pause can vary depending the task being performed. NOTE: The Wait command can be controlled by a variety of sensors (I.E. The robot will pause until on the sensors conditions are either true or false) 7. Add another Action (Green Tab) > Move Steering Command to the Right of the Wait Command > Set the following a. On for Rotations b. Steering = 40 c. 3 Rotations d. Brake at End = Coast NOTE: Can calculate the distance of Rotation by the following method: 1. Measure the circumference of the wheel 2. Run one rotation forward 8. Attach the EV3 brick to the computer using the USB to MicroUSB Wire > Upload Program to Brick > Detach wire after upload is complete > Run the Program 9. Add the following set of Code Blocks 10. Attach the EV3 brick to the computer using the USB to MicroUSB Wire > Upload Program to Brick > Detach wire after upload is complete > Run the Program

Adding a Start Button Flow Control > Drag the Wait Command at the beginning of the program line as follows > Change the setting to Brick Buttons > Compare > Set button to 2 (Middle button) > State 1 (Pressed). Once the middle mouse button is pressed the program will run and begin moving the robot Press State = Pressed Brick Setting > Compare > Brick Buttons Button Choice > 2

Save Program Answer on your Lab Sheet Question 1: Describe the difference in Brake at End (Brake vs Coast) Command. How did this affect the stopping of the vehicle? Question 2: What is the distance that your Robot traveled in the first move command (straight)? Question 3: What is the distance that your Robot traveled in the second move command (turning Right)? Question 4: Describe what happened in the third movement command. Describe how the degrees effected the movement and what was the distance traveled? Program 1: Line Follow Write a Program that will follow the black taped line, keeping your robot centered on the line, provided by the teacher. Have your Robot stop at the end of the tape. Use any combination of Move Steering Commands Submit 1. Show Teacher Completed Program 2. A screenshot of program 3. Answer the following questions a. What type of Movement (s) commands did you use to follow the line? b. How many movements did you need to incorporate in your program? c. How long did it take for your robot to complete the course? d. How did you figure out how to keep your robot closest to the line e. Did you robot stray off the course? Program 2: Picture Draw 1. Design a holder to your robot that will hold a predefined marker 2. Draw a picture that uses a minimum of 8 lines/arcs. Be sure the image is school appropriate.