LEGO Robotics Workshop

Slides:



Advertisements
Similar presentations
Intermediate Robotics Getting to the Next Level Guiding Question: How might I move the robot consistently, accurately, and predictably? –Review basics.
Advertisements

EV3 Workshop Curriculum Developed by Joe DeRose, Ph.D.
LabView Basics.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Programming
Introduction to NXT Software and Functionality Bot’oberfest October 15, 2007.
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
The NXT is the brain of a MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform.
What is RobotC?!?! Team 2425 Hydra. Overview What is RobotC What is RobotC used for What you need to program a robot How a robot program works Framework.
Introduction to LEGO NXT 6 hour course. Introductions You Your Expectations.
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Programming 101 The Common Palette Content provided by Connor Statham (6 th Grade Student) Formatting by Shannon Sieber.
Adapted for STLP Camp ‘09 Mobile Robots Why do robots need to move?
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class 2.
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
Sentry System Multiple Sensors
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.
How to Use EV3 Lessons. OVERALL STRUCTURE Beginner Lessons: These lessons will teach you to move and turn the robot, use the sensors, and use loops and.
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
ROBOTC Software EV3 Robot Workshop
Mindstorm NXT-G Introduction Towson University Robotics.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
ROBOTC Software EV3 Robot Workshop Lawrence Technological University.
Deriving Consistency from LEGOs What we have learned in 6 years of FLL by Austin and Travis Schuh © 2005 Austin and Travis Schuh, all rights reserved.
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.
Lego Mindstorm Robots 9797 kit.  Students will learn how to identify how to detect a change in a condition.  Students will learn where and how to identify.
USING SWITCHES TO PROGRAM A CANDY SORTER DESIGNED FOR USE WITH LMS EV3 PROGRAMMING AND BUILDING ENVIRONMENT.
Python Programming Module 4 Sensors and Loops Python Programming, 2/e1.
Introduction to Robotics using Lego Mindstorms EV3 Shreya Reddy & Kiran Raja RoboAvatars Robotics.
Presentation Outline I. Background Information II. Design Project
How to design, build, and program a LEGO robot!
Introduction to Programming in RobotC
2.8 NXT Test Programs (Try Me Mode) U2C8
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
LEGO MINDSTORMS PROGRAMMING
Exploring Computer Science Lesson 6-5
Deriving Consistency from LEGOs
Mindstorms EV3 Programming
Understanding Communication with a Robot? Activity (60 minutes)
By Sanjay and Arvind Seshan
Mindstorms EV3 Programming
Programming Part 2 Mod Kit
Using Switches to Program A candy Sorter
Mindstorms EV3 Programming
Building a competition robot
Loops and Switches Pre-Quiz
Music by Touch Music by Touch Presentation > TeachEngineering.org
Automation and Robotics
Module F: Presentation Understanding Robot Fundamentals
BEGINNER EV3 PROGRAMMING Lesson
Robot Programming Computer Literacy S2.
BEGINNER EV3 PROGRAMMING Lesson
Exploring Computer Science Lesson 6-5
BEGINNER PROGRAMMING LESSON
Controlling your quadcopter
An Introduction to VEX IQ Programming with Modkit
Holyoke Codes LEGO ROBOTICS
Storing Values as Variables
BEGINNER PROGRAMMING LESSON
Using Switches to Program A candy Sorter
Lego EV3 Mindstorms SW Programming Blocks.
Computer Science Teachers Association Academy Lego Robotics
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
Compiled from various Internet sources Presented by Mr. Hatfield
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Lego MINDSTORMS EV3.
Oregon Robotics Tournament and Outreach Program
Getting started with LEGO EV3 Mindstorms software
Controlling your quadcopter
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

LEGO Robotics Workshop Copyright © Leland Robotics Team 604, 2017. All rights reserved

Overview Day 1 - Hardware and Robot Parts Day 2 - Software and Programming Day 3 - Complete Challenges! Goal: Prepare you to be successful in FLL

Robot Parts and Design Day 1

The Brick This is the robot’s brain! It stores instructions for the robot, which is what you’ll be programming! Wires connect the brick to motors and sensors.

Brick Functions Display On/OK Button Off/Back Button Up/Down Buttons Left/Right Buttons

Brick Functions

The Brick (cont.) Ports A,B,C,D are for motors, motors can be connected to any of these ports Underneath is the battery compartment; battery level affects how the robot runs Ports 1,2,3,4 are for sensors, any sensor can be connected to any of these ports

Motors Motors: These control robot movement and have internal sensors that can detect how much the motor has rotated. Large Motor: Better for heavier, larger things Medium Motor: Better for lighter things, rotates more quickly

Sensors Sensors: Ultrasonic Sensor: Used to measure distance Touch Sensor: Used to sense pressure (like a button) Light/Color Sensor: Used to detect color or light Gyro Sensor: Used to measure rotation

Pegs and Connectors Basic pegs/pins and connectors used in building. Used to connect things together, mostly to fasten them.

Axles Axles can be used to connect things that should not spin relative to the axle

Spacers Spacers are used on axles to keep things a certain distance apart, or to hold things in place

