Smarter than Eliza Presents . . . Rosie the Riveter!
All the day long,
Whether rain or shine,
She's a part of the assembly line.
She's making history,
Working for victory,
Rosie the Riveter.
Keeps a sharp lookout for sabotage,
Sitting up there on the fuselage.
That little girl will do more than a male will do.
Intro:
The "arena" is a rectangular box with 6 yellow and 6 blue balls on it. There is a depressed goal at one end with Christmas tree lights hanging above it.
Goal:
Get the correct color ball into the goal.
Strategy:
- Define "correct" color by pushing button
- Find the ball using using a distance sensor, code to linearize distance values
- Trap ball using a claw powered by servo motors
- Determine color
- Correct color
- Find goal using a Breitenburg program
- Release into goal
- Incorrect color
- Lather, Rinse, Repeat
- Don't crash into walls using bump sensors
- Stop after 2 minutes
Sensors and add-ons:
- 1 longrange distance sensor to find ball
- 3 photoresistors
- 1 to determine the ball's color
- 2 to find the goal
- 3 snap action switches
- 1 to activate the trap's release
- 2 to act as bump sensors
- 2 servo motors for trapping ball
- K'Nex for infastructure
Meet the Riveters
Amber
- find the ball
- find the goal
- yellow vs. blue
- wrote mastercode
Lorraine
- build and operate claw
- timer
- avoid collision
- yellow vs. blue
- wrote mastercode
Results
Due to a lack of communication, two mastercodes were written, each lacking the other partner's code. Both partners wrote code for ball differentiation. Attempts were made to combine the code, but they were futile. Additionally, the servo motors seem to have burned out, which makes it difficult to capture the egg.
Procrastination was not an issue, but there was not enough time to complete the project.
Links:
Attach:ljfmastercode.txt