Bluetooth example Presentations Lab: building projects

Slides:



Advertisements
Similar presentations
EducateNXT Establishing a Bluetooth Connection. EducateNXT Establishing a Bluetooth Connection Both bricks used will require a different name. For the.
Advertisements

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.
© 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
Created by Chris Bracken
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.
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 Catchup/Review: switch, arithmetic, range, loop Bluetooth Lab: Finish parallel parking. Next: Use Bluetooth communication for calculate & send.
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.
Robotics NXT sensors Back to Light sensor: red vs blue ball.
Coding for the FIRST Tech Challenge: RobotC Presented by: Audrey Yeoh Acknowledgements: Team Unlimited FTC 0001.
Coding for the FIRST Tech Challenge: RobotC
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*.]
Use bluetooth for communication 1. enable bluetooth in NXT and also enable visibility 2. configure setting in brickCC –Wait about 30 seconds for searching.
Robotics Finish presentations Bluetooth Communications Brain storm project ideas Programming considerations Homework: Prepare to present proposal for building.
Autonomous Helicopter James LydenEE 496Harris Okazaki.
Bluetooth Communication Module 3. Warm Up SWQ: 30 – Oct. – 2013 Give examples where Bluetooth technology is used What is the range for the Bluetooth ?
Lab 2: TCP /IP communication Southern Methodist University Bryan Rodriguez.
Lab 1 : Introduction to LabView 1 Southern Methodist University Bryan Rodriguez.
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.
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.
How to connect your NXT via Bluetooth A step-by-step instruction.
Robotics NXT-G: variables, file Rotation sensor Lab: Use buttons to hit specific ball. Homework: Postings. Start planning mapping the room.
Vex Robotics program three: using motors and sensors together.
© 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.
Overview: This lesson explores the NXT as a computer. It is intended to follow the "Introduction to Computers" lesson. Objectives: Students will be able.
Basic NXT-G Programming. NXT-G Sequence Beams Blocks Structures (special blocks) Wires (connect ports on blocks & structures)
Scratch Programming Cards
Starter What is BBC micro:bit?
TrueTime.
Using the Lego Mindstorms Edu NXT Software
BEGINNER PROGRAMMING LESSON
micro:bit for primary schools – mb4ps.co.uk
Mindstorms EV3 Programming
Introduction To Programming with LEGO NXT 1
NXT-G Binary Bluetooth Functions
Introduction To Programming with LEGO NXT 0
Mindstorms EV3 Programming
Introduction To Programming with LEGO NXT 2
BEGINNER PROGRAMMING LESSON
Robotics Switch block variant. Record/Play. Timer.
Mindstorms EV3 Programming
BEGINNER PROGRAMMING LESSON
Sensors Training.
Sasha Popov November 16, 2018 iRobot Create.
Lab: (Finish parking). Bluetooth applications
Module F: Presentation Understanding Robot Fundamentals
Displaying sensor values while a robot is running
Loops with Multiple Sensor Controls
Forward Until Touch Robot goes forward until it hits a wall.
Controlling your quadcopter
Line Following Behavior
Storing Values as Variables
Final Presentation Wireless mouse over BLUETOOTH By: David Gabay
SENSORS.
Lego EV3 Mindstorms SW Programming Blocks.
if-else Structures Principles of Engineering
Using Waits, Loops and Switches
BEGINNER EV3 PROGRAMMING Lesson
Lab: Parking Preparation for Bluetooth.
Downloading to the NXT requires the correct hardware setup
Controlling your quadcopter
Presentation transcript:

Bluetooth example Presentations Lab: building projects Robotics Bluetooth example Presentations Lab: building projects

Bluetooth and all communication protocols Subject to timing variability. Sends and receives done on digital schedule, not continuously Message transmission is not instantaneous

My example keybt getmsg Runs on master Loop: Waits for touch sensor, NXT left arrow, or NXT right arrow When one is pressed, send BT 1, 2, or 3 Displays number getmsg Runs on slave. Must be started first. Loop to receive BT numeric message Displays message

keybt

keybt

getmsg

Cautions Make sure sending and receiving same datatype, in this case number Also correct connection, correct mailbox. In this case, 1 (only connection) and 1. The nbr variable initialized and reset to zero is used to signal if something has been pressed AND what has been pressed. advantage of numbers comparing numbers built in There are text operations that can be downloaded from nxtasy: http://nxtasy.org/2007/05/30/text-manipulation-nxt-g-blocks/

Suggestions (Do as I say, not as I just did…) Make multiple block sections for display into MyBlocks Experiment with pauses. More or less may be better. ?

Building projects Do small experiments Write out plans (logic) Iterate