Introduction to Data & Advanced Programming Blocks ROBOTICS II Module 1 Done by: Eng Nooran Drak.

Slides:



Advertisements
Similar presentations
NXT 2-Motor Car Adapted from Physics by Design, Second Edition, by Barbara Bratzel, College House Enterprises, 2007 MAXA ROBOTICS 2011.
Advertisements

Dublin Robotics Boosters NXT-Step Programming Workshop.
08/2012Tanya Mishra1 EASYC for VEX Cortex Llano Estacado RoboRaiders FRC Team 1817.
Graphical RobotC NXT (EV3) Robot Workshop 2015 Instructor: Dr. Fred Brauchler Assistant: Chris Parker 2/7/2015Lawrence Technological University1.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Mine Mapping Choose a Sensor.
Vex Robotics Introduction to Sensors. introduction to sensors Sensors assist robots in seeing and feeling the physical world through which they travel.
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.
Autonomy using Encoders Intro to Robotics. Goal Our new task is to navigate a labyrinth. But this time we will NOT use motor commands in conjunction with.
More switches Day 6 Computer Programming through Robotics CPST 410 Summer 2009.
QUERYING A DATABASE By: Dr.Ennis-Cole. OBJECTIVES: Learn how to use the Query window in Design view Create, run and Save queries Define a relationship.
Introduction to Sensors
EducateNXT NXT... an introduction The Kit and the Software.
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.
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.
EG1003: Introduction to Engineering and Design Sensors.
© 2011 Delmar, Cengage Learning Chapter 8 Building Complex Animations.
Robotics Catchup/Review: switch, arithmetic, range, loop Bluetooth Lab: Finish parallel parking. Next: Use Bluetooth communication for calculate & send.
JavaScript Events and Event Handlers 1 An event is an action that occurs within a Web browser or Web document. An event handler is a statement that tells.
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.
Computer Science 1000 Spreadsheets II Permission to redistribute these slides is strictly prohibited without permission.
Working with Numbers in Alice - Converting to integers and to strings - Rounding numbers. - Truncating Numbers Samantha Huerta under the direction of Professor.
Adapted for STLP Camp ‘10 STLP Robotics Camp June 3 & 4.
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.
Robotics NXT sensors Back to Light sensor: red vs blue ball.
Adapted for STLP Camp ‘09 Mobile Robots Why do robots need to move?
Introduction to the Basic Parts of LEGO’s NXT Robotics
ROBOTICS MY BLOCKS. OBJECTIVES Create, edit and configure a my block Insert a my block inside a program and test its functionality.
Introduction to Robo Pro
ADVANCED EV3 PROGRAMMING LESSON
Reactive robots UPNA The Public University of Navarra Material for pupils & students.
© Copyright 1992–2004 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. C How To Program - 4th edition Deitels Class 05 University.
LabVIEW Basics Review LabVIEW Robotics Fundamentals.
More switches, Comparison Day 7 Computer Programming through Robotics CPST 410 Summer 2009.
Forging new generations of engineers
Robotics Light sensor. Calibration. Reverse engineering challenge. Lab work: Create and show your program. Add light sensor (different orientations). Robot.
Application of Data Programming Blocks. Objectives  Understand the use of data programming blocks and their applications  Understand the basic logic.
The LOGIC and MATH blocks Day 9 Computer Programming through Robotics CPST 410 Summer 2009.
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.
Comparison the RANGE block Day 8 Computer Programming through Robotics CPST 410 Summer 2009.
By Eric Greene RMS / I. S. 192 Q. Smart Start Question How would you get the robot to flirt with disaster by touching the edge of the “table” as many.
Robotics NXT-G: variables, file Rotation sensor Lab: Use buttons to hit specific ball. Homework: Postings. Start planning mapping the room.
How a Computer Processes Data. With today’s technology a little knowledge about what’s inside a computer can make you a more effective user and help you.
CHAPTER 2 The Game Loop - Variables, Types, Classes and Objects in XNA XNA Game Studio 4.0.
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
Introduction to Computer Programming - Project 2 Intro to Digital Technology.
Module 3: Dealing with Files Robotics – ll. Objectives Understand the file access block and its configuration Create and use files inside NXT programs.
Data Hubs and Wires. Begin by adding a basic Move block, 5 rotations 75% power.
EG1003: Introduction to Engineering and Design Laboratory 4: Sensors.
Vex Robotics program three: using motors and sensors together.
Introduction to Programming in RobotC
Using the Lego Mindstorms Edu NXT Software
BEGINNER PROGRAMMING LESSON
Mindstorms EV3 Programming
Mindstorms EV3 Programming
Introduction To Programming with LEGO NXT 2
Bluetooth example Presentations Lab: building projects
Mindstorms EV3 Programming
Software Programming J. Holvikivi 2014.
Module F: Presentation Understanding Robot Fundamentals
Displaying sensor values while a robot is running
Sensors and Logic Switches
Line Following Behavior
Storing Values as Variables
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

