A Day in the Life CTE Enrichment Grades 3-5 mblock Programs Using the Sensors

Size: px
Start display at page:

Download "A Day in the Life CTE Enrichment Grades 3-5 mblock Programs Using the Sensors"

Transcription

1 Activity 1 - Reading Sensors A Day in the Life CTE Enrichment Grades 3-5 mblock Programs Using the Sensors Computer Science Unit This tutorial teaches how to read values from sensors in the mblock IDE. There are also tutorials which specifically focus on how to use the Makeblock sensors, for example the light sensor, the ultrasonic sensor and the line follower sensor. The easiest way to find out what value a sensor is giving is to have a Sprite (panda by default) say it. In the Looks Scripts, there is a say block: Of course, if we ask the panda to say Hello!, the panda is going to say Hello!. Fortunately, we can replace this text with the name of whatever sensor we wish to read. This is for the ultrasonic sensor: The line follower sensor: And the on-board light sensor: For the plug-in sensors, you have to make sure the port selected is the same port as the port you have plugged your sensor into. Now, you can click this block and it will tell you the value of the sensor. To make it continually update, you can put this block in a forever loop:

2 Computer Science Unit Challenge: 1. Can you find a way to display the values of different sensors at the same time? 2. Can you find out the range of possible values for all the sensors? Construct Your Dreams!

3 Activity 2 - The Light Sensor Computer Science Unit The light sensor on the mcore board measures light the lighter it is, the higher the value, the darker it is, the lower the value. The range of the light sensor is In this lesson, we are going to program the mbot to play a note if it senses there is a lot of light, and play a different not if it senses there is not a lot of light. For this, we will need the IF block. When we use an IF in programming, there are 3 parts to what we write: 1. The IF itself 2. The condition 3. The code that is run, if the condition is met. So we need to write something like this: If (condition) ---- Do this code The first thing I want to do in this lesson is to play some sound if it is dark. So the condition is it is dark, and the code is play sound : If (it is dark) ---- Play sound. Remember the light sensor returns a value between 0 and 1023, where high numbers represent a light environment. I would say a light sensor reading of less than 500 represents a dark environment. So we can write our code as: If (the value on the light sensor IS LESS THAN 500) ---- Play sound. Writing this in mblock code, we need: 1. An if

4 Computer Science Unit 2. A condition. The condition in this example is made up of 2 parts. We need the green less than block in the Operators Script: And we need the light sensor block from the Robtots scripts: The condition is the light sensor is less than 500, so we can put the light sensor block in the left side of the less than block and write 500 in the right side. When putting the blue block inside the green block, make sure the left side of the blue block is aligned with the appropriate space of the green block. When the space in the green block has a white outline it is ready to receive the blue block: And when dropped in, it looks like this: 3. Finally, we need some code that will be run if the condition is met: When this code is put together, it looks like this: When this code runs, it will test the condition once and then stop running. If we want it to continue to play music while dark we can add a forever loop. Also, remember to include a descriptive comment:

5 Computer Science Unit So, what if I wanted to play note C4 in the dark, but note D4 in the light. For this, we could use an if/else Control block: Challenge: 1. Develop a program where the robot runs forward in the light and stops in the dark. 2. Develop a program where the robot dances in the dark (be creative with your dance moves) and rests in the light. 3. Develop a program where the robot goes at different speeds depending on the light the lighter it is, the faster it goes. 4. Develop a program that plays lots of different notes the more light sensed, the higher the note. Construct Your Dreams!

6 Activity 3 - The Ultrasonic Sensor Computer Science Unit The ultrasonic sensor measures distance. One of the eyes transmits a sound, and the other waits for the echo of the sound to return. From the time this process takes, the distance of the object from the sensor can be calculated. The ultrasonic sensor has a range of 3-400cm. If an object is outside this range, the sensor will return a value of 400. In this lesson, I want to get the robot to go forward until it is close to an object, then turn away from the object and go off in a new direction: Forever: ---- If an object is detected Turn to a new direction ---- Else Go forward And in code, that looks like this: On testing this, I found that the robot wasn t turning enough when it encountered an object, so I added a wait command after the turn. Now I would like to get it to turn in

7 Computer Science Unit a random direction sometimes left and sometimes right. Fortunately, there is an Operator block that I can use to do just that: The robot can only turn left or right, so I am going to choose a random number between 0 and 1. If the random number is 0, then the robot will turn left. If the random number is 1, then the robot will turn right. So then the turning behavior will look like this: Challenge: 1. Can you put the code above together to make the completed program? 2. Can you write a program that follows an object? So if the object is too close, the robot goes backwards, if the object is far away, it goes forward, and if the object is not near or far, the robot stops. 3. Can you change your program from question 2, to make the robot move at different speeds? Construct Your Dreams!

8 Activity 4 - The Line Follower Computer Science Unit The line follower has 2 sensors which can detect a white surface (within the range of 1-2cm). It works by emitting IR (InfraRed) light and recording how much is reflected back. If a lot is reflected back, it can be deduced it is close to a white surface. If a little is reflected back, it can be deduced that the surface is black, or the sensor is not near a surface. A light surface reflects a lot of infrared light back to the receiver: A dark surface only reflects a little light back to the receiver: In mblock there are 2 blocks associated with the line follower:

9 Computer Science Unit The first block will return a number between 0 and 3 based on the following values: The second block will return either true or false. Using the Line Follower block to program: If we want to have our robot follow a black line, we have the following pseudocode: If( line follower = 0) ---- Go forward Else if (line follower = 1) ---- Turn Left Else if(line follower = 2) ---- Turn Right Else if(line follower = 3) ---- Aaargh!! Help!! Where is the line? So let s now put that into mblock code:

10 Computer Science Unit And it doesn t work the robot often goes off the track. This is because this program is run from the mblock IDE. Remember it takes time for the signals and commands to be sent from the robot to the computer and back again. In this case, that delay interferes with how the robot performs the line following. We need to upload this program onto the board to reduce this delay. Then the program will work. For the mbot, we use the mbot program block, go into Arduino mode and Upload to Arduino : Now the robot successfully follows the line. Using the Line Follower (port)(side)is(black/white) block to program: Using this block: If((Right is black) AND (Left is black)) ---- Go forward Else if((right is white) AND (Left is black)) ---- Turn Left Else ((Right is black) AND (Left is white)) ---- Turn Right

11 Else ((Right is white) AND (Left is white)) ---- Aaargh!! I m lost AGAIN?!? Computer Science Unit So for this we need an and block to combine the 2 conditional statements: So the final code looks like this: Challenge: 1. The robot moves does not turn smoothly. Why is that? Can you fix it? 2. Can you write a program so the robot moves around a (white) table in a random fashion without falling off? (Remember the line follower sensor detects if light is reflected or not reflected) 3. Can you write a program that follows a line AND avoids objects if an obstacle is detected, the robot should stop the motors and wait for the object to be removed. Construct Your Dreams!

12 Activity 5 - The Ultrasonic Theremin Computer Science Unit A theremin is a musical instrument that plays notes according to where the musician s hands are. It has been around since about 1929 and this tutorial looks at how to make an mbot Theremin, using the ultrasonic sensor. If an object is less than 10cm away ---- Play a high note Else If an object is less than 20cm away ---- Play a lower note Else If an object is less than 30cm away ---- Play a lower note Else If... The start of my code looks like this: Challenge: 1. Can you finish off the program? Make it as long or as short as you want, and then get playing your theremin. 2. The higher notes play more quickly than the lower notes. Why is that? Can you change the program so that the notes all play at the same speed? Construct Your Dreams!

13 Activity 6 - Sumo mbot Computer Science Unit Get your mbot ready for battle in the ancient Japanese art of sumo wrestling. Program your robot to search for your opponent (with the ultrasonic sensor), and when found, attack. NOTE: This lesson is intended for use with 2 mbots fighting on a table. Please note that the mbots may fall off the table. Appropriate measures must be taken to ensure that no damage is caused while engaging in this activity. Remember the values that are returned by the line follower sensor: So there are 2 different sensors which affect the behavior of the mbot. This can be displayed in the following table: Now we have the actions clearly defined, we can write some pseudocode for our program: Forever { ---- While (the robot has not detected an edge) { If (an enemy is detected) Charge Else Move forward ---- } ---- Turn } Transferring this into code looks like this:

14 Computer Science Unit Challenge: 1. Use the LEDs and the buzzer to signal the different actions. 2. Have a competition. Can you change the code to make the mbot do better in the competition? Construct Your Dreams!

A Day in the Life CTE Enrichment Grades 3-5 mblock Robotics - Simple Programs

A Day in the Life CTE Enrichment Grades 3-5 mblock Robotics - Simple Programs Activity 1 - Play Music A Day in the Life CTE Enrichment Grades 3-5 mblock Robotics - Simple Programs Computer Science Unit One of the simplest things that we can do, to make something cool with our robot,

More information

Some prior experience with building programs in Scratch is assumed. You can find some introductory materials here:

Some prior experience with building programs in Scratch is assumed. You can find some introductory materials here: Robotics 1b Building an mbot Program Some prior experience with building programs in Scratch is assumed. You can find some introductory materials here: http://www.mblock.cc/edu/ The mbot Blocks The mbot

More information

Your EdVenture into Robotics 10 Lesson plans

Your EdVenture into Robotics 10 Lesson plans Your EdVenture into Robotics 10 Lesson plans Activity sheets and Worksheets Find Edison Robot @ Search: Edison Robot Call 800.962.4463 or email custserv@ Lesson 1 Worksheet 1.1 Meet Edison Edison is a

More information

RoboCup Sumo Workshop. Margaux Edwards July 2018

RoboCup Sumo Workshop. Margaux Edwards July 2018 RoboCup Sumo Workshop Margaux Edwards July 2018 Plan for today: The Challenge Designing your Robot Programming your Robot Ultrasonic Sensor Light/Colour Sensor Competition Time! The Challenge: What is

More information

RGB Line Follower. 1. Basic knowledge of RGB line follower

RGB Line Follower. 1. Basic knowledge of RGB line follower RGB Line Follower 1. Basic knowledge of RGB line follower The RGB Line Follower module is designed for line patrol competitions. It contains 4 RGB fill lights and 4 photosensitive receiving tubes. The

More information

