Data Hubs and Wires. Begin by adding a basic Move block, 5 rotations 75% power.

Slides:



Advertisements
Similar presentations
EducateNXT Follow the Leader Using Bluetooth communication, one robot can be made to follow the actions of a second robot. Features in this presentation:
Advertisements

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.
Follow The Guidelines Introductory Presentation. Opening Activity Make a prediction about how light sensors will use thresholds. Keep in mind: We used.
EducateNXT Navigation Accuracy 4 Poles Challenge Programming the EduBot before trialing on the course.
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.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Automated Mining Project.
EducateNXT Line Following With One Light Sensor. EducateNXT Attach a light sensor To attach a light sensor to the EduBot, refer to pages of the.
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.
/t/ / I d/ /d/ Try Again Go on /t/ / I d/ /d/
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.
Variables, logic and sensors Day 3 Computer Programming through Robotics CPST 410 Summer 2009.
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.
Program ultrasonic range sensor in autonomous mode
Programming 101 The Common Palette Content provided by Connor Statham (6 th Grade Student) Formatting by Shannon Sieber.
LabVIEW Program and Data Flow Review LabVIEW Robotics Fundamentals.
ROBOTICS MY BLOCKS. OBJECTIVES Create, edit and configure a my block Insert a my block inside a program and test its functionality.
Introducing Cubelets What do they do?
More switches, Comparison Day 7 Computer Programming through Robotics CPST 410 Summer 2009.
Programming a light sensor to follow a black line.
Vex Robotics Programming Sequence. Now that you’ve had some practice downloading and using the included programs, it's time to learn to write some of.
Random numbers in Alice 3. Create world, add character (“Red” in this example) Dragged walk tile to right onto Run method. Click on “??? “ part of Tile.
Robotics Light sensor. Calibration. Reverse engineering challenge. Lab work: Create and show your program. Add light sensor (different orientations). Robot.
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
Application of Data Programming Blocks. Objectives  Understand the use of data programming blocks and their applications  Understand the basic logic.
A tiny turtle robot DEI The University of Padova.
Get In Gear Introductory Presentation. Opening Activity Describe to a partner what “speed” is. Give a verbal definition, any equations you know, and examples.
The LOGIC and MATH blocks Day 9 Computer Programming through Robotics CPST 410 Summer 2009.
Motors and Sound Troubleshooting Tips. © H-CCS Problem 1 Why can’t I download my program to the RCX?
Real-Time Data through Data Hubs. Begin by adding a basic Move block, 5 rotations 75% power.
Introduction to Data & Advanced Programming Blocks ROBOTICS II Module 1 Done by: Eng Nooran Drak.
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
CS320n –Visual Programming
Conditions and loops Day 4 Computer Programming through Robotics CPST 410 Summer 2009.
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.
CS320n –Visual Programming More LabVIEW Foundations.
Find the Mindstorms Icon on the computer.. To start a new program click go.
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.
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
Digital Electronics and Computer Interfacing Tim Mewes 2. LabVIEW Basics part II.
How to make a Line Follow program Using EV3 software and an NXT light sensor.
Vex Robotics program three: using motors and sensors together.
By Droids Robotics INTERMEDIATE PROGRAMMIN G LESSON COLOR LINE FOLLOWER MY BLOCK WITH INPUTS: MOVE FOR DISTANCE.
Mechanical Components and Programming Ken Youssefi Introduction to Engineering – E10 1.
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.
Instructions Quit H Robinson. Quit Start Game H Robinson Instructions: Enable Macros when prompted. If you were not prompted then open PowerPoint, go.
Get In Gear. Opening Activity Describe what “speed” is. Give a verbal definition, any equations you know, and examples of different speeds.
Using the Lego Mindstorms Edu NXT Software
Understanding Communication with a Robot? Activity (60 minutes)
Robotics Careers Content-Objective:
Basics for Robotics Programming
Module F: Presentation Understanding Robot Fundamentals
Displaying sensor values while a robot is running
Sensors and Logic Switches
Loops with Multiple Sensor Controls
INTERMEDIATE PROGRAMMING LESSON
Follow The Guidelines Light Sensor
INTERMEDIATE PROGRAMMING LESSON
Holyoke Codes LEGO ROBOTICS
Switch Blocks check a value and choose a path based on that value
Introductory Presentation
Storing Values as Variables
Introductory Presentation
Introductory Presentation
Introductory Presentation
The programming page of the Brick
Getting started with LEGO EV3 Mindstorms software
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

Data Hubs and Wires

Begin by adding a basic Move block, 5 rotations 75% power

In the lower left corner of a Move block you can see a thin notched area where the cursor changes to a pull down icon. Click in this corner to open the Move Block’s data hub

The data hub is like the manual override area for all the controls you have on the block. In the configuration panel you normally have power set to 75%. The data hub allows you to use a different data source to override the configuration panel setting Left Motor Right Motor Other Motor Direction Steering Power Duration Next Action

From the data palette add a random block to the left of the move block The random block opens with its data hub already open.

Use the random block to override the “Power” setting on the Motor block with a random number generated by the Random block. Click the plug on the left side of power, a wire will attach itself to that plug. Click on the right side of the number plug on the random block to complete the link between the two blocks

When the program reaches the random block, it will generate a number between 0 and 100. That number (example 46) will come out the Number output plug on the Random block, travel over to the Power input plug on the Motor block, where it will override the typed in value for power (75). ? The move block will move using the randomly generated power.

Download and try the program. Then try it again. The program generates a different random number each time, and uses that number as a power level of the motor for the robot’s movement.

Set the minimum and maximum values on the random block. The random block will then choose a number between the two. Add a sound block to the end of your program so that when your robot finishes the 5 rotations it will announce Fantastic!

Blocks with Data Hubs Many blocks especially the yellow sensor and red orange data blocks come with their most frequently-used plugs already showing. Remember clicking on the left corner opens additional data hubs.

Place the random block and Motor block in a loop that changes the “Power” setting on the Motor block with a random number every 2 seconds of a 10 second long run.

NASCAR INDY 500 Line your robots up on the NASCAR race course to see which robot will be the fastest. In this race it’s all random luck, not who the best driver/programmer is, or is it?