Introduction to Data & Advanced Programming Blocks ROBOTICS II Module 1 Done by: Eng Nooran Drak

Objectives

Introduction Robots perform a wide variety of important jobs. For example, robots explore other planets, investigate deep-sea volcanoes, assemble automobiles, and perform surgery.

Examples

Programming Palettes Common Palette Complete Palette Custom Palette

Common Palette has the most commonly used blocks, giving you quick access to the blocks that you’ll use most frequently.

Complete Palette includes all the available blocks, including the ones on the Common Palette

Custom Palette includes blocks that you create or downloaded from the Internet

Activities 1,2 & 3 on pages 4 -5

Data Programming Blocks Data Programming Blocks are used to set up Boolean logic, random conditions, ranges and threshold for sensors, logical comparisons, creating variables and constants. Data Blocks

Logic Block Logic Block: The Logic Block lets you combine multiple conditions, allowing your program to make more complex decisions. This lets your program ask questions like “Is the Touch Sensor pressed and the Light Sensor reading greater than 50?”

Math Block Math Block: The Math Block is used to perform any calculation your program needs. You can use the math block to calculate the distance your robot is moving and the total score for a basketball machine.

Compare Block

Range Block Range Block: The Range Block determines whether a number is inside or outside a range of numbers. There are two questions you can ask using the Range block: “Is the test value inside the range (between the lower and upper limits)?” and “Is the test value outside the range (less than the lower limit or greater than the upper limit)?”

Random Block Random Block: The Random Block is used to generate a random number. You can use this block to create robotic games or to add some randomness to your robot’s behavior. Often a robot that is a little unpredictable can be more interesting or seem to have more personality.

Variable Block Variable Block: The variable Block stores and retrieves variable values. You can save sensor readings in a variable and then update them after performing mathematical values.

Constant Block Constant Block: Constant Block is used to access constants in your program. This block looks like the Variable block, with a lock added to show that the value cannot be changed.

Advanced Programming Blocks Advanced Block

Number To Text Block The Number to Text Block converts a number to its equivalent text data. You can use this block to convert the sensor readings to a text that can then be displayed on the NXT screen.

The Text Block lets you join together up to three pieces of text, which can be useful for adding labels to values you display on the NXT’s screen. Text Block

The Keep Alive Block lets you prevent the NXT from turning itself off. The icon for this block is a pair of Zs (to indicate sleeping) crossed out using a red circle with a line through it. Having the NXT go to sleep is useful for saving your batteries; however, you may want to prevent the NXT from turning off while your program is running. That’s where the Keep Alive block comes in. Keep Alive Block

The File Access Block allows you to create your own files on the NXT, which you can use to store any data that your programs use. The information you store in a file is persistent, meaning that it’s still available after your program ends, even if you turn off the NXT. File Access Block

The Calibrate Block is used to calibrate light and sound sensors by adjusting the minimum and maximum values of the sensor. Calibrate Block

The Reset Motor Block resets the adjustment value of the motor to zero. Reset Motors

LAB ACTIVITY 1

LAB ACTIVITY 2

REVIEW QUESTIONS (MODULE)

APPENDIX I – EXPLORER ROBOT BUILDING GUIDE.