Real-Time Data through Data Hubs. 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

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 Mine Mapping Remote Communication.
Automation and Robotics
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.
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.
Testbed: Exercises.
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.
Adapted for STLP Camp ‘09 Mobile Robots Why do robots need to move?
LabVIEW Program and Data Flow Review LabVIEW Robotics Fundamentals.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 3.
LabVIEW Basics Review LabVIEW Robotics Fundamentals.
Programming a light sensor to follow a black line.
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
Motors and Sound Troubleshooting Tips. © H-CCS Problem 1 Why can’t I download my program to the RCX?
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
According to the image, what is the file name? According to the image, what is the program name? Quiz Example.ev3 Falcon.
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.
Forward Until Sound Program
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.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class3/Lab 2.
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.
Data Hubs and Wires. Begin by adding a basic Move block, 5 rotations 75% power.
Mindstorm NXT-G Introduction Towson University Robotics.
VEX and Robot C Chris Patterson Frisco ISD CTE Center Presented by.
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.
Automation and Robotics.  First you select the platform type so that you can use Natural Language PLTW.
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.

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.
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.
Forward Until Near Stop when near a wall.
ROBOTC for VEX Online Professional Development. Homework Questions Thoughts? Questions?
Basic Programming: Until Commands. The Problem with Wait States Motor Speed is affected by battery power. –If the battery is fully charged, the motors.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Sentry System Two-Way Communication.
Robotics Education & Competition Foundation
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
ROBOTC for VEX Online Professional Development
ROBOTC for VEX On-Site Professional Development
Robotics Programming Using Shaft Encoders
Introduction To Programming with LEGO NXT 2
EV3 On Brick Programming
Introductory Presentation
Music by Touch Music by Touch Presentation > TeachEngineering.org
Automation and Robotics
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
Forward Until Touch Robot goes forward until it hits a wall.
INTERMEDIATE PROGRAMMING LESSON
Line Following Behavior
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 5.
Switch Blocks check a value and choose a path based on that value
Storing Values as Variables
Repeating Behaviors.
Robotics Programming Using Shaft Encoders
Robotics Programming Using Shaft Encoders
Obstacle Detection.
Lego MINDSTORMS EV3.
Getting started with LEGO EV3 Mindstorms software
Presentation transcript:

Real-Time Data through Data Hubs

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

Place a yellow Sound Sensor block from the Sensor Palette before the move block. The data plug for the sound block should be showing.

Wire the sound level plug to the power level plug on the Move block. The sound sensors value will be used as the robots speed. Make sure the sound sensor is plugged into Port 2. Download and Run the Program

The sound sensor blocks reads the sound sensor value, and passes it along to the motor block overriding the motor power value. Then the robot goes for 5 rotations using that value. If the sound value changes while the robot is running the Move block it is not passed on because the sound block is only run at the beginning of the program.

Restructure the program to use the data hubs to process live values The yellow sensor block must run more than once so it can continue to feed values to the Move block. The Move block must use the value then return immediately to the sensor block so it can update the sound level.

To repeat a behavior over and over again a loop is required. Drag a loop out of the Flow palette. Move both blocks together into the loop.

Adjust the Move block to run for Unlimited instead of 5 rotations so that the program does not need to wait for the full 5 rotations before checking the Sound sensor data value again. Set the 5 rotations to Unlimited in the loop: Sensor, Rotation Sensor, Port C, 5 rotations. Unlimited

Download & Run. Alternate talking and whispering to the robot as it moves. Does it change speeds?

A-Mazing Talking Using the sound sensor to control one of the motors speeds program the robot so that you can talk the robot through the maze. Robots begin in the center of the maze.