Music by Touch Music by Touch Presentation > TeachEngineering.org

Slides:



Advertisements
Similar presentations
How Do You Make a Program Wait?. 1. What is an algorithm? 2. Can you think of a reason why it might be inconvenient to program your robot to always go.
Advertisements

How Does a Sound Sensor Work?
Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Programming
Computational Neurobiology Center, College of Engineering, University of Missouri, Columbia MO DAY 2 – 50 minutes HOW DOES A ROBOT MOVE?
How Does a Light Sensor Work?. 1. How do humans sense light? 2. Provide an example “stimulus-sensor- coordinator-effector-response” framework using the.
The NXT is the brain of a MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform.
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.
Control Using Sound. 1. What is sound? 2. How does the LEGO sound sensor sense sound? 2 Control Using Sound Pre-Quiz.
Don’t Bump into Me!. 1. How do bats sense distance? 2. Describe how bats sense distance in a “stimulus-sensor-coordinator-effector- response” framework.
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.
Music by Touch. 1. Provide an example “stimulus-sensor- coordinator-effector-response” framework for both your (human) sense of touch and the robotic.
Robotics Abstractions: Levels of language, world view
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Adapted for STLP Camp ‘09 Mobile Robots Why do robots need to move?
Wait Program! WAIT please!. 1. Why is it often better to use conditional commands rather than program a robot to move exact distances? 2. What is the.
Reactive robots UPNA The Public University of Navarra Material for pupils & students.
Programming a light sensor to follow a black line.
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*.]
According to the image, what is the file name? According to the image, what is the program name? Quiz Example.ev3 Falcon.
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.
That’s Hot! Robot Brain Programming
Find the Mindstorms Icon on the computer.. To start a new program click go.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
ROBOTICS Jason Bell Brad Carlson
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.
ROBOTC for VEX Online Professional Development. Homework Questions Thoughts? Questions?
How Do You Make a Program Wait?
Robotics Abstractions: Levels of language, world view
Introduction to LEGO Mindstorms EV3 What is in the box?
Remote Control Using Bluetooth
NXT Mindstorms Kit Programming
DAY 2 – 50 minutes HOW DOES A ROBOT MOVE?
Exploring Computer Science Lesson 6-5
Line-Follower Challenge
Don’t Bump into Me! Presentation > TeachEngineering.org
What Is an Electric Motor? How Does a Rotation Sensor Work?
ROBOTC for VEX Online Professional Development
Understanding Communication with a Robot? Activity (60 minutes)
MINDSENSORS PSP-Nx Controller for LEGO® MINDSTORMS®
Robotics Abstractions: Levels of language, world view
Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
How Does a Color Sensor Work?
Introduction To Programming with LEGO NXT 2
Robot Soccer Challenge
How Does an Ultrasonic Sensor Work?
How Does a Touch Sensor Work?
Loops and Switches Pre-Quiz
Module F: Presentation Understanding Robot Fundamentals
Robot Programming Computer Literacy S2.
Introductory Presentation
INTERMEDIATE PROGRAMMING LESSON
Exploring Computer Science Lesson 6-5
Controlling your quadcopter
INTERMEDIATE PROGRAMMING LESSON
Holyoke Codes LEGO ROBOTICS
Lego EV3 Mindstorms SW Programming Blocks.
Maze Challenge Maze Challenge activity > TeachEngineering.org
That’s Hot! Robot Brain Programming
Using Waits, Loops and Switches
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
LEGO Education - Mindstorms EV3 - Computer/control center – The Brick
Hare and Snail Challenges
Lego MINDSTORMS EV3.
Getting started with LEGO EV3 Mindstorms software
Downloading to the NXT requires the correct hardware setup
Controlling your quadcopter
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

Music by Touch Music by Touch Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri

Music by Touch Pre-Quiz Provide an example “stimulus-sensor- coordinator-effector-response” framework for both your (human) sense of touch and the robotic touch sensor. Explain how the LEGO touch sensor works.

Music by Touch Pre-Quiz Answers Provide an example “stimulus-sensor-coordinator-effector- response” framework for both your (human) sense of touch and the robotic touch sensor. For human touch: hot object > touch using finger > nervous system > muscle > move finger back For LEGO setup: button pressed > touch sensor > cable connecting to brick > motor > move the motor Explain how the LEGO touch sensor works. When the touch sensor button is pressed, it closes a circuit (similar to when you turn on a light switch) and a current is sent to the LEGO brick, which then knows that the touch sensor button was pressed.

Human-Robot Similarities Your hand is commanded by your brain. Similarly, the LEGO MINDSTORMS EV3 intelligent brick commands its motor to move. The next slide provides a design challenge to show how this might be done.  Center for Computational Neurobiology, University of Missouri

Engineering Design Challenge Music by Touch Activity Engineering Design Challenge Do This: Attach 2 touch sensors to the input ports, and a motor to an output port. Write a program to do the following: If one touch sensor is touched, play a piece of music and keep rotating the wheel (attached to the motor) slowly. If the other sensor is also touched, play the music faster and make the wheel turn faster. Do this in a loop, continuously, until the program is stopped. Write your program on a separate page and have your teacher check it before you begin. Center for Computational Neurobiology, University of Missouri

Answer: Programming the EV3 Touch Sensor Description: This program is for an EV3 robot with two touch sensors(one attached to port 1 And the other attached to port 2)and one motor (attached to port A), The program Will cause a robot to play a music softly and rotate the motor slowly when one touch Sensor is touched and play music loudly and turn the motor fast when the other touch Sensor is touched, It will do this continuously till the program is stopped Programming: 1)Click the “Loop” icon [3rd icon in Flow control] and drag the loop command Onto the Play button beam 2)Click the “Switch” icon[4th icon in flow control] and drag and drop it onto the play sequence beam Inside the loop command Center for Computational Neurobiology, University of Missouri

3) Click on blank part, click on “LEGO With the switch command highlighted, verify that the touch sensor, port 1, and the “bumped” option are selected. 3) Click and drag the “sound” icon [6th icon in Action] onto the top play sequence beam in the switch Port 1 Answer: Programming the EV3 Touch Sensor (continued) 2) Change volume to 25 3) Click on blank part, click on “LEGO Sound Files” and select the preferred Sound you want to be played 1) Leave it with the Play file selection Center for Computational Neurobiology, University of Missouri

C) Select “on” so that your motor rotates unlimitedly 4) Click and drag a movement block next to the sound icon on the play sequence beam. A) Select Port A B) Set the speed to 25 C) Select “on” so that your motor rotates unlimitedly 5) Click and drag another “Switch” onto the bottom sequence beam in the first ”switch” Answer: Programming the EV3 Touch Sensor (continued) A) Make sure that touch Sensor is selected B) And “Bumped” is selected Center for Computational Neurobiology, University of Missouri

1) Select a sound option from the list. 6) Click and drag another “sound” icon onto the top sequence beam in the second switch. 1) Select a sound option from the list. 2) Set the volume to 75. 7) Click and drag another “move” icon onto the sequence beam in the second switch next to the “sound icon” Answer: Programming the EV3 Touch Sensor (continued) 1) Set to port A 2) Set the speed to 75. 3) Set to “ON” for unlimited turn Center for Computational Neurobiology, University of Missouri

Music by Touch Post-Quiz Provide an example “stimulus-sensor- coordinator-effector-response” framework for both your (human) sense of touch and the robotic touch sensor activity you performed. Explain how the LEGO touch sensor works. Assume the brick is connected to a touch sensor and a motor. Sketch a simple program to move a motor when a touch sensor is pressed.

Music by Touch Post-Quiz Answers Provide an example “stimulus-sensor-coordinator-effector- response” framework for both your (human) sense of touch and the robotic touch sensor activity you performed. For human touch: hot object > touch using finger > nervous system > muscle > move finger back For LEGO setup: button pressed > touch sensor > cable connecting to brick > motor > move the motor Explain how the LEGO touch sensor works. When the touch sensor button is pressed, it closes a circuit (similar to when you turn on a light switch) and a current is sent to the LEGO brick, which then knows that the touch sensor button was pressed. Assume the brick is connected to a touch sensor and a motor. Sketch a simple program to move a motor when a touch sensor is pressed. See #3 programming solution on next slide. 

Quiz Answer #3: Moving a Motor Using the Touch Sensor Description: This program is for an EV3 robot with an attached touch sensor. This program will cause The motor to move when the touch sensor is pressed. In this program the robot is set to do this motion only once. Programming: 1) Drag up the “wait” icon which is the second icon in the “flow control (yellow)” section. After that drag up the “Move tank” icon which is the fourth icon in the section “Action”. Set in this order. Set to port 1 and B+C Set rotation to 1000 and power to 50 -Select Touch sensor from The provided option. -Go to compare, and select State. Then set the state to 1.

Vocabulary sensor: A device that converts one type of signal to another; for instance, the speedometer in a car collects physical data and calculates and displays the speed the car is moving. tactile: Related to touch. stimulus: A thing or event that causes a reaction. transducer: Another term for a sensor (see above). Center for Computational Neurobiology, University of Missouri