Beams Beams are used to create support structures, and are usually connected by pegs

Gears Gears can be used to translate motion into different directions

Gears Gears can be used to speed things up.

Gears Gears can be used to increase the strength of motors.

When Designing Your Robot, Make Sure It... Has reasonable dimensions Generally, a smaller, simpler robot is better Is balanced The best way to do this is to put the brick on top of the motors You don’t want this to happen: Has a low center of gravity You know that your robot has a high center of gravity if you can push it over easily Is adaptable Bonus points if you can use the same robot for different tasks!

3 Wheel Design Very easy to turn, Less friction (fewer points of contact with floor), Not as stable or balanced as other designs

Tread Design: Lots of traction/friction, Very balanced and stable, Easy to turn, Slow

4 Wheel Design Balanced weight distribution, stable (4 points of contact), Good speed, More Friction, Harder to turn

Some Ideas...

Build a Robot Base! There are many different ways to use the parts provided in the kits!

Basic Programming Concepts Day 2

Programming Environment The EV3 Programming Environment uses colorful blocks to create programs, but most languages use text. For the robot to understand the program, it must first be converted into a different kind of code that it can read; this is called compiling. This code is then downloaded from the computer to the robot to be executed or run. (see the button on the lower right window) Each block has parameters, or settings, which control many different functions in the robot. These are move blocks Which ports the motors are connected to How many times your robot will do the action These are Parameters How fast you want your robot to move

Store multiple programs into one file Don’t forget to save your program! This starts a program

Motor Blocks Sensor Blocks Variables and Operations Press to download the program onto the EV3 brick Flow Blocks The different types of blocks used in basic programming

Move Blocks Choose how much to turn Start Choose power of each motor Choose power of both motors Move Tank: This block also allows you to control 2 motors at once, but instead of choosing how much to turn, you choose how fast each motor turns Move Steering: This block allows you to control 2 motors at once, and lets you choose how much you want the robot to turn

Motor Blocks These motor blocks are used when you want to move only 1 motor at a time. Motor Ports Modes Large Motor Block Medium Motor Block Modes: # Rotations, Degrees, Seconds, On, Off

Wait Blocks Wait Block: Used to pause your program until a certain condition is met Condition Parameter E.g. 1 sec Condition E.g. time Conditions: Time, Sensors

Loop Blocks Loop Name Loop Block: Used to repeat a sequence of blocks until a certain condition is met Condition Repeated Sequence Conditions: Count, time, sensor input,

Switch Blocks Block sequence executed if test is passed Switch Block: Used to perform 2 different sequences blocks based on the results of a test Block sequence executed if test is failed Testing method Testing Methods: Sensor tests Test Conditions depend on the test Test Condition

Loop Interrupt Block Name Loop Interrupt Block: Use to break out of a loop before the condition is met Use a “Loop” if you want something to be done over and over until something happens Use a “Switch” if you need to choose between two actions Use “Wait” blocks to debug your program

Data Wires Port Touch Sensor Block Data wires are used to input data from one block to another Data Input Data Output Types of Data: Numeric Values or Numbers, Logic Values - true or false,

Light/Color Sensor Block Port Light/Color Sensor Block: Use this block to measure the color of something, or the brightness of the light Measurement Data Wire Output Mode Modes: Measure color or light, compare color or light, calibrate

Light/Color Sensor Block - Calibration Calibration: The process of setting a standardized scale for making measurements For the light sensor, we need to calibrate, or set, what the lowest brightness is, because brightness is relative The value set to the measured brightness Mode: Set Min or Max Modes: Measure color or light, compare color or light, calibrate

Ultrasonic Sensor Block Port Ultrasonic Sensor Block: Use this block to measure distance from an object or a surface Measurement Data Wire Output Mode Modes: measure or compare distance in inches or cm

Motor Rotation Sensor Block Port Motor Rotation Sensor Block: Use this block to measure how much a motor has rotated, or to measure its power. Measurement Data Wire Output Mode Modes: measure rotations, degrees, or motor power

Variable Block Name Variable Block: Use to store information or values from other sensors Variable Type Input Area for Data Wires

Following a Line If test is passed (color sensor detects black), then one motor moves forward so that the robot turns slightly away from the black line, but moves forward slightly If test is failed (color sensor does not detect black), then the other motor moves forward so that the robot turns slightly back toward the black line, but moves forward slightly Switch, testing for black line Infinite Loop

Don’t forget to ask for help! But before you ask one of us, try to do it yourself!

Let’s Build a Robot! Day 3

Building Using all of the skills that you’ve learned over the past two days, build and program your own robot Don’t use the instructions booklet!

Challenges (Choose 1) Follow a line to the wall, then follow the line back Push an object into a marked area Differentiate between colored squares Navigate the robot through a series of obstacles

Contributors to Curriculum Evan Leung Kayla McMurray Brian Ng Richard Feng Aanya Subramaniam Thuy Nguyen Preet Amin

Workshop Mentors Evan Leung Kayla McMurray Brian Ng Richard Feng Aanya Subramaniam Thuy Nguyen Thenu Senthil