Robotics+Assignment

ACTIVITY ONE: 50 CM AND NO MORE **Task Outline: Program your robot to move exactly 50cm from the start line to the finish line.** To complete this task we have to take into consideration the radius of the wheel (18mm) which has been given to us. With the radius measurements accounted for, we then have to find out the number of rotations the wheel is able to execute to get as close to the finishing line as possible. My team, Gabby and I also have to make sure the NXT Bloc is connected properly with each cable connected to the correct port, B and C. Also we need to have an understanding of how to program the robot to move by using the NXT 2.0 Programming software.
 * 1. a.**

**1. b.** ﻿ The factors that affect the success and the failure of Activity One is the environment, power, measurements and the surface of the environment which can affect the speed and the efficiency of the wheels. The carpet is an abrasive surface that could slow down the speed of the wheel due to the friction of the rubber wheel and the texture of the carpet when in comparison to a tiled or floorboarded surface the speed can vary. Also the surrounding environment has to be taken into account as any objects could risk the possibility of the robot responding different. It is unknown if there surrounding environment will not affect the duration of the race, but if so this has to be taken into consideration. The NXT robot has to be properly charged to avoid battery loss. To avoid the risk of this we need to make sure the robot is charging at the end of each lesson. Another factor that can possible help us succeed or fail Activity one is the measurement of the wheels radius which has been given to us, (18mm). In order to get as close to the finish line as possible, we would need to use this hint mathematically to work out how far one complete rotation would travel and go from there. Since one complete rotation allows the robot to travel an approximate of 15cm and since 15 goes into 50 at around 3.4 times then we would have to enter 3.2 into the NXT programming software and slowly trial and error until we get the correct reading. Just a theory so far..


 * 1. c.**


 * 1. d**.

media type="youtube" key="e4TERfUSago?fs=1" height="385" width="480"

**1. e. Audio Reflection** media type="custom" key="6713211"

ACTIVITY TWO: THERE AND BACK AGAIN

**Task Outline: Program your robot to move from its position on the start line across the turn line, 50cm away, turn around and return to the same position it started**

**2. a.** To complete this task Gabby and I need to learn how to use the Point Turn in the Nxt Programming software in order for us to program the robot to perform a complete 360 turn to get back to where to the same position where it started. Again we have to make sure the cables are connected to the correct port which is B and C.

**2. b.** Factors that can affect whether we fail or succeed in Activity 2 is if we do/don't correctly follow the "Point Turn" instructions. The hint says a 360 degrees duration will do one full rotation of the wheel... we have to input 360 into the area that says duration to get one complete rotation so the robot can turn around and finish at it's starting position. Using the same surface covering as carpet compared to tiled or a floorboarded floor can affect the travel distance of the robot. Again to prevent the risk of the battery running out, we must ensure that at the end of each lesson we put our robot into the cupboard to charge; ready for next lesson.

**2. c.**

**2. d.** media type="youtube" key="U4lnyXt-XLQ?fs=1" height="385" width="480" 

**2. e. Audio Reflection**

media type="custom" key="6713263"

ACTIVITY 3: BRACE, BRACE, BRACE

**Task Outline: Use the ultra Sonic Sensor to avoid collisions with other robots. This task will involve you developing a simple loop program, where the robot will trun to avoid a collision with an object when the Ultra Sonic Sensor is activated**

**3. a.** In order to complete this task we need to become familiar with the ultrasonic sensor. We need to be able to connect the sensor to the robot so that it is in use and we have to make sure that the programming is correct so that it doesn't bump into foreign objects.

**3. b.** Some factors we need to take into consideration include missing parts for when we add the sensor, low battery and computer malfunctionds. E.g. Flipshare doesn't work on my computer.

<span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**﻿3. c.** <span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">

<span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**3. d.** <span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">media type="youtube" key="vbHq_F_Nnlc?fs=1" height="385" width="480" <span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**3. e. Audio Reflection** <span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">media type="custom" key="6713341" <span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">

<span style="color: #ff9900; display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">ACTIVITY FOUR: EDGE FINDER

<span style="color: #ff9900; display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**Task Outcome: Use the light sensor and simple loop program to navigate your robot safely round a table top**

<span style="color: #000000; display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**4. a.** <span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: small;">In order to complete this task we need to be able to use the light sensor, we need to become familiar with it and see how it works. In the NXT Programming Software we need to look at the common palette so we know where to start and what needs to be done on each moving blocks. We also need to make sure that the sensor is turned on at the right port so that it can work.

<span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**4. b.** Where we do it will effect the final outcome. Everytime we do it, we must make sure we do it in the same place so the reflected light is the same or else it will fall off the table if we do it somewhere different everytime. The surface also effects the speed of the robot.

<span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**4. c.**

<span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**4. d.** <span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">media type="youtube" key="UylGdGaiVZ4" height="385" width="640" <span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**4. e Audio Reflection﻿** <span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">media type="custom" key="6762763" <span style="display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">

<span style="color: #ff9900; display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">ACTIVITY 5: WALLS AND EDGES

<span style="color: #ff9900; display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**Task Outline: Use the touch sensor, an activator and simple loop program to move your robot and negotiate collisions** <span style="color: #000000; display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**5. a** In order to complete this task, my group and I have to know how to correctly construct the touch sensor while using the NXT building guide and properly attatch the sensor to the NXT brick. We also have to have an understanding in using the Lego NXT programming software and programming the touch sensor to fulfill the require task which is to turn around and move when faced with objects.

<span style="color: #000000; display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**5. b** The factors that could make us fail or succeed in this task is to make sure the construction of the touch sensor is correctly built and attatched to the correct port of the NXT brick, which is port 1. We should also test the robot before filming to see if it will respond when it collides with an object, so placing the robot near a wall or placing an object in it's path will enable us to see if anything needs to be modified. With the Lego NXT programming software we also need to make sure the function of the touch sensor is programmed correctly otherwise when in contact with an foreign object the robot will not respond as desired to.

<span style="color: #000000; display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**5. c**

<span style="color: #000000; display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**5.d** <span style="color: #000000; display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">media type="youtube" key="kAGAir3yOxs" height="344" width="425" <span style="color: #000000; display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">**5. e** <span style="color: #000000; display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">media type="custom" key="6762813" <span style="color: #000000; display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;"> <span style="color: #000000; display: block; font-family: Tahoma,Geneva,sans-serif; font-size: 110%;">