Coding Fundamentals
Lab 3 - Robot Move

Teacher Portal

## Launch the Engage Section

ACTS is what the teacher will do and ASKS is how the teacher will facilitate.

1. Share an example of how the order in which we complete tasks is important.
2. Connect the importance of the order of steps when coding the 123 Robot.
3. Introduce the goal of the activities in the Lab - to code the 123 Robot follow a path on a map using the Coder cards and Coder.
4. Show students a 123 Field with the map symbols on top. You can use the example Map Set-Up in Lab 3 Image Slideshow.
5. Put a marker (a coin, a magnet, a bingo marker, etc.) of some kind on the Library and the Pool squares.
6. Use a dry erase marker to mark a path as children offer ideas for how to get from one point to the other. Listen for correct directionality, and help with left-right orientation if needed.
1. Ask students what would happen if they tried to put their shoes on before their socks.
2. The order matters when putting shoes on, and it matters when ordering Coder cards in our projects.
3. We know that the 123 Robot only does exactly what it is instructed, so how can we use Coder cards and the Coder to instruct them to move to a specific place on a map?
4. How can we get our 123 Robots to follow a specific path?
5. If I wanted to get from the Library to the Pool, how would I do it?
6. Ask for step-by-step instructions: What would be the first step? What does the 123 Robot need to do next?

## Engage

1. InstructInstruct students that the series of Coder cards that they place in the Coder is called a project, and that the order of the cards is very important. The order of the Coder cards is called a sequence.  Sequence is the order in which the cards are executed by the 123 Robot, one after another, starting from the topmost card and moving down.
• Show students the class map (see Map Set-Up slide in the Lab 3 Image Slideshow.) Point out the Map Symbols. These are the starting and stopping points for the 123 Robot (see Map Symbols printable in the Materials Needed section.)
• Show students the Map Challenge Prompts and explain that the image on the left is the starting point, and the image on the right is the endpoint. They want the 123 Robot to move from the object pictured on the left (start) to the one on the right (end.)
• Demonstrate how to use Coder and Coder cards to create a project based on the map prompts, highlighting the sequence of the cards,.
• Point out the starting point and the desired stopping point on the map (i.e. from pool to the park).
• Use a dry-erase marker to show the path that you want the 123 Robot to follow.
• Ask students what the robot needs to do first (drive forward on square on the Field), then find the Coder card that matches that action ("Drive 1".)
• Continue to go through each step to create a project on the Coder to drive the 123 Robot to the final location. Insert the Coder cards to match these steps: "Drive 1", "Turn right", "Drive 2".
• Show students how to test their projects. First they will have to wake the 123 Robot by pushing the wheels along a surface until you hear the startup sound, as shown in the animation below. Turn on sound for this animation. For more information about the 123 Robot, see the Using the VEX 123 Robot VEX Library article.
Video file
• Then, connect the 123 Robot  to the Coder by pressing and holding the Start and Stop buttons on the Coder, and the Left and Right buttons on the 123 Robot for at least 5 seconds, until you hear the connected sound, and the indicator lights flash in time, as shown in the animation below. Turn on sound for this animation. For more information about the Coder, see the Using the VEX 123 Coder VEX Library article.
Video file
• Once connected, place the 123 Robot on the map and start the project to watch the 123 Robot drive from the pool to the park.
• Once you have tested the project, ask the students if the project would still work if you changed the order or sequence of the steps? If time allows, change the order of some of the Coder Cards and test the project. Ask students about why the sequence is important.
2. DistributeDistribute some of the Map Challenge Prompts for students to see before the demonstration.
3. FacilitateFacilitate discussion throughout the demonstration by asking some of the following questions:
• What direction does our 123 Robot have to move first?
• How far does your 123 Robot have to move? (How many squares on the Field?)
• Does our 123 Robot need to make any turns? If so, what direction?
• What would happen if we changed the sequence of the Coder cards in our project?
4. OfferOffer positive reinforcement for students incorporating coding vocabulary into their explanations.

Teacher Troubleshooting

### Facilitation Strategies

• If students are having trouble orienting their left from their right, you may want to have everyone draw arrows at the top of their maps when you begin, and label them LEFT and RIGHT, or just L and R for younger children. This may help them be more efficient and independent in their work.
• For younger students, you may want to chose the second Map Challenge Prompt for the Play Part 2 activity.
• Use printables as manipulative to support project planning - See the printable resources available in the VEX Library, and use them with students as they are planning and building their Coder projects. You could use the motion planning sheets for students to draw the path they want their 123 Robot to travel, as well as the fill-in project and motion planning sheets for students to document their Coder cards and the path of the 123 Robot. You can also use the fill-in Coder sheet for students to write or draw their Coder cards to "save" their projects.
• Use Coder card posters to reinforce learning with the Coder - Highlight specific Coder cards, or refer to cards as you are teaching with the Coder card posters. Students can use these posters to review terminology as they are working with VEX 123. See the Using Coder Cards Posters in the Classroom VEX Library article to access these printable posters and to see more strategies for using them in your learning environment.