UNIT1. Keywords page 13-14

UNIT1. Keywords page 13-14 UNIT1 Keywords page 13-14 What is a Robot? A robot is a machine that can do the work of a human. Robots can be automatic, or they can be computer-controlled. Robots are a part of everyday life. Most robots

More information

Agent-based/Robotics Programming Lab II

Agent-based/Robotics Programming Lab II cis3.5, spring 2009, lab IV.3 / prof sklar. Agent-based/Robotics Programming Lab II For this lab, you will need a LEGO robot kit, a USB communications tower and a LEGO light sensor. 1 start up RoboLab

More information

TETRIX PULSE Workshop Guide

TETRIX PULSE Workshop Guide TETRIX PULSE Workshop Guide 44512 1 Who Are We and Why Are We Here? Who is Pitsco? Pitsco s unwavering focus on innovative educational solutions and unparalleled customer service began when the company

More information

Two Hour Robot. Lets build a Robot.

Two Hour Robot. Lets build a Robot. Lets build a Robot. Our robot will use an ultrasonic sensor and servos to navigate it s way around a maze. We will be making 2 voltage circuits : A 5 Volt for our ultrasonic sensor, sound and lights powered

More information

Introduction to Robotics Rubrics

Introduction to Robotics Rubrics Introduction to Robotics Rubrics Students can evaluate their project work according to the learning goals. Each rubric includes four levels: Bronze, Silver, Gold, and Platinum. The intention is to help

More information

Robot Programming Manual

Robot Programming Manual 2 T Program Robot Programming Manual Two sensor, line-following robot design using the LEGO NXT Mindstorm kit. The RoboRAVE International is an annual robotics competition held in Albuquerque, New Mexico,

More information

Lets start learning how Wink s bottom sensors work. He can use these sensors to see lines and measure when the surface he is driving on has changed.

Lets start learning how Wink s bottom sensors work. He can use these sensors to see lines and measure when the surface he is driving on has changed. Lets start learning how Wink s bottom sensors work. He can use these sensors to see lines and measure when the surface he is driving on has changed. Bottom Sensor Basics... IR Light Sources Light Sensors

More information

Lab book. Exploring Robotics (CORC3303)

Lab book. Exploring Robotics (CORC3303) Lab book Exploring Robotics (CORC3303) Dept of Computer and Information Science Brooklyn College of the City University of New York updated: Fall 2011 / Professor Elizabeth Sklar UNIT A Lab, part 1 : Robot

More information

e d u c a t i o n Detect Dark Line Objectives Connect Teacher s Notes

e d u c a t i o n Detect Dark Line Objectives Connect Teacher s Notes e d u c a t i o n Objectives Learn how to make the robot interact with the environment: Detect a line drawn on the floor by means of its luminosity. Hint You will need a flashlight or other light source

More information

Revision for Grade 7 in Unit #1&3

Revision for Grade 7 in Unit #1&3 Your Name:.... Grade 7 / SEION 1 Matching :Match the terms with its explanations. Write the matching letter in the correct box. he first one has been done for you. (1 mark each) erm Explanation 1. electrical

More information

Programming I (mblock)

Programming I (mblock) http://www.plk83.edu.hk/cy/mblock Contents 1. Introduction (Page 1) 2. What is Scratch? (Page 1) 3. What is mblock? (Page 2) 4. Learn Scratch (Page 3) 5. Elementary Lessons (Page 3) 6. Supplementary Lessons

More information

Ev3 Robotics Programming 101

Ev3 Robotics Programming 101 Ev3 Robotics Programming 101 1. EV3 main components and use 2. Programming environment overview 3. Connecting your Robot wirelessly via bluetooth 4. Starting and understanding the EV3 programming environment

More information

Scratch for Beginners Workbook

Scratch for Beginners Workbook for Beginners Workbook In this workshop you will be using a software called, a drag-anddrop style software you can use to build your own games. You can learn fundamental programming principles without

More information

Robot Olympics: Programming Robots to Perform Tasks in the Real World

Robot Olympics: Programming Robots to Perform Tasks in the Real World Robot Olympics: Programming Robots to Perform Tasks in the Real World Coranne Lipford Faculty of Computer Science Dalhousie University, Canada lipford@cs.dal.ca Raymond Walsh Faculty of Computer Science

More information

Programming 2 Servos. Learn to connect and write code to control two servos.

Programming 2 Servos. Learn to connect and write code to control two servos. Programming 2 Servos Learn to connect and write code to control two servos. Many students who visit the lab and learn how to use a Servo want to use 2 Servos in their project rather than just 1. This lesson

More information

Robotics using Lego Mindstorms EV3 (Intermediate)

Robotics using Lego Mindstorms EV3 (Intermediate) Robotics using Lego Mindstorms EV3 (Intermediate) Facebook.com/roboticsgateway @roboticsgateway Robotics using EV3 Are we ready to go Roboticists? Does each group have at least one laptop? Do you have

More information

Part II: Number Guessing Game Part 2. Lab Guessing Game version 2.0

Part II: Number Guessing Game Part 2. Lab Guessing Game version 2.0 Part II: Number Guessing Game Part 2 Lab Guessing Game version 2.0 The Number Guessing Game that just created had you utilize IF statements and random number generators. This week, you will expand upon

