EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Programming www.MrSheasPage.weebly.com.

Slides:



Advertisements
Similar presentations
EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner.
Advertisements

Sensors.
Wait, sound sensor >70, Port 2 Flowchart – Heartbeat 1 Start Motor A, Move Backward, 1/3 Rotation, Power 20 Wait, 1 Second Sound Sensor (Port 2) Less than.
Using the NXT Light Sensor. 2 Connect One Light Sensor – 1 From My Files use Left / Right NXT buttons and get to View menu and push Orange button. From.
An Intro to Robots and Computer Programming
©2006 CSUC Institute for Research in Intelligent Systems Introduction to Coding June 15, 2006.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Robotics Day4.
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.
Reviewing Common Blocks for St. Agnes Elementary School Teachers by Jenny Chang Feb. 26th, 2007 USC & University Neighborhood Outreach Robotics STEM program.
LEGO Mindstorms NXT Programming We will be using the Common Palette for our Robots This is how you download your program onto the brick Drag and drop a.
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.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Robot Construction & Programming Basics
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.
ORTOP WORKSHOP 3 ROBOT NAVIGATION & MISSIONS ORTOP WORKSHOP 3 ROBOT NAVIGATION & MISSIONS.
Getting Started! Lego Mindstorms Program NXT 2.0.
Robotics Overview of NXT-G Actuators in Mindstorms. Touch sensor Labwork: Right turn. Touch/bump. [Explore move versus Motor Move mini & motor mini. Motor*.]
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
A tiny turtle robot DEI The University of Padova.
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: EV3 Basics Introduction to the EV3 Brick and Software.
How to link the robot and the computer (Bluetooth) How to turn on and off How to connect the adaptor Fluke card connection Sec Getting Started How.
Conditions and loops Day 4 Computer Programming through Robotics CPST 410 Summer 2009.
According to the image, what is the file name? According to the image, what is the program name? Quiz Example.ev3 Falcon.
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.
Use the book to build and mount the light sensor on your robot. This will allow the robot to remain inside the blue square (fight ring) on the tile floor.
LEGO® MINDSTORMS® NXT Move Block.
By Droids Robotics INTERMEDIATE PROGRAMMIN G LESSON DATA WIRES.
By Droids Robotics INTERMEDIATE PROGRAMMING LESSON BRICK BUTTONS AS SENSORS.
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
1 ©2006 INSciTE Common Blocks. 2 ©2006 INSciTE Common Blocks Common blocks are full featured actions Like English statements Move Wait for an action Display.
Mindstorm NXT-G Introduction Towson University Robotics.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
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.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
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.
LOGICFUSION’S HANDS-ON ROBOTICS EV3 LEVEL 2! Welcome to.
LEGO Robotics Workshop
ORTOP Workshop 3 Robot Navigation & Missions
Ozoblockly Lesson 03 Beginner Programs
NXT-G Binary Bluetooth Functions
Mindstorm Robots 4th Grade Lesson 1.
By Sanjay and Arvind Seshan
Introduction To Programming with LEGO NXT 2
Using Switches to Program A candy Sorter
Loops and Switches Pre-Quiz
Music by Touch Music by Touch Presentation > TeachEngineering.org
Programming.
Module F: Presentation Understanding Robot Fundamentals
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
Sensors and Logic Switches
INTERMEDIATE PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSON
Controlling your quadcopter
INTERMEDIATE PROGRAMMING LESSON
Holyoke Codes LEGO ROBOTICS
Storing Values as Variables
BEGINNER PROGRAMMING LESSON
Using Switches to Program A candy Sorter
Lego EV3 Mindstorms SW Programming Blocks.
INTERMEDIATE PROGRAMMING LESSON
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
Lego MINDSTORMS EV3.
Getting started with LEGO EV3 Mindstorms software
BEGINNER PROGRAMMING LESSON
Controlling your quadcopter
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Programming

 Medium Motor  Large Motor (Individual)  Large Motors Steering  Large Motors Tank  Brick Screen Display  Brick Sounds  Brick Button Lights

This program block controls two motors at the same time in sync with each other.  Mode selector (first right) let you control the duration that the motors turn.  Block inputs provides the following functions:  Steering - steer the way a robot moves  Power - speed of the motors (negative = backwards)  Number of rotation/degree/second  Controls the duration of motor movement  Brake at End  True = Break after the duration set is over.  False = Coast at the end  Port selector (right top corner) let you select the ports that motors are connected. Typically Ports B & C The program above makes a robot move forward, with peed level 50%, for one second.

 Make your robot go forward for 4 sec and go backward for 5 sec and stop all.  Make your robot go forward for 2 sec, make it turn to the right (wide turn) for 3 sec, go backward for 0.5 sec and stop all.  Make your robot turn on the spot (spin) for 6 sec.  Make your robot start from the start line on the floor and turn the end line, then come back to where it started.

