Barclays Robot Challenge Learn how to Program Robots.

Slides:



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

Full Speed Ahead Introductory Presentation. Opening Activity Choose one of the objects to the right and in ten or more steps explain how it goes from.
Getting started with LEGO NXT Mindstorms software This is intended to be a short introduction to the LEGO Mindstorms software and programming the LEGO.
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.
LabView Basics.
Challenges Close Shave Sprint, Spin, Sprint The Labyrinth
Boe-Bot Challenge. Advanced Users (those who have used Boe-Bots in Digital Electronics) There are suggested activities / programs for each challenge.
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.
Nawwaf Kharma.  Programming as Problem Solving with Applied Algorithms  Algorithm Design as Instruction selection, configuration and sequencing  The.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Programming
Stem fair project Can LEGO MINDSTORM robots detect and react to objects within a certain range?
Embedded Programming and Robotics Introduction and Overview Presented by John Cole Senior Lecturer in Computer Science The University of Texas at Dallas,
Control Using Sound. 1. What is sound? 2. How does the LEGO sound sensor sense sound? 2 Control Using Sound Pre-Quiz.
Loops and Switches. 1. What kind of blocks are these? 2. Name two kinds of controls that can be specified to determine how long a loop repeats. 3. Give.
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.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
Problem Solving and Mazes
Welcome to the road safety quiz, click on the start button to begin.
7.2 V battery pack and charger Put the battery in the charger station at the end of the lab. period. Red light indicates charging. Ken Youssefi Introduction.
This presentation is intended to offer a set of activity cards, which are ideal for introducing the Robolab. The cards cover a range of basic skills, that.
How to link the robot and the computer (Bluetooth) How to turn on and off How to connect the adaptor Fluke card connection Sec Getting Started How.
Barclays Mobile Robotics Hour 1 Overview Session.
Barclays Robot Challenge Learn how to Program Robots.
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.
Find the Mindstorms Icon on the computer.. To start a new program click go.
Robotics NXT-G: variables, file Rotation sensor Lab: Use buttons to hit specific ball. Homework: Postings. Start planning mapping the room.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4/Lab3.
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
Rescue Robot Day 2 Exploring Computer Science Lesson 6-11.
An Autonomous Self-Parking Vehicle William Whitney (Mentor: Dr. Jeff Gray) Background: NXT and Robot C The vehicle was constructed using the Lego Mindstorms.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
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.
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.
Advanced issues in Robotics and Programming Dr. Katerina G. Hadjifotinou Experimental Junior High School of the University of Macedonia.
1 ©2006 INSciTE Lab Three Task: Move forward for 2 feet, turn right 90º repeat to complete a square path. End up exactly where you started.
Python Programming Module 4 Sensors and Loops Python Programming, 2/e1.
LOGICFUSION’S HANDS-ON ROBOTICS EV3 LEVEL 2! Welcome to.
Presentation Outline I. Background Information II. Design Project
How Do You Make a Program Wait?
LEGO Robotics Workshop
Introduction to Programming in RobotC
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
An Introduction to VEX IQ Programming with Modkit
What you asked me to teach…
Touch Sensor.
Programming Scratch to Control a K’NEX Fairground Ride
Unit 2 – What is a Robot? Pg
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Basics for Robotics Programming
Introductory Presentation
Loops and Switches Pre-Quiz
Module F: Presentation Understanding Robot Fundamentals
Obstacle Detection Ultrasonic Sensor.
Introductory Presentation
An Introduction to VEX IQ Programming with Modkit
Holyoke Codes LEGO ROBOTICS
Using the sensor Lesson 5.
Automation and Programming
An Introduction to VEX IQ Programming with Modkit
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
Using the sensor Lesson 5.
Compiled from various Internet sources Presented by Mr. Hatfield
Building Complex Behaviors: Actions and States
Obstacle Detection.
EET 2259 Unit 7 Case Structures; Sequence Structures
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Lego MINDSTORMS EV3.
Exploring Computer Science Lesson 6-11
Getting started with LEGO EV3 Mindstorms software
Presentation transcript:

Barclays Robot Challenge Learn how to Program Robots

Fire escape doors are situated at either end of the room. If the fire alarm bell sounds, make your way to the assembly point between the visitors’ car park and the tennis court The fire alarm bells on this site are tested every Tuesday at 15:00, there are no tests scheduled for today BTC Radbroke has numerous first aiders throughout the site and has a nurse on duty from 09:00 to 17:00 Monday to Friday. If you feel unwell, please ask one of the volunteers who will contact the nurse on extension 3333 ( ) Toilets are in the foyer; please use the disabled toilets which are opposite the main entrance (behind the wall). Welcome to the Charles Babbage Suite

Why are we here today? 1. To have fun! 2. To learn a bit about how computers control things (a robot) 3. To see what we do here at Barclays Technology Centre Radbroke 4. To get you to think about whether you might like to learn more about Technology 3 | Tech Awareness for Schools | July 2013

Question…. How likely are you to choose a career in Technology? A.Definitely not B.Maybe C.Definitely D.Not sure

Computers ● What do you think of when you hear the word “computer”? 5 | Tech Awareness for Schools | July 2013

How about… ● Technically, a computer is “a programmable machine” ● So how about… 6 | Tech Awareness for Schools | July 2013 The thing about computers is that they all need to be programmed to tell them what to do

What is a Robot

What do we do here at Radbroke ● Barclays Technology Centre, Radbroke is Barclays largest Technology site in the world ● Barclays depends on thousands of different computer systems to run the bank; from making payments, to online banking, to HR and information systems ● 3,500 people work here ● Designing, building and supporting all the bank’s computer systems 8 | Tech Awareness for Schools | July 2013

Todays Plan Session 1 (9:30/12:30) Robot Programming Session 2 (10:45/13:45) Break & Site Tour Session 3 (11:00/14:00) Continue Robot Programming Roundup and finish ( 11:55/14:55)

Programming a Computer You will be writing real computer programs – aka apps! They will be running on a small computer on the robot called an Arduino You write your app on the laptop then upload to the robot The robot then runs on its own… No Wires The robot has 3 different sensors: Ultrasonic – measures distance of object (returns distance) Infrared – detects objects (returns True or False) Line Follower – detects light (returns Black or White)

Getting Started Open your starter sketch if it’s not already open – its called BRC_Move Click File -> Open -> Sketchbook – BRC_Move Your Arduino development app should be open – ask if it’s not

Main Loop Each command will be executed on the robot in order When all commands are executed – it will start from the top of the loop again, and again, and… The loop is between { and } That’s it!

A function call Make the robot do something Tell the robot speed and time Must have a semicolon at the end forward(1000,150,150); Make the robot move forward for 1 second with left and right speed of 150 Then move to the next function The motors will keep moving until told to stop or some other action

Units Time All functions use milliseconds as a unit of time 1000 = 1 second 500 = ½ second 2000 = 2 seconds Speed All functions use a unit of speed between 0 and = stop 255 = fastest Motors tend not to work less than 150 Used to spin and turn Can help with Obstacle and Line Following

Simple Motion

IF… THEN… ELSE… with Obstacle Sensors Use IF Run your code between { and } LeftObstacleSensororRightObstacleSensor If (LeftObstacleSensor() == SENSORON ) { rightSpin(1000,255); } else { forward(1000,255, 255); }

With Infra Red Sensor

Today Challenges 1 - Obstacle avoid – drive the robot out of the maze (sketch = BRC_Avoid ) 2 - Line Follower – set the fastest lap of our race track (sketch = BRC_LineFollow) Start with basic movement – move and spin (sketch = BRC_Move) Make robot move around a square, triangle and circle Then choose your challenge There are template sketches that will give you a head start on the challenges Load the selected sketch onto the robot and see what it does Decide what you need to change to make it work or improve it