Prepare for the User Interface Challenge
Teacher Toolbox - The Purpose of this Section
The User Interface Challenge asks students to create four buttons on the brain's screen, two for controlling the opening and closing of the claw and two for raising and lowering of the arm. This includes programming the Clawbot to react in different ways to screen presses in four different quadrants (buttons) within the screen. This challenge culminates in a game where students have to try to grab, lift, lower, and release as many objects as possible in one-minute rounds. Further details of the rules can be found on the pages in this section for the VEXcode V5 User Interface Challenges.
There are not many materials needed for this challenge except for the selection of a variety of ten objects that students will need to grab, lift, and return to where they were. You should provide or at least screen the objects to be grabbed, lifted, lowered, and released during this challenge because they will need to be objects that are safe for possible dropping. Also, remember to provide any rubric(s) prior to beginning work on this challenge so that students understand how their work will be scored. Rubrics to score pseudocode, engineering notebooks (individual or team ), and programming are all available below and linked again later in this section.
- Pseudocode - Google Doc / .docx / .pdf
- Engineering Notebook (Individual) - Google Doc / .docx / .pdf
- Engineering Notebook (Team) - Google Doc / .docx / .pdf
- Programming - Google Doc / .docx / .pdf
To set up this challenge, have the students work in small groups of four. Ask the students to then find a group to work with, or pair the groups yourself if time is limited. The students should create a group name or number that can be used as their Clawbot ID. One the students are organized into small groups, ensure that they have their Clawbot ready with their project downloaded and ready to run. Ask the students to make sure their project runs properly and all four buttons (opening the claw, closing the claw, raising the arm, lowering the arm) are visible and working.
Assign students to the roles of lifter, scorekeeper, switcher, and timekeeper.
Here is what each role is responsible for:
Lifter: Uses the interface to lift and replace objects and earn points for the team; one lifter per team per round.
Scorekeeper: Uses a score table to track the number of items successfully lifted and replaced within each round of a minute.
Switcher: Places a new object in front of the robot after removing the previously lifted object from the claw. The switcher will replace the object after the robot has grabbed the object, lifted it up in the air, lowered it, then opened the claw releasing the object on the table or surface.
The switcher is removing and replacing the object
Timekeeper: Tracks the one-minute time limit for each round.
If there are more or less than four students in a group, a student can assume multiple roles or more than one student can be assigned to a role.
A scoring table is included but rows can be added for additional groups and rounds. Each group can use their own scoring table or everyone can record on the same one. If multiple groups are using the same score table, write each groups' Clawbot ID or group name/number in the second column.
If time permits, have the groups play multiple rounds and the scorekeeper should combine the points from each round at the end of the User Interface Challenge for a total score. The group with the most points at the end of the challenge, wins!
An Interface to Grab and Lift!
In the User Interface Challenge, you need to program your robot so that a user can use buttons on the brain's screen to pick up a variety of objects.
Your Brain's screen will need to have four buttons:
A button for opening the claw
A button for closing the claw
A button for raising the arm
A button for lowering the arm
To complete the challenge you will need:
Objects to be picked up: an empty can or water bottle, a VEX cube, an unused piece from the VEX kit, or anything else that your teacher can provide