More information

Competitive VEX Robot Designer. Terminal Objective 1.4: program and operate the Tumbler

Competitive VEX Robot Designer. Terminal Objective 1.4: program and operate the Tumbler Skill Set 1: Driver/Operator Competitive VEX Robot Designer Terminal Objective 1.4: program and operate the Tumbler Performance Objective: Program and operate the Tumbler in Tank (stick), Arcade, and Tank

More information

Where C= circumference, π = 3.14, and D = diameter EV3 Distance. Developed by Joanna M. Skluzacek Wisconsin 4-H 2016 Page 1

Where C= circumference, π = 3.14, and D = diameter EV3 Distance. Developed by Joanna M. Skluzacek Wisconsin 4-H 2016 Page 1 Instructor Guide Title: Distance the robot will travel based on wheel size Introduction Calculating the distance the robot will travel for each of the duration variables (rotations, degrees, seconds) can

More information

Today s Menu. Near Infrared Sensors

Today s Menu. Near Infrared Sensors Today s Menu Near Infrared Sensors CdS Cells Programming Simple Behaviors 1 Near-Infrared Sensors Infrared (IR) Sensors > Near-infrared proximity sensors are called IRs for short. These devices are insensitive

More information

The light sensor, rotation sensor, and motors may all be monitored using the view function on the RCX.

The light sensor, rotation sensor, and motors may all be monitored using the view function on the RCX. Review the following material on sensors. Discuss how you might use each of these sensors. When you have completed reading through this material, build a robot of your choosing that has 2 motors (connected

More information

Line Detection. Duration Minutes. Di culty Intermediate. Learning Objectives Students will:

Line Detection. Duration Minutes. Di culty Intermediate. Learning Objectives Students will: Line Detection Design ways to improve driving safety by helping to prevent drivers from falling asleep and causing an accident. Learning Objectives Students will: Explore the concept of the Loop Understand

More information

Welcome to. NXT Basics. Presenter: Wael Hajj Ali With assistance of: Ammar Shehadeh - Souhaib Alzanki - Samer Abuthaher

Welcome to. NXT Basics. Presenter: Wael Hajj Ali With assistance of: Ammar Shehadeh - Souhaib Alzanki - Samer Abuthaher Welcome to NXT Basics Presenter: Wael Hajj Ali With assistance of: Ammar Shehadeh - Souhaib Alzanki - Samer Abuthaher Outline Have you met the Lizard? Introducing the Platform Lego Parts Motors Sensors

More information

Session 11 Introduction to Robotics and Programming mbot. >_ {Code4Loop}; Roochir Purani

Session 11 Introduction to Robotics and Programming mbot. >_ {Code4Loop}; Roochir Purani Session 11 Introduction to Robotics and Programming mbot >_ {Code4Loop}; Roochir Purani RECAP from last 2 sessions 3D Programming with Events and Messages Homework Review /Questions Understanding 3D Programming

More information

Starting from LEARNER NOTES edited version. An Introduction to Computing Science by Jeremy Scott

Starting from LEARNER NOTES edited version. An Introduction to Computing Science by Jeremy Scott Starting from 2013 edited version An Introduction to Computing Science by Jeremy Scott LEARNER NOTES 4: Get the picture? 3: A Mazing Game This lesson will cover Game creation Collision detection Introduction

More information

I.1 Smart Machines. Unit Overview:

I.1 Smart Machines. Unit Overview: I Smart Machines I.1 Smart Machines Unit Overview: This unit introduces students to Sensors and Programming with VEX IQ. VEX IQ Sensors allow for autonomous and hybrid control of VEX IQ robots and other

More information

DUBAI TECH & DIGITAL WINTER CAMP

DUBAI TECH & DIGITAL WINTER CAMP Is your child ready for the digital future? DUBAI TECH & DIGITAL WINTER CAMP LOCATION The winter camps are offered in partnership with Swiss International Scientific Dubai (SiSD) school, a leading IB school

More information

A - Debris on the Track

A - Debris on the Track A - Debris on the Track Rocks have fallen onto the line for the robot to follow, blocking its path. We need to make the program clever enough to not get stuck! 2017 https://www.hamiltonbuhl.com/teacher-resources

More information

A - Debris on the Track

A - Debris on the Track A - Debris on the Track Rocks have fallen onto the line for the robot to follow, blocking its path. We need to make the program clever enough to not get stuck! 2018 courses.techcamp.org.uk/ Page 1 of 7

More information

Robotics Workshop. for Parents and Teachers. September 27, 2014 Wichita State University College of Engineering. Karen Reynolds

Robotics Workshop. for Parents and Teachers. September 27, 2014 Wichita State University College of Engineering. Karen Reynolds Robotics Workshop for Parents and Teachers September 27, 2014 Wichita State University College of Engineering Steve Smith Christa McAuliffe Academy ssmith3@usd259.net Karen Reynolds Wichita State University

More information

ADVANCED EV3 PROGRAMMING LESSON. Proportional Control. By Sanjay and Arvind Seshan

ADVANCED EV3 PROGRAMMING LESSON. Proportional Control. By Sanjay and Arvind Seshan ADVANCED EV3 PROGRAMMING LESSON Proportional Control By Sanjay and Arvind Seshan Lesson Objectives Learn what proportional control means and why to use it Learn to apply proportional control to different

More information

Learn about the RoboMind programming environment

Learn about the RoboMind programming environment RoboMind Challenges Getting Started Learn about the RoboMind programming environment Difficulty: (Easy), Expected duration: an afternoon Description This activity uses RoboMind, a robot simulation environment,

More information

A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads:

A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads: Project 4: Arduino Servos Part 1 Description: A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads: a. Red: Current b. Black:

More information

A - Debris on the Track

A - Debris on the Track A - Debris on the Track Rocks have fallen onto the line for the robot to follow, blocking its path. We need to make the program clever enough to not get stuck! Step 1 2017 courses.techcamp.org.uk/ Page

More information

understanding sensors

understanding sensors The LEGO MINDSTORMS EV3 set includes three types of sensors: Touch, Color, and Infrared. You can use these sensors to make your robot respond to its environment. For example, you can program your robot

More information

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Kinect2Scratch Workbook

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Kinect2Scratch Workbook Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl Workbook Scratch is a drag and drop programming environment created by MIT. It contains colour coordinated code blocks that allow a user to build up instructions

More information

For more add-on packs and building instructions, please visit:

For more add-on packs and building instructions, please visit: For more add-on packs and building instructions, please visit: learn.makeblock.com/mbot-add-on-packs/ We appreciate your opinions about our products, please contact us with your suggestion at: Makeblock

More information

Part of: Inquiry Science with Dartmouth

Part of: Inquiry Science with Dartmouth Curriculum Guide Part of: Inquiry Science with Dartmouth Developed by: David Qian, MD/PhD Candidate Department of Biomedical Data Science Overview Using existing knowledge of computer science, students

More information

Introduction to programming with Fable

Introduction to programming with Fable How to get started. You need a dongle and a joint module (the actual robot) as shown on the right. Put the dongle in the computer, open the Fable programme and switch on the joint module on the page. The

More information

Lesson 3: Arduino. Goals

Lesson 3: Arduino. Goals Introduction: This project introduces you to the wonderful world of Arduino and how to program physical devices. In this lesson you will learn how to write code and make an LED flash. Goals 1 - Get to

More information

Robotic Programming. Skills Checklist

Robotic Programming. Skills Checklist Robotic Programming Skills Checklist Name: Motors Motors Direction Steering Power Duration Complete B & C Forward Straight 75 3 Rotations B & C Forward Straight 100 5 Rotatins B & C Forward Straight 50

More information

Capstone Python Project Features

Capstone Python Project Features Capstone Python Project Features CSSE 120, Introduction to Software Development General instructions: The following assumes a 3-person team. If you are a 2-person team, see your instructor for how to deal

More information

The Robot Olympics: A competition for Tribot s and their humans

The Robot Olympics: A competition for Tribot s and their humans The Robot Olympics: A Competition for Tribot s and their humans 1 The Robot Olympics: A competition for Tribot s and their humans Xinjian Mo Faculty of Computer Science Dalhousie University, Canada xmo@cs.dal.ca

More information

GE423 Laboratory Assignment 6 Robot Sensors and Wall-Following

GE423 Laboratory Assignment 6 Robot Sensors and Wall-Following GE423 Laboratory Assignment 6 Robot Sensors and Wall-Following Goals for this Lab Assignment: 1. Learn about the sensors available on the robot for environment sensing. 2. Learn about classical wall-following

More information

In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours!

In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours! Memory Introduction In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours! Step 1: Random colours First, let s create a character that can change

More information

An Introduction to Programming using the NXT Robot:

An Introduction to Programming using the NXT Robot: An Introduction to Programming using the NXT Robot: exploring the LEGO MINDSTORMS Common palette. Student Workbook for independent learners and small groups The following tasks have been completed by:

More information

LEGO Mindstorms Class: Lesson 1

LEGO Mindstorms Class: Lesson 1 LEGO Mindstorms Class: Lesson 1 Some Important LEGO Mindstorm Parts Brick Ultrasonic Sensor Light Sensor Touch Sensor Color Sensor Motor Gears Axle Straight Beam Angled Beam Cable 1 The NXT-G Programming

More information

EV3 Advanced Topics for FLL

EV3 Advanced Topics for FLL EV3 Advanced Topics for FLL Jim Keller GRASP Laboratory University of Pennsylvania August 14, 2016 Part 1 of 2 Topics Intro to Line Following Basic concepts Calibrate Calibrate the light sensor Display

More information

1-11. Mini Sumo Bot. Building Instructions. Fun Projects for your LEGO MINDSTORMS NXT! Home Projects Help Contacts. Building: Program:

1-11. Mini Sumo Bot. Building Instructions. Fun Projects for your LEGO MINDSTORMS NXT! Home Projects Help Contacts. Building: Program: Fun Projects for your LEGO MINDSTORMS NXT! Home Projects Help Contacts Mini Sumo Bot Building: Program: Building Instructions 1-11 Start by building the Castor Bot. Click the picture for building instructions.

More information

Arduino Lesson 1. Blink. Created by Simon Monk

Arduino Lesson 1. Blink. Created by Simon Monk Arduino Lesson 1. Blink Created by Simon Monk Guide Contents Guide Contents Overview Parts Part Qty The 'L' LED Loading the 'Blink' Example Saving a Copy of 'Blink' Uploading Blink to the Board How 'Blink'

More information

Crowtail Start Kit for micro:bit User Guide

Crowtail Start Kit for micro:bit User Guide Crowtail Start Kit for micro:bit User Guide The BBC micro:bit is a pocket-sized computer that can easily realize your creativity without much electrical and coding knowledge. There are numerous possibility

More information

Module. Introduction to Scratch

Module. Introduction to Scratch EGN-1002 Circuit analysis Module Introduction to Scratch Slide: 1 Intro to visual programming environment Intro to programming with multimedia Story-telling, music-making, game-making Intro to programming

More information

Lesson 13. The Big Idea: Lesson 13: Infrared Transmitters

Lesson 13. The Big Idea: Lesson 13: Infrared Transmitters Lesson Lesson : Infrared Transmitters The Big Idea: In Lesson 12 the ability to detect infrared radiation modulated at 38,000 Hertz was added to the Arduino. This lesson brings the ability to generate

More information

Create Your Own World

Create Your Own World Create Your Own World Introduction In this project you ll learn how to create your own open world adventure game. Step 1: Coding your player Let s start by creating a player that can move around your world.

More information

Chapter 14. using data wires

Chapter 14. using data wires Chapter 14. using data wires In this fifth part of the book, you ll learn how to use data wires (this chapter), Data Operations blocks (Chapter 15), and variables (Chapter 16) to create more advanced programs

More information

CURIE Academy, Summer 2014 Lab 2: Computer Engineering Software Perspective Sign-Off Sheet

CURIE Academy, Summer 2014 Lab 2: Computer Engineering Software Perspective Sign-Off Sheet Lab : Computer Engineering Software Perspective Sign-Off Sheet NAME: NAME: DATE: Sign-Off Milestone TA Initials Part 1.A Part 1.B Part.A Part.B Part.C Part 3.A Part 3.B Part 3.C Test Simple Addition Program

More information

Devastator Tank Mobile Platform with Edison SKU:ROB0125

Devastator Tank Mobile Platform with Edison SKU:ROB0125 Devastator Tank Mobile Platform with Edison SKU:ROB0125 From Robot Wiki Contents 1 Introduction 2 Tutorial 2.1 Chapter 2: Run! Devastator! 2.2 Chapter 3: Expansion Modules 2.3 Chapter 4: Build The Devastator

More information

Copyright 2017 MakeUseOf. All Rights Reserved.

Copyright 2017 MakeUseOf. All Rights Reserved. Make Your Own Mario Game! Scratch Basics for Kids and Adults Written by Ben Stegner Published April 2017. Read the original article here: http://www.makeuseof.com/tag/make-mario-game-scratchbasics-kids-adults/

More information

MESA Cyber Robot Challenge: Robot Controller Guide

MESA Cyber Robot Challenge: Robot Controller Guide MESA Cyber Robot Challenge: Robot Controller Guide Overview... 1 Overview of Challenge Elements... 2 Networks, Viruses, and Packets... 2 The Robot... 4 Robot Commands... 6 Moving Forward and Backward...

More information

Robots in Town Autonomous Challenge. Overview. Challenge. Activity. Difficulty. Materials Needed. Class Time. Grade Level. Objectives.

Robots in Town Autonomous Challenge. Overview. Challenge. Activity. Difficulty. Materials Needed. Class Time. Grade Level. Objectives. Overview Challenge Students will design, program, and build a robot that drives around in town while avoiding collisions and staying on the roads. The robot should turn around when it reaches the outside

More information

1. Controlling the DC Motors

1. Controlling the DC Motors E11: Autonomous Vehicles Lab 5: Motors and Sensors By this point, you should have an assembled robot and Mudduino to power it. Let s get things moving! In this lab, you will write code to test your motors

More information

Unit 5: What s in a List

Unit 5: What s in a List Lists http://isharacomix.org/bjc-course/curriculum/05-lists/ 1 of 1 07/26/2013 11:20 AM Curriculum (/bjc-course/curriculum) / Unit 5 (/bjc-course/curriculum/05-lists) / Unit 5: What s in a List Learning

More information

FABO ACADEMY X ELECTRONIC DESIGN

FABO ACADEMY X ELECTRONIC DESIGN ELECTRONIC DESIGN MAKE A DEVICE WITH INPUT & OUTPUT The Shanghaino can be programmed to use many input and output devices (a motor, a light sensor, etc) uploading an instruction code (a program) to it

More information

OZOBLOCKLY BASIC TRAINING LESSON 1 SHAPE TRACER 1

OZOBLOCKLY BASIC TRAINING LESSON 1 SHAPE TRACER 1 OZOBLOCKLY BASIC TRAINING LESSON 1 SHAPE TRACER 1 PREPARED FOR OZOBOT BY LINDA MCCLURE, M. ED. ESSENTIAL QUESTION How can we make Ozobot move using programming? OVERVIEW The OzoBlockly games (games.ozoblockly.com)

More information

EQ-ROBO Programming : bomb Remover Robot

EQ-ROBO Programming : bomb Remover Robot EQ-ROBO Programming : bomb Remover Robot Program begin Input port setting Output port setting LOOP starting point (Repeat the command) Condition 1 Key of remote controller : LEFT UP Robot go forwards after

More information

Introducing Scratch Game development does not have to be difficult or expensive. The Lifelong Kindergarten Lab at Massachusetts Institute

Introducing Scratch Game development does not have to be difficult or expensive. The Lifelong Kindergarten Lab at Massachusetts Institute Building Games and Animations With Scratch By Andy Harris Computers can be fun no doubt about it, and computer games and animations can be especially appealing. While not all games are good for kids (in

More information

Line-Follower Challenge

Line-Follower Challenge Line-Follower Challenge Pre-Activity Quiz 1. How does a color sensor work? Does the color sensor detect white or black as a higher amount of light reflectivity? Absorbance? 2. Can you think of a method

More information

Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink

Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink By the end of this session: You will know how to use an Arduino

More information

Pong Game. Intermediate. LPo v1

Pong Game. Intermediate. LPo v1 Pong Game Intermediate LPo v1 Programming a Computer Game This tutorial will show you how to make a simple computer game using Scratch. You will use the up and down arrows to control a gun. The space bar

More information

Automatic Headlights

Automatic Headlights Automatic Headlights Design car features that will improve nighttime driving safety. Learning Objectives Students will: Explore the concept of Inputs and the way to control them Explore the concept of

More information

Programming with Scratch

Programming with Scratch Programming with Scratch A step-by-step guide, linked to the English National Curriculum, for primary school teachers Revision 3.0 (Summer 2018) Revised for release of Scratch 3.0, including: - updated

More information

RUNNYMEDE COLLEGE & TECHTALENTS

RUNNYMEDE COLLEGE & TECHTALENTS RUNNYMEDE COLLEGE & TECHTALENTS Why teach Scratch? The first programming language as a tool for writing programs. The MIT Media Lab's amazing software for learning to program, Scratch is a visual, drag

More information

Assessment. Self Assessment. Teacher Assessment. Date Learning Objective(s) Achievement or. NC Level: Game Control Student Booklet P a g e 1

Assessment. Self Assessment. Teacher Assessment. Date Learning Objective(s) Achievement or. NC Level: Game Control Student Booklet P a g e 1 Name: Class: Assessment Self Assessment Date Learning Objective(s) Achievement or Teacher Assessment NC Level: Game Control Student Booklet P a g e 1 Lesson 1 - Cutouts R.O.B.B.O the Robot is not working

More information

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment. Physics 222 Name: Exercise 6: Mr. Blinky This exercise is designed to help you wire a simple circuit based on the Arduino microprocessor, which is a particular brand of microprocessor that also includes

More information

EdPy app documentation

EdPy app documentation EdPy app documentation This document contains a full copy of the help text content available in the Documentation section of the EdPy app. Contents Ed.List()... 4 Ed.LeftLed()... 5 Ed.RightLed()... 6 Ed.ObstacleDetectionBeam()...

More information

Objective of the lesson

Objective of the lesson Arduino Lesson 5 1 Objective of the lesson Learn how to program an Arduino in S4A All of you will: Add an LED to an Arduino and get it to come on and blink Most of you will: Add an LED to an Arduino and

More information

Morse Code Autonomous Challenge. Overview. Challenge. Activity. Difficulty. Materials Needed. Class Time. Grade Level. Learning Focus.

Morse Code Autonomous Challenge. Overview. Challenge. Activity. Difficulty. Materials Needed. Class Time. Grade Level. Learning Focus. Overview Challenge Students will design, program, and build a robot that communicates with Morse code. The robot must use its communication system to tell the operator when the robot completes each task

More information

VOICE CONTROLLED ROBOT WITH REAL TIME BARRIER DETECTION AND AVERTING

VOICE CONTROLLED ROBOT WITH REAL TIME BARRIER DETECTION AND AVERTING VOICE CONTROLLED ROBOT WITH REAL TIME BARRIER DETECTION AND AVERTING P.NARENDRA ILAYA PALLAVAN 1, S.HARISH 2, C.DHACHINAMOORTHI 3 1Assistant Professor, EIE Department, Bannari Amman Institute of Technology,

More information

INTRODUCTION OF SOME APPROACHES FOR EDUCATIONS OF ROBOT DESIGN AND MANUFACTURING

INTRODUCTION OF SOME APPROACHES FOR EDUCATIONS OF ROBOT DESIGN AND MANUFACTURING INTRODUCTION OF SOME APPROACHES FOR EDUCATIONS OF ROBOT DESIGN AND MANUFACTURING T. Matsuo *,a, M. Tatsuguchi a, T. Higaki a, S. Kuchii a, M. Shimazu a and H. Terai a a Department of Creative Engineering,

More information

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 7: IR SENSORS AND DISTANCE DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOAL: This section will introduce

More information

CONSTRUCTION GUIDE IR Alarm. Robobox. Level I

CONSTRUCTION GUIDE IR Alarm. Robobox. Level I CONSTRUCTION GUIDE Robobox Level I This month s montage is an that will allow you to detect any intruder. When a movement is detected, the alarm will turn its LEDs on and buzz to a personalized tune. 1X

More information

Memory. Introduction. Scratch. In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours!

Memory. Introduction. Scratch. In this project, you will create a memory game where you have to memorise and repeat a sequence of random colours! Scratch 2 Memory All Code Clubs must be registered. Registered clubs appear on the map at codeclubworld.org - if your club is not on the map then visit jumpto.cc/ccwreg to register your club. Introduction

More information

Pre-Activity Quiz. 2 feet forward in a straight line? 1. What is a design challenge? 2. How do you program a robot to move

Pre-Activity Quiz. 2 feet forward in a straight line? 1. What is a design challenge? 2. How do you program a robot to move Maze Challenge Pre-Activity Quiz 1. What is a design challenge? 2. How do you program a robot to move 2 feet forward in a straight line? 2 Pre-Activity Quiz Answers 1. What is a design challenge? A design

More information

Boe-Bot robot manual

Boe-Bot robot manual Tallinn University of Technology Department of Computer Engineering Chair of Digital Systems Design Boe-Bot robot manual Priit Ruberg Erko Peterson Keijo Lass Tallinn 2016 Contents 1 Robot hardware description...3

More information

Emergent Behavior Robot

Emergent Behavior Robot Emergent Behavior Robot Functional Description and Complete System Block Diagram By: Andrew Elliott & Nick Hanauer Project Advisor: Joel Schipper December 6, 2009 Introduction The objective of this project

More information

Programming a Servo. Servo. Red Wire. Black Wire. White Wire

Programming a Servo. Servo. Red Wire. Black Wire. White Wire Programming a Servo Learn to connect wires and write code to program a Servo motor. If you have gone through the LED Circuit and LED Blink exercises, you are ready to move on to programming a Servo. A

More information

Princess & Dragon Version 2

Princess & Dragon Version 2 Princess & Dragon Version 2 Part 3: Billboards, Events, Sounds, 3D text and Properties By Michael Hoyle under the direction of Professor Susan Rodger Duke University July 2012 Overview In this last part,

More information

Unit 4: Robot Chassis Construction

Unit 4: Robot Chassis Construction Unit 4: Robot Chassis Construction Unit 4: Teacher s Guide Lesson Overview: Paul s robotic assistant needs to operate in a real environment. The size, scale, and capabilities of the TETRIX materials are

More information

Hardware Implementation of an Explorer Bot Using XBEE & GSM Technology

Hardware Implementation of an Explorer Bot Using XBEE & GSM Technology Volume 118 No. 20 2018, 4337-4342 ISSN: 1314-3395 (on-line version) url: http://www.ijpam.eu ijpam.eu Hardware Implementation of an Explorer Bot Using XBEE & GSM Technology M. V. Sai Srinivas, K. Yeswanth,

More information

Devantech SRF04 Ultra-Sonic Ranger Finder Cornerstone Electronics Technology and Robotics II

Devantech SRF04 Ultra-Sonic Ranger Finder Cornerstone Electronics Technology and Robotics II Devantech SRF04 Ultra-Sonic Ranger Finder Cornerstone Electronics Technology and Robotics II Administration: o Prayer PicBasic Pro Programs Used in This Lesson: o General PicBasic Pro Program Listing:

More information

Sten BOT Robot Kit 1 Stensat Group LLC, Copyright 2016

Sten BOT Robot Kit 1 Stensat Group LLC, Copyright 2016 StenBOT Robot Kit Stensat Group LLC, Copyright 2016 1 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and documentation. There is a 90 day warranty for the

More information

Voice Guided Military Robot for Defence Application

Voice Guided Military Robot for Defence Application IJIRST International Journal for Innovative Research in Science & Technology Volume 2 Issue 11 April 2016 ISSN (online): 2349-6010 Voice Guided Military Robot for Defence Application Palak N. Patel Minal

More information

- Introduction - Minecraft Pi Edition. - Introduction - What you will need. - Introduction - Running Minecraft

- Introduction - Minecraft Pi Edition. - Introduction - What you will need. - Introduction - Running Minecraft 1 CrowPi with MineCraft Pi Edition - Introduction - Minecraft Pi Edition - Introduction - What you will need - Introduction - Running Minecraft - Introduction - Playing Multiplayer with more CrowPi s -

More information

CS1301 Individual Homework 5 Olympics Due Monday March 7 th, 2016 before 11:55pm Out of 100 Points

CS1301 Individual Homework 5 Olympics Due Monday March 7 th, 2016 before 11:55pm Out of 100 Points CS1301 Individual Homework 5 Olympics Due Monday March 7 th, 2016 before 11:55pm Out of 100 Points File to submit: hw5.py THIS IS AN INDIVIDUAL ASSIGNMENT!!!!! Collaboration at a reasonable level will

More information

Medb ot. Medbot. Learn about robot behaviors as you transport medicine in a hospital with Medbot!

Medb ot. Medbot. Learn about robot behaviors as you transport medicine in a hospital with Medbot! Medb ot Medbot Learn about robot behaviors as you transport medicine in a hospital with Medbot! Seek Discover new hands-on builds and programming opportunities to further your understanding of a subject

More information