Getting+to+Know+You-+Robotics


 * Less Talk, More Action: Learning how to program the Lego Mindstorms Robot through Discovery**

Introducing the simplest roving robot (SuRRy). The picture below is SuRRy without any attachments, or what is known as a base robot. Four different attachments with sensors have been designed to easily attach to this base.

__Parts of the NXT Brick__

__NXT Programming__ – no need for a separate computer; robot programming for the time-constrained classroom

// Part 1: Driving the SuRRy //
 * Challenges: 5-step NXT Programming **

The five boxes shown in the NXT Programming Submenu (above) can have a command placed in them (below) or can be left empty.
 * 1) 1 __Inside the Box__ - Create a program that moves your robot from one square to another and then stops.
 * Every group needs to start in a different square.
 * When you and another robot end up in the same square, fill out the robot data sheet. Try to meet up with all other robots.
 * When driving the robot using NXT programming, the commands shown below are the only ones you will need to use.


 * More driving challenges **
 * 1) 2 __Two-Step__ – Create a program that moves your robot forward from one square to another, pauses a couple of seconds, moves it forward to another square, and then stops.


 * 1) 3 __Inside the Box + Turn__ – Create a program that moves your robot from one square to another, turns it approximately 90 degrees, and then stops. After the turn the robot should be facing a square.


 * 1) 4 __Homerun__ – create a program that causes the robot to move in a square pattern through 4 different squares (see picture below). The robot needs to only touch part of the square.




 * 1) 5 __Beeping Before Backing__ – With the assistance of one of the sound commands shown below, create a program that causes the robot to emit a sound, wait a couple of seconds, and then backup from one square to another square.



// Discovery through Symbolic Manipulation // Each of the NXT Programming commands shown below requires a sensor be connected in order for it to work properly. Additionally, if you want the robot to move in a direction until a sensor detects a certain value, you need one of the movement commands shown below //before// the sensor command. In your bin should be four different attachments. You will need to figure out how to attach them to SuRRy. Additionally, each sensor must be connected to the correct port for it to function properly. Below is a table that lets you know which sensor to attach each port.



// Part 2: Sensing with SuRRy // All of the challenges below require one of the sensors to be attached to SuRRy to work properly. The challenges can be completed in any order.


 * __ Outside the bin __ – attach the ultrasonic sensor attachment. Program the robot to drive forward until it senses a bin, and then have it backup to the right. Have the robot repeat the program.


 * __ Clap before Catastrophe __ – attach the sound sensor attachment. Program the robot to drive forward until you clap, then have it backup to the left. Have the robot repeat the program.


 * __ Bumper Bins __ – attach the touch sensor attachment. Program the robot to drive until it runs into a bin, then have it backup to the right. Have the robot repeat the program.


 * __ Turn on the Tape __ – attach the light sensor attachment. Program the robot to drive until it encounters black tape on the floor, then have the robot turn right. Have the robot repeat the program.


 * __ Going to the end of the tape __ – attach the light sensor attachment. Program the robot to go straight when there is black tape underneath it, but to stop once the tape is no longer present.