This program block controls two motors separately at the same time. This is a more accurate way of controlling the motion of your robot.  Mode selector (first right) let you control the duration that the motors turn.  Block inputs provides the following functions:  Power left - controls the power level of left motor  Power right - controls the power level of right motor  Number of rotation/degree/second  Controls the duration of motor movement  Brake at End  True = break after the duration set is over.  False = Coast at the end  Port selector (right top corner) let you select the ports that motors are connected. Typically Ports B & C The program provided makes a robot spin on the spot for 2 second.

This block controls two motors separately at the same time.  Mode selector (first right) let you control the duration that the motors turn.  Block inputs provides the following functions:  Power left - controls the power level of left motor  Power right - controls the power level of right motor  Number of rotation/degree/second  Controls the duration of motor movement  Brake at End  True = break after the duration set is over.  False = Coast at the end The program provided makes a robot spin on the spot for 2 second.  Port selector (right top corner) let you select the ports that motors are connected. The program provided makes a robot spin on the spot for 2 second. = LR LR LR LRLRLR = OPP. = > =

Attach a marker to your robot and use a large sheet of paper.  Make your robot draw a big circle.  Make your robot draw a triangle.  Make your robot draw a rectangle.  Make some shape (You pick the shape! Draw some shapes with difficult turns!)

This block controls two motors separately at the same time.  Mode selector (first right) let you control the duration that the motors turn.  Block inputs provides the following functions:  Power left - controls the power level of left motor  Power right - controls the power level of right motor  Number of rotation/degree/second  Controls the duration of motor movement  Brake at End  True = break after the duration set is over.  False = Coast at the end  Port selector (right top corner) let you select the ports that motors are connected.  Can be changed to select any port. The program provided makes the motor spin for 1 rotation at 50% power.

This block controls the medium motor.  Mode selector (first right) let you control the duration that the motors turn.  Block inputs provides the following functions:  Power - controls the power level of the motor  Number of rotation/degree/second  Controls the duration of motor movement  Brake at End  True = break after the duration set is over.  False = Coast at the end  Port selector (right top corner) let you select the ports that motors are connected. Typically Port A The program provided makes the motor spin at 50% power for 1 second.

This block controls the lights around the brick buttons.  Mode selector (first right) let you control function of the light  Block inputs allows you to select the color:  Color Selector: 0 = Green, 1 = Orange, or 2 = Red  Turn off or leave turned on after command

Displays and image, shapes, or words on the programmable brick’s screen EDIT Add more

 Produces a sound file, tone, or note from the programmable brick. EDIT Add more

 Start Block  Wait – Time  Loop Interrupter.  Switch  Loop

 The beginning of a programming block sequence.  More than one can be used at a time.  All Start Blocks begin when program is run

 Waits for the amount of time specifies in seconds Time is measured from the start of the Wait Block.

 Repeats the command or string of commands inside of it.  In unlimited mode, the robot will repeat the commands forever.  Any command blocks to the right of the loop will never be run.

 Lists the name of the block to be interrupted (top right corner)  When the Loop Interrupt block begins, the specified loop will end immediately and the program will skip to any blocks after (to the right) of the loop.

 Use Mindstorm program to demonstrate how to program the Sensor combo activities, students just did using the robot.

 Allows the robot to choose between two cases (True: & False: ) depending on the input from the chosen sensor

Degrees in a CIRCLE 180 ○ 360 ○ Degrees in half of a CIRCLE 180 ○ Degrees in a quarter of a CIRCLE 90 ○ Degrees in an eighth of a CIRCLE 45 ○ 135 ○ Left / CCW 0○0○ 360 ○ 90 ○ Right / CW 90 ○ Left / CCW 45 ○ Right / CW 135 ○ Right / CW 45 ○ Left / CW

Two complete rotations Three complete rotations Two and a half rotations One and an quarter rotations Two and three quarter rotations 360 ○ x 2 = 720 ○ 360 ○ x 3 = 1080 ○ 360 ○ x ○ = 1000 ○ 360 ○ + 90 ○ = 450 ○ 360 ○ x ○ + 45 ○ = 855 ○

Numbers: Letters: ABCD W X Y Z Program your robot to draw the following: Draw these items on the large paper of your group’s assigned color