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

RyanAndEricsEggHunt

Strategy for Egg Hunt

Outline of what code should do:

  1. have the robot drive in a random-like fashion
  2. set the photo resistor to sense the colored balls(each color might have a different objective)
  3. drive close enough to the ball for the servos to close in on the ball to pick it up
  4. based on the color:
  • Bad colors: back the robot up and drop servo, so ball will roll out of shovel
  • Good colors: have the robot drive until it finds a wall and then use wall following, presuming the drop pit is surrounded by tape, have the robot follow the wall until that color tape is sensed, then release the ball with the servos

5. after ball is dropped, have the robot turn 180 degrees away from where it is and then drive randomly again until another ball is spotted

how we are separating the work:

Task Description Who
Which Color To Start wait for advanced or play button to be pressed Ryan
Which Ball To Look For look for different ranges of values Ryan
Random Movement Until Wall Move around randomly to collect balls Ryan
Pick Up Ball pick up the ball. Ryan
Detect Color determine whether it is the right or wrong color Eric
Find The Goal use light sensors and proportional control to find the goal Eric
Stop and Score stop in front of the goal and drop the ball Eric
Hardware build the equipment mostly Ryan with very little help from eric

Ryan: work i have done so far

  • since the robotic arm doesnt work, i had to build a new setup for the shovel i had built previously for the arm
  • to build the new hardware, i used two servos, legos, the old shovel and duct tape
  • the servos are not as powerful as i had hoped, so i had to cut the shovel down so the servos could move its weight
  • after tests, i updated the egg hunt program with the new info. i will put up the program soon
  • the new setup is a shovel run by two servos and after much trial and error, i decided to find the ball with a touch sensor and a photo resistor, when both activated then ball is found
  • i did this because i have problems with light values for the yellow ball, the ball and nothing in the shovel gave nearly the same values

Eric: work I've done

  • I built the base for our equipment.
  • I revamped a light following program to find the goal.
  • I worked out some of the bugs in our new code, Ryan did that as well.
  • Much of the original hardware, I developed, but fell through when the claw's servos turned out to be too weak.

Ryan Mr. Rhine said tat the changing light sensor values means the sensor is screwed up. He ssaid that we should replace it.

THE GLORIOUS CODE!

Attach:egghuntfinal.txt

Edit - History - Print - Recent Changes - Search
Page last modified on January 21, 2009, at 05:11 PM