Recent Changes - Search:

TEAMS Academy Wiki

Explore TEAMS!
for visiting sophomores & juniors

Robotics

EnvBioTech

Bat Design

Assistive Tech


Students


Instructors

TEAMS Forum

TEAMS Calendar

TEAMS Web Site

Wiki Info

edit Student.SideBar

ChandnisPracticalExam

Robotics Practical Exam

Chandni Sanariya
Blue Cohort
1/18/08

Goal/Purpose:

  • To us an egg trapper that I designed and to determine the correct egg color and
a) if it is the right egg color, use braitenberg to bring the ball to the goal.
b) if it is the wrong color, spin and send that ball off in the wrong direction.
  • To accomplish this, I will be using a servo motor, short range distance sensor, bump sensor (switch), photoresistors, cricket display, and toggle switch.

Strategy:

+

  • My code will start off assuming that the ball is already trapped in front of the robot.
  • Using a photoresistor, and a toggle switch, it will be decided whether or not the ball is the correct color.
  • Then if the color is correct, I will use Braitenberg, the Create will move in a general direction towards the light.
  • If the color is incorrect (for which the setting will be predetermined by a toggle switch), the create will be designed to spin and send the ball off in the opposite direction of the christmas lights (or at least attempt to).
  • Once it has reached the wall and the bumpswitch in the front of the robot is activated, the create will drive backwards, lift the trapper, then move forward enough to push egg into goal, drive backwards again and turn 180.

Writing the Code:

  • Debugging Tools
    • LEDS
      • LEDS were used consistently throughout the egghunt to monitor if it was within certain loops
    • Cricket Display
      • The Cricket Display was used throughout the entire program to view sensor readings and distance values.

The Code:

Summary:

  • After spending many hours on this project it was concluded that my robot would never purposely find the goal. We found that there was something wrong with the photoresistors and that they were always inconsistent. Thus, this part of the program could not be successfully tested.
  • Ignoring the Braitenberg/Goal Finding section of the code, I did program a piece to let the create know what to do if it were to capture a wrong colored ball. -Success???...
Edit - History - Print - Recent Changes - Search
Page last modified on January 26, 2008, at 03:30 PM