Robotics Catchup/Review: switch, arithmetic, range, loop Bluetooth Lab: Finish parallel parking. Next: Use Bluetooth communication for calculate & send.

Slides:



Advertisements
Similar presentations
Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
Advertisements

EducateNXT Establishing a Bluetooth Connection. EducateNXT Establishing a Bluetooth Connection Both bricks used will require a different name. For the.
EducateNXT Follow the Leader Using Bluetooth communication, one robot can be made to follow the actions of a second robot. Features in this presentation:
Dublin Robotics Boosters NXT-Step Programming Workshop.
Jason Howard. Agenda I. How to download robotc II. What is tele-op used for? III. How to build a basic tele-op program IV. Getting the robot to drive.
®® Microsoft Windows 7 Windows Tutorial 8 Connecting to Networks with Mobile Computing.
NXT Basics: Technic Building and NXT-G Erin Cejka Riecker Center for Engineering Educational Outreach Tufts University.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Mine Mapping Remote Communication.
Robot Soccer Challenge
Bluetooth Remote Control
More switches Day 6 Computer Programming through Robotics CPST 410 Summer 2009.
Students: Nir Engelberg Ezequiel Hadid Supervisor: Mony Orbach In association with: September 28, Winter 2005.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Sentry System One-Way Communication.
Created by Chris Bracken
Introduction to NXT Software and Functionality Bot’oberfest October 15, 2007.
How to send free text, images, audio and video messages on wechat
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.
Robotics Enrichment class Mr. Bosworth. Goals of Class Learn how to build a basic robot that performs various functions Learn how to program robot to.
Robotics Abstractions: Levels of language, world view
Programming 101 The Common Palette Content provided by Connor Statham (6 th Grade Student) Formatting by Shannon Sieber.
ROBOTICS MY BLOCKS. OBJECTIVES Create, edit and configure a my block Insert a my block inside a program and test its functionality.
Click your mouse to continue. Ways to Merge Data When you have finished editing your main document and inserting the merge fields, you have several choices.
More switches, Comparison Day 7 Computer Programming through Robotics CPST 410 Summer 2009.
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.
Robotics Overview of NXT-G Actuators in Mindstorms. Touch sensor Labwork: Right turn. Touch/bump. [Explore move versus Motor Move mini & motor mini. Motor*.]
Robotics Finish presentations Bluetooth Communications Brain storm project ideas Programming considerations Homework: Prepare to present proposal for building.
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.
Bluetooth Communication Module 3. Warm Up SWQ: 30 – Oct. – 2013 Give examples where Bluetooth technology is used What is the range for the Bluetooth ?
The LOGIC and MATH blocks Day 9 Computer Programming through Robotics CPST 410 Summer 2009.
NXT Basics: Technic Building and NXT-G Erin Cejka Riecker Center for Engineering Educational Outreach Tufts University.
Introduction to Data & Advanced Programming Blocks ROBOTICS II Module 1 Done by: Eng Nooran Drak.
Blue Tooth Communication ROBOTICS – ll MODULE 4. Set up a Bluetooth connection between two NXTs. Send/receive messages wirelessly using send/receive message.
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.
Comparison the RANGE block Day 8 Computer Programming through Robotics CPST 410 Summer 2009.
Robotics NXT-G: variables, file Rotation sensor Lab: Use buttons to hit specific ball. Homework: Postings. Start planning mapping the room.
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.
Data Hubs and Wires. Begin by adding a basic Move block, 5 rotations 75% power.
Mindstorm NXT-G Introduction Towson University Robotics.
How to make a Line Follow program Using EV3 software and an NXT light sensor.
© 2013 Eaton Corporation. All rights reserved. easy Programmable Relay Training Program Exercise 3.
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.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Sentry System Two-Way Communication.
EV3 Binary Bluetooth Functions An Introduction to Brick-to-Brick Communication.
 There are three things to get Trend Micro software for your PC. They are Download, Installation and Activation of the software license. Trend Micro.
Introduction To Programming with LEGO NXT 1
How to connect your brick
NXT-G Binary Bluetooth Functions
Introduction To Programming with LEGO NXT 2
Bluetooth example Presentations Lab: building projects
How to Fix Airdrop Not Working On MacBook Pro?
Music by Touch Music by Touch Presentation > TeachEngineering.org
Sensors Training.
Lab: (Finish parking). Bluetooth applications
BT K/B pairing via PC Settings
Sensors and Logic Switches
Controlling your quadcopter
Storing Values as Variables
Lego EV3 Mindstorms SW Programming Blocks.
How to create an Itunes account to your computer
Lab: Parking Preparation for Bluetooth.
Downloading to the NXT requires the correct hardware setup
Controlling your quadcopter
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

Robotics Catchup/Review: switch, arithmetic, range, loop Bluetooth Lab: Finish parallel parking. Next: Use Bluetooth communication for calculate & send location exercise.

Review NXT-G Switch block Arithmetic block –Two operands or operand & constant Range –Inside or outside –Data wires or constants Loop –Infinite, counter, logic

More NXT-G Check out the random block to produce random number: Complete palette, DICE icon, you can set min and max (or use data wires to set min and max) Consider using sound and then display to show the random number and make sure you include a wait (time or button push) so you can see it!

Bluetooth Master / slave(s) Need to turn off / stop PC to NXT Master sets up connection –Done using the NXT brick Prior to running programs Start off with seach/scan for devices Choose connection number 1, 2, 3 Password exchange Slave NXTs will refer to Master as 0 Slave NXTs communicate ONLY WITH THE MASTER NXT.

"Relay" message system For 3-robot relay, make the master the middle robot on the team. –Robot A starts. Sends message to master using connection 0 –Robot B, the master, receives the message. Then sends message to Robot C using 1 or 2. For 4-robot relay, set up Robot B (master) to wait for messages on 2 mailboxes (use parallel beams), when it receives a message from Robot C, it sends a message to Robot D.

Connection procedure Turn on both NXT bricks On master, use buttons to get to Bluetooth search (magnifier with bluetooth symbol) –Will say searching … and then stop, will have symbols for found Bluetooth devices. OTHER NXT BRICKS WILL APPEAR BY NAME –Click on the specific brick to make connection Click again on number (1, 2, or 3). Symbol with name will now show up at number. ON OTHER BRICK, go to Bluetooth connections. The master should show up as 0. –NOTE: first time (and maybe other times), there will be request for password: DON’T CHANGE FROM 1234

Bluetooth send Sends message to –Connection number 0, 1, 2, 3 Think of this as address –Mailbox 10 mailboxes, Each can hold 5 messages. Oldest gets erased if/when 6 th message sent. Message is specific data type –Text, number, logic

Bluetooth receive Receive block does NOT specify connection! This NXT bricks receives at/on its own address. Receive block does specify mailbox Prior agreement on the datatype expected. Use receive message block in loop –Can output message using appropriate data wire hub. If you know what a message will be, can use Wait for specific message in mailbox

Slave to master

Lab Use brick / tribot furnished by Glenn and Kyle to receive messages and send messages. You need to –check program on these bricks –do initial handshake –Think about which program to start first.

Lab, cont. Use Bluetooth to send ‘discovered’ information –Send (logic) message when one robot reaches wall –Send message with position information on wall

Homework Make posting on library research project! –start work Plan another / more BT applications