Robotics+assignment



__Task One__
__WHAT YOU NEED TO LEARN TO COMPLETE THE TASK:__

· Learn how to use the program · The tools in the NXT mindstorms to program the robot to the right measurements · Know how to use the motor blocks · Getting the durations correct

__ASSESES THE FACTORS WHICH WILL AFFECT THE SUCCESS/FAILURE FOR EACH MISSION:__

· The wheels are big, so the amount of rotations counts · The robot is being tested on carpet which makes it rougher than it would be on tiles or floor boards · The front of the robot has a bumper bar and sticks out, so you have to make sure the measurements start from the front bumper bar · Make sure the wires in port B and C don’t touch the floor and affect the testing of the robot

audio reflection:

media type="file" key="Audio Reflection1.mp3" width="240" height="20"

screen shot:

video: media type="youtube" key="JtiNe8Ul36c" height="344" width="425"

- know how to link motor blocks in the NXT programming software - learn how to set the duration using the different measures, such as: unlimited, degrees, rotations and seconds. - learn how to turn the robot around, by adjusting the steering towards B or C.
 * __Activity 2__-There and Back Again**
 * 2.a** In order to complete this task we need to:

Once again we have to program our robot to travel 50cm so we will need an accurate measure of this. We can use the marked distance on the carpet, as in activity 1. Also, as in activity 1, we need to program, test and complete this task on the same surface, which in this case is carpet, as the robot will travel and turn differently on other surfaces.The position of the 2 front wheels will affect how the robot turns. We have to make sure that these are both pushed onto the black rods the same distance otherwise the robot won't turn the way that we have programmed it too.
 * 2.b** Here are some of the factors that will affect the success of our robot.

video:

media type="youtube" key="cB8Ao73w-MM" height="344" width="425"

audio reflection:

media type="file" key="Audio Reflection2.mp3" width="240" height="20"

screen shot:



**__Task Three__**
__WHAT YOU NEED TO LEARN TO COMPLETE THE TASK:__

· How to attach the sensor in its correct position and wires · Need to know the distance property of the sensor to set how close the robot gets to the object before it senses it and turns away. · Be able to rotate the robot

__ASSESES THE FACTORS WHICH WILL AFFECT THE SUCCESS/FAILURE FOR EACH MISSION:__

· The wheels are big, so the amount of rotations counts · The robot is being tested on carpet which makes it rougher than it would be on tiles or floor boards · The front of the robot has a bumper bar and sticks out, so you have to make sure the measurements start from the front bumper bar · Make sure the wires in port B and C don’t touch the floor and affect the testing of the robot · Doesn’t collide with other robots and other objects · Knows where and what to sense to avoid more collision video: media type="youtube" key="MpbMT5gxI3w?fs=1" height="385" width="480"  audio reflection:  media type="file" key="Audio Reflection3.mp3" width="240" height="20"  screen shot:

__**Activity 4-**__ **Edge Finder** **4.a** In order to complete this task we need to: - know how to attach a light sensor. - know how to use the robot to measure the difference between the reflected light in the middle of the table and at the edges. - know how to set the light sensor properties correctly, using the signs to get the robot to respond to the differences in light that we measure. - know how to get the robot to reverse away from the edge of the table before turning around.

**4.b** Here are some of the factors that will affect the success of our robot. The direction that the table faces will create a shadow on one or more of its' sides. Therefore we must measure the amount of light on all the edges of the table otherwise we could set the level too high/low and the robot won't react to the change in light, driving straight off the table. Also the positioning of the light sensor will affect the robots' ability to detect a change in light. We have to make sure the sensor is directed in front of the robot, so it can detect a change in light before it is too late for the robot to turn around. video:

media type="youtube" key="kL5YGBeAvGU" height="344" width="425"

audio reflection:

media type="file" key="audio reflection four.wav" align="center" width="300" height="50"

screen shot:



**__Activity 5-__ Walls and Edges** **5.a** In order to complete this task we need to: - learn how to attach and connect a touch sensor. - learn how to build and attach an activator. - know how to set the properties of the touch sensor so the robot responds to a collision, (setting the action to 'pressed' so the robot responds when the activator presses the touch sensor).

**5.b** Here are some of the factors that will affect the success of our robot. The positioning of the activator and the touch sensor needs to be correct. We need to make sure that the activator will press on the touch sensor when an object is touched otherwise the touch sensor won't be activated. The height of objects will also affect the way the touch sensor works. If an object in the robots' path is lower than the activator the touch sensor won't be activated, and the robot will run into that object. We have to avoid low level objects such as table legs as the activator won't touch these, the robot will run into them and get stuck. video:

media type="youtube" key="jQmSE7fixPI" height="344" width="425"

audio reflection:

media type="file" key="audio reflection five.wav" width="300" height="50" screenshot: