Coding Fundamentals
Lab 2 - Robot Speak

Teacher Portal

## Launch the Engage Section

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

1. Break down the steps that cause an action in the body.
2. Describe how first the brain sends a message (a command), and that causes a physical action (behavior).
3. Show  the 123 Robot.
4. Show the Coder and Coder cards.
5. Connect the symbol and name of a Coder card such as "Turn right" to its respective behavior. Use the Coder cards or VEX 123 Poster Image.
6. Show another Coder card such as "Drive 1".
7. Show students that they place the Coder cards into the Coder to communicate with the 123 Robot. Have the "When start 123" card in the Coder, and place the "Drive 1" card into the coder underneath it.  Push to wake the 123 Robot, then connect into the Coder. Then press start to test the project and observe how the 123 Robot executes the behavior of the Coder card.
1. If I asked you to raise your hand right now, what would you do? [Child raises hand].
2. What did your brain do to make that happen? [Brain communicates ‘raise hand’ and you lift your arm to raise your hand.] That’s the command. What did your arm do? [It lifted up.] That’s the behavior.
3. How do we translate our ideas into a programming language for our 123 Robot?
4. Now we know how our 123 Robot’s brain works by interpreting symbols. How do we communicate with it? We can use Coder cards and the Coder to tell the 123 Robot what to do.
5. The Coder cards represent actions or behaviors in a programming language for the 123 Robot. What do you think the "Turn right" Coder card will have the 123 Robot do?
6. Each Coder card is a command. What will this Coder card have our 123 Robot do?
7. Our 123 Robot understands the Coder card instructions by placing them in the Coder. Now, if we use Coder cards with the Coder, we can communicate to our 123 Robots!

## Engage

1. InstructInstruct students that they are going to practice taking turns to use the Coder and Coder cards with the 123 Robot in their groups. They should follow along with you as you demonstrate the steps for inserting Coder cards into the Coder, then waking and connecting the 123 Robot to a Coder, and starting a project. Begin with the "When start 123" Coder card.

2. DistributeDistribute a set of Coder cards to each group of students that will be working together. Guide students to look at the symbols to interpret what each Coder card will have the 123 Robot do. Sets should contain the following cards: "Turn left", "Turn right", "Play honk", "Act crazy", "When start 123", and "Drive 1".

3. FacilitateFacilitate students working with a partner, and how to place the Coder card in the Coder and pressing the Start button.
• When working in their groups, one student will choose the Coder card and place it in the Coder. The other will start the project by placing the 123 Robot and pressing Start. Show students how to do this with "When start 123" card. Point out that this card does not cause any actions with the 123 Robot, but needs to be the first card in a project in order for a project to start. They should keep this as the first card in the Coder for the Lab. Point out that the symbol on the “When start 123” Coder card and the Start button match.
• Then, they should choose one additional card, such as "Turn left", and place it in the Coder under the "When start 123" card. Have students follow along.
• Next, model how to connect the 123 Robot to the Coder.
• First, wake the 123 Robot by pushing the wheels along a surface until you hear the startup sound.
• Then, turn on the Coder by pressing the Start button.
• Once the Coder and the 123 Robot are turned on, connect the 123 Robot to the Coder. Do this 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, press Start on the Coder to start the project and test the Coder card and observe the 123 Robot behavior.
4. OfferOffer positive reinforcement for correct vocabulary usage and turn-taking during this process.

Teacher Troubleshooting

### Facilitation Strategies

• In Play Part 1, remind students to be patient and try all the different cards one by one. This will help them to differentiate which card causes which behavior.
• 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.