© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Guard Robot Project.

Slides:



Advertisements
Similar presentations
Full Speed Ahead Introductory Presentation. Opening Activity Choose one of the objects to the right and in ten or more steps explain how it goes from.
Advertisements

© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Tree Surveying Existing Design.
CS0004: Introduction to Programming Repetition – Do Loops.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Mine Mapping Remote Communication.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Automated Mining Project.
Robot C Ready, SET, Go! Workshop SDSU, Fall 2013.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Programming
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Sentry System One-Way Communication.
Introduction to Sensors
Programming – Touch Sensors Intro to Robotics. The Limit Switch When designing robotic arms there is always the chance the arm will move too far up or.
Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range?
Tips for Success!. Laundry Mom’s not here to do it, and it’s not free! Some Basic Laundry Tips: Wash all colors in cold water Anything 100% cotton will.
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.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Tree Measurer Project.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Mine Mapping Scanning and.
Computer Science Lego Robotics Lab 07 Page 51. CS Lego Robotics Lab 07 (Updated ) Objectives: 1.Extend the Lego robot with three sensors. 2.Program.
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.
Unit 5 – “Watch Out!”. Introduction New Topics Case Structures New Functions Less? Comparison Function Ultrasonic Sensor.
Programming with Alice Computing Institute for K-12 Teachers Summer 2011 Workshop.
Getting Started! Lego Mindstorms Program NXT 2.0.
LabVIEW Basics Review LabVIEW Robotics Fundamentals.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Sentry System Engineering.
Using Waits, Loops and Switches WAIT please!. Waits, Loops and Switches Pre-Quiz 1. In programming, what is a loop? When is a loop useful? 2. How can.
INFORMATION SECURITY WHAT IS IT? Information Security The protection of Information Systems against unauthorized access to or modification of information,
Physical ways of keeping your system secure. Unit 7 – Assignment 2. (Task1) By, Rachel Fiveash.
 There are times when you will want blocks to repeat. Instead of duplicating blocks and ending up with a long script that might be confusing, there.
Sentry System Multiple Sensors
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.
LEGO® MINDSTORMS® NXT Move Block.
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
EG1003: Introduction to Engineering and Design Laboratory 4: Sensors.
How to make a Line Follow program Using EV3 software and an NXT light sensor.
Obstacle Detection. In the previous program the robot moves forward and then checks for something in the way. As we observed it only checks for things.
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.
Lego League. What is the Lego League? What we will be doing for the next few weeks The AIM of the next few weeks is to gain knowledge into programming,
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Sentry System Integration.
Forward Until Near Stop when near a wall.
Primary/secondary data sources Health and safety Security of Data Data Protection Act.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Sentry System Two-Way Communication.
LOGICFUSION’S HANDS-ON ROBOTICS EV3 LEVEL 2! Welcome to.
Introduction To Programming with LEGO NXT 2
Introductory Presentation
Loops and Switches Pre-Quiz
BEGINNER PROGRAMMING LESSON
Sensors and Logic Switches
Exploring Computer Science Lesson 6-5
Beginner Programming Lesson
Holyoke Codes LEGO ROBOTICS
Switch Blocks check a value and choose a path based on that value
Recap the basics Lesson 1.
While Loops and If-Else Structures
While Loops and If-Else Structures
While Loops and If-Else Structures
INTERMEDIATE PROGRAMMING LESSON
While Loops and If-Else Structures
BEGINNER PROGRAMMING LESSON
While Loops and If-Else Structures
Using Waits, Loops and Switches
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
Obstacle Detection.
While Loops and If-Else Structures
Lego MINDSTORMS EV3.
While Loops And If-Else Structures
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Guard Robot Project

© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Opening Activity What are some simple, common sense ways to maintain security in an office building?

© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Security Security in an office setting remains important to both individuals and the company –Workers typically leave portable items of moderate value (briefcases, radios, CDs, etc.) at their desks –The company has items of significant value in every office (computers, specialized equipment like cameras) Typical Office Desk Can you spot items that are less secure?

© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Security Information is also extremely important to keep safe –Company secrets –Customer information –Employee data –Computer passwords –Credit card information –Legal and other sensitive documents Sensitive Information Sensitive information was hidden in this publicly released document. What if the unmodified version were to be stolen from an unsecured office?

© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Security Simple measures can help to reduce “crimes of opportunity” –Report suspicious persons –Keep track of people entering and leaving the building –CLOSE AND LOCK DOORS Open Door It doesn’t matter how many locks you have if you forget to close the door…

© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Security Checking doors can be tedious and expensive –How many doors are in your school or home? –How long would it take to check them all? –How much would you have to pay someone trustworthy to check every one of those doors every night, including on weekends? –Could a robot save money here? Door Check Checking all the doors in a facility can take a very long time

© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Guard Robot: Programming Review Switch Block Loops GUI image courtesy of Cybermotion

© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Switch Block: Ultrasonic Sensor Switch Blocks… allow the program to observe a value, and choose between different paths of code to follow, based on the observed value. Sensor Switch Blocks… check a specified sensor to determine which group of blocks to run. Ultrasonic Sensor Switch Blocks… check an Ultrasonic Sensor reading against a pre-set threshold to decide which blocks to run. If the sensor reading is less than the threshold, the top “near” (flower) branch will run. If the sensor reading is greater than the threshold, the block will run the bottom “far” (mountains) branch. Keep Your Distance Based on the value of the Ultrasonic Sensor, this Switch will either move backward (if the sensor value is less than the threshold), or move forward (if the sensor value exceeds the threshold)

© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Infinite Loop The Loop Block runs the blocks inside it over and over again, until a certain stopping condition is met. The infinite loop or “forever” loop has no stopping condition, and therefore will repeat the blocks inside over and over, forever. Back and Forth The loop causes the robot to repeat the forward-then-back motion forever

© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Simple practices like closing doors when leaving the office can help to reduce significant security risks It is time-consuming and tedious to check all the doors by hand A robot can potentially save time and resources by performing this task Summary The Ultrasonic Sensor Switch Block lets you choose which code to run based on the value of an Ultrasonic Sensor versus a threshold Loops run the same piece of code over and over again until a certain condition is met