Recent Changes - Search:

TEAMS Academy Wiki

THS

Explore TEAMS!
for visiting sophomores & juniors


Robotics


EnvBioTech

Bat Design

Assistive Tech

Students

Instructors

TEAMS Forum

TEAMS Calendar

TEAMS Web Site

Wiki Info

edit Robots.SideBar

Lab 2 Wall Sensor Experiment

Notes for 10/9/07
1. Manan Thakkar
2. Cassandra
3. Erin
4. Scott
5. Dan
6. Richard



Manan Thakkar: Lab Report
Background Info / Hypothesis:
The robot has a built-in wall sensor near the right bumper that detects whether or not there is a wall. The wall sensor, (data byte 8) returns the state of the wall sensor (1=on, 0=off). I hypothesize that the wall sensor does not have a very far range when sensing the wall. It will most likely, at the maximum, not be able to detect a wall that is more than half a foot away. Therefore, I predict that the robot can only detect walls on the right-hand side that are closer than 6 inches to the side of the robot.

Materials:

  • iRobot Create
  • A ruler
  • A wall, or something that can act as one

Procedure:

  1. First, place the ruler on the floor, and line it up against the wall so that it forms a 90° angle with the wall.
  2. Now place the robot on the ruler so that it is also perpendicular with the wall, with it's right side facing the wall. Place the side of the robot 5 inches away from the wall, using the ruler to measure.
  3. Type in the following code, which gives you the state of the wall sensor. It is best send this code numerous times to consolidate the state is what it says. Then record the data:
    1. 128 142 8
  4. Move the robot .5 inches closer to the wall
  5. Repeat steps 3 and 4 until the robot is .5 inches away from the wall.
  6. Repeat the steps 3 to 5 once more. However, this time, instead of using the state sensor of the wall, use the strength sensor by typing in and sending the following code:
    1. 128 142 27

Data:

90° from wall
Distance(in) State Strength
5 off 0 3
4.5 off 0 3
4 off 0 4
3.5 off 0 7
3 off 0 14
2.5 off 0 26
2 off 0 54
1.5 on 0 130
1 on 0 196
.5 on 1 69

Conclusion: It can be seen from the data that the robot has to be very close to the wall for the Create to detect anything. This can be concluded simply by looking at the data taken from the state of the robot. The robot must be less than 2 inches away for the wall state to change.

However, this is not to say that the Create must be 2 inches away to detect a wall or an object. As can be seen from the strength column of the data table, the Create started detecting a wall much prior to the 1.5 inch test. At approximately 3.5 inches, the strength slowly increased, showing that the sensor had faintly picked something up. The strength sensor really starts getting strong at 1.5 inches.

Since we know the strength and the state of the robot at different distances, we can figure out at what strength will the state change to on. We can estimate that , at 100 strength, the state of the wall changes to on.

Errors / Other Factors:
There are many factors other than distance that probably affect the wall sensor. For instance, the color of the wall may affect the Create's ability to detect the wall. In this case a white wall was used, which may have caused the sensor to either more easily of difficultly detect the wall. The battery state may have also impacted the Create's wall sensor. Question 5: Interesting Script? Question 6: Wimp


Cassandra: Lab Report Cassandra Abou-Farah (Blue Cohort)

2. How does the Wall Signal sensor work? Try modifying the environment to see the effect on the state of the wall sensor (one bit of information) and the strength of the wall signal (two bytes of information) returned by the Create. Collaborate with the other people from both cohorts to divide and conquer this exploration-do not repeat experiments other people are doing (use the wiki to sort out your experiments. Be sure to collect meaningful data, present that data and discuss how the sensor values may be used to control the Create. Of course, as you gain more experience over the next month, you'll discover many more ways to take advantage of the data you've collected.

Purpose/Hypothesis: The purpose of this lab is to figure out how sensitive the sensor is and what kind of data we get back depending on what kind of things the sensor on the Create senses. What I think will happen in this experiment is that the closer the sensor gets to something the higher the strength will be. When the sensor senses something from a far away distance, the lower the strength will be. The state will be based on if the sensor senses something or not.

Materials:

                Create 
                Lined Paper 
                Blank Computer Paper 
                Ruler

Procedure:The first procedure that will be done is with the lined paper. One piece of lined paper will be tested. The ruler will be placed next to the sensor. The paper will be placed at a certain distance from the sensor, starting from it being very close to it and then moving it away from it farther and farther. It will be tested every 5 cm. The same thing will be done but this time it will be with a stack of lined paper. The same procedure will be done using the blank paper. This will help determine if the lines on the paper affect the sensor and how thick or thin and object has to be.

Results:1 Plain White Paper

Distance(cm)StateAverage Strength
0 cmon250
5 cmoff13
10 cmoff1
15 cmoff0
20 cmoff0

1cm thick of plain white paper

Distance(cm)StateAverage Strength
0 cmon36
5 cmoff11
10 cmoff3
15 cmoff0
20 cmoff0

1 Lined paper

Distance(cm)StateAverage Strength
0 cmon200
5 cmoff30
10 cmoff2
15 cmoff0
20 cmoff0

1cm thick of lined paper

Distance(cm)StateAverage Strength
0 cmon48
5 cmoff8
10 cmoff2
15 cmoff0
20 cmoff0

For the state, it was pretty much the same through out the experiment. As the paper got close to the sensor, it turned on and once it reached 5 cm its state went to 0. This proves that the closer it gets, the more likely it will turn on to read it an object is there. The strength proved to be stronger as it was closer to the sensor. The farther away it was the more the sensor began to reach 0. It also seemed that with the one piece of blank white paper, the sensor was stronger then it was with the lined paper. As for the thick packs, the strength decreased when it was close compared to the one piece of paper. Some errors that could have happened with this experiment was the paper or papers not being steady enough to test the strength and that can be human error because we can only stay still for so long.


Erin: Lab Report BACK

Name: Erin Webster (Red Cohort?)

Purpose/Description of Experiment:

Determine which wall heights the Create can sense, with the Wall Sensor, enough to decide to stop before hitting the wall.

Procedure:

Set up walls of various hieghts

Enter 131 128, 152 12 145 0 100 0 100 158 9 145 0 0 0 0, 153.

If Robot Stops before hitting wall(make walls out of some thing like children's blocks so Create will not be damaged), it has registered.

Results/Conclusions:

HeightRegistered?
24 mmNO
48 mmNO
64 mmNO
72 mmYES
Above 74 mm (overhang)NO

Conclusions: Wall must be at same height as sensor (not too short, and not hanging too high), the not hanging too high should not really be a problem unless you have built something on top of the Create (ex robotic arm, cargo cantainer, etc).


Richard: Lab Report

Question #2: Wall Sensor

Richard Tia (Blue Cohort)

Purpose/Hypothesis: The purpose of this lab is to get a better understanding of the wall sensor and how it works. My hypothesis is that, as the Create approaches a wall along the side of where its wall sensor is, then the signal strength recevied will get larger. As the Create moves away from the wall, te signal strength will decrease. The state will depend on whether the Creat is sensing something in front of the wall sensor or not

Material:

   Create robot
   ruler
   any flat solid object (i used a binder)

Procedure: In my experiment, i was supposed to determine the horizontal range of the Create's wall sensor. Before i could do any testing we had to learn about how it determined the state, and found out that an object had to be placed almost tangent to the side of the Create, with the wall sensor, in order for the sensor to detect anything. Now that we knew this, i put my binder tangent to the side of the Create and kept sliding it forward. While doing this, i repeatedly sent 142 8, in order to see if the wall sensor was sensing anything. Then, to see how far it could sense, i placed my binder so that it could be sensed and moved it away until it wasn't sensed anymore. I measured this distance.

<<<<<<<

Results: The wall sensor can only sense an object that is directly in front of it and at the same time almost tangent to the side of the create. The maximus distance it can sense up to is about 2 inches. It seems that the wall sensor has a short beam that goes out of it to detect if there is an object.


Scott: Lab Report Name: Scott Yim (Red Cohort)

Purpose/Description of Experiment: The purpose of my experiment was to determine whether or not the wall sensor could detect matte colors and colors through glass (state), and how well it could do so (strength). I hypothesized that both the matte and colors through the glass would be detected, but that the ones behind the glass would produce better results because of the reflective properties. In addition, I thought that the lighter colors would cause the wall signal sensor to send back higher numbers due to the fact that darker colors (especially black) would absorb light. Therefore, the most effective combination for the wall sensor would be light colors that are placed behind the glass. The colors I tested were as follows: red, orange, yellow, green, purple, blue, black, and white. To test the matte colors, I placed each piece of paper in front of the glass and sent the Wall Signal command (strength) 5 times, then averaged the results. To test them through the glass, I repeated the same procedure, except with the paper behind the glass. The results can be seen below:

Results/Conclusions: In conclusion, the wall state sensor detected the matte colors (all 1's), but was not able to detect the colors through the glass (all 0's). However, the wall signal (strength) detected both, but gave back much lower numbers for the ones behind the glass. Thus, my hypothesis was only partially correct, as only the matte colors were detected by the wall state sensor. Although it would be nice to make a generalization about which color is detected best by the sensors, there just isn't a significant margin between any of the colors to make that conclusion. Even though black came out the lowest value and white the highest in both tests, there isn't enough of a difference.


Dan: Lab Report Hypothesis/Purpose The purpose for this experiment is to determine whether the reflectiveness of a surface will effect the wall sensor in the create robot. I am hypothesizing that the clearer the reflection off of the surface the higher the wall sensor will read.

Procedure For this experiment I will be testing the create's wall sensor with four surfaces. In order of increasing reflectiveness they are: average paper, laminated surface, CD, and a mirror.

1.)I will place the robot's wall sensor 2 inches away from the test area.

2.)I will place the surface in the exact spot for every test

3.)Using the opcode 142 then the wall signal command, 8, I will get a reading from the robot and record the data

4.)I will repeat steps 1-3 for each of the four tests

Results

SurfaceMagnitude
Paper0 224
Laminated2 24
CD10 12
Mirror11 168

Conclusion In conclusion my hypothesis was correct. The surface with the clearest reflection, the mirror, had the highest reading, followed by the CD then the laminated paper, and then the regular paper. This leads me to believe that the more reflective the surface is the more likely it is to be picked up by the wall sensor. BACK


Name: Erin Webster (Red Cohort)

Purpose/Description of Experiment:

Determine which wall heights the Create can sense, with the Wall Sensor, enough to decide to stop before hitting the wall.

Procedure:

Set up walls of various hieghts

Enter 131 128, 152 12 145 0 100 0 100 158 9 145 0 0 0 0, 153.

If Robot Stops before hitting wall(make walls out of some thing like children's blocks so Create will not be damaged), it has registered.

Results/Conclusions:

HeightRegistered?
24 mmNO
48 mmNO
64 mmNO
72 mmYES
Above 74 mm (overhang)NO

Conclusions: Wall must be at same height as sensor (not too short, and not hanging too high), the not hanging too high should not really be a problem unless you have built something on top of the Create (ex robotic arm, cargo cantainer, etc).

Edit - History - Print - Recent Changes - Search
Page last modified on October 28, 2007, at 07:43 PM