Python with Robots - Middle School

Digital Textbook

Python with Robots

A hands-on Python coding curriculum for Middle School, taught through programming the CodeBot.

πŸ“š 4 Units 🎯 Middle School πŸ€– CodeBot πŸ’» CodeSpace 🐍 Python
CodeBot robot
πŸ“‹

About this Digital Textbook

Coming soon.

1

Unit 1: Bot Basics

Unit 1 description coming soon.

πŸ—ΊοΈ

Missions in this Unit

Mission 2: Introducing CodeBot
  • β–ΈMission 2-1: Students will learn about the peripherals of CodeBot and identify them as input or output.
  • β–ΈMission 2-2: Students will connect CodeBot to the computer and learn the basics of Python.
Mission 3: Time & Motion
  • β–ΈMission 3-1: Students will control CodeBot LEDs with specific timing and sequencing.
  • β–ΈMission 3-2: Students will convert between decimal and binary numbers and use them to control LEDs.
  • β–ΈMission 3-3: Students will move the CodeBot by powering the wheels.
  • β–ΈMission 3-4: Students will use button presses to control robot movement and follow an algorithm to move the 'bot in a square pattern.
  • β–Έ Unit 1 Remix & Assessment: Students apply skills from Missions 1-3 in an original CodeBot remix project, and demonstrate mastery through the Unit 1 Assessment (review questions and rubrics).
πŸ“

Standards Addressed

β–Ύ

Standards coming soon.

2

Unit 2: Interactive Systems

Unit 2 description coming soon.

πŸ—ΊοΈ

Missions in this Unit

Mission 4: Animatronics
  • β–ΈMission 4-1: Students will use an infinite loop to constantly blink the user LEDs in a cool pattern.
  • β–ΈMission 4-2: Students count the number of guests using a button press and display the count using line sensor LEDs.
  • β–ΈMission 4-3: Students create a program with movement, random beeps, and a function that plays a note.
  • β–ΈMission 4-4: Students play a fanfare and combine three programs into one complete project.
  • β–Έ Unit 2 Remix & Assessment: Students apply skills from Mission 4 in an original CodeBot remix project, and demonstrate mastery through the Unit 2 Assessment (review questions and rubrics).
πŸ“

Standards Addressed

β–Ύ

Standards coming soon.

3

Unit 3: Sensor Smarts

Unit 3 description coming soon.

πŸ—ΊοΈ

Missions in this Unit

Mission 5: Fence Patrol
  • β–ΈMission 5-1: Students will read and display data from CodeBot's line sensors.
  • β–ΈMission 5-2: Students will use functions to read data from CodeBot's line sensors and use the data to control the line sensor LEDs.
  • β–ΈMission 5-3: Students will use data to count line detections and display the count in binary using the red user LEDs.
  • β–ΈMission 5-4: Students will create a program that reads line sensors and uses the data to move CodeBot within a boundary.
Mission 6: Line Follower
  • β–ΈMission 6-1: Students will detect lines using line sensors and display the data on LEDs using a Boolean list.
  • β–ΈMission 6-2: Students will create a line follower that uses two sensors for turning and three sensors for moving forward.
  • β–ΈMission 6-3: Students will create a line follower program that uses all five sensors for proportional steering control.
  • β–Έ Unit 3 Remix & Assessment: Students apply skills from Missions 5 & 6 in an original CodeBot remix project, and demonstrate mastery through the Unit 3 Assessment (review questions and rubrics).
πŸ“

Standards Addressed

β–Ύ

Standards coming soon.

4

Unit 4: Mission Control

Unit 4 description coming soon.

πŸ—ΊοΈ

Missions in this Unit

Mission 7: Hot Pursuit
  • β–ΈMission 7-1: Students use proximity sensors to detect an object.
  • β–ΈMission 7-2: Students can write calibration functions so the 'bot can adapt to its environment.
  • β–ΈMission 7-3: Students will use proximity sensors to program the 'bot to track and chase an object.
Mission 9: All Systems Go!
  • β–ΈMission 9-1: Students will use system sensors to monitor battery power and display battery health with a UI.
  • β–ΈMission 9-2: Students will use system sensors to monitor system temperature and display unacceptable temperatures with a UI.
  • β–ΈMission 9-3: Students will use input sensors to monitor physical orientation.
  • β–Έ Unit 4 Remix & Assessment: Students apply skills from Missions 7 & 9 in an original CodeBot remix project, and demonstrate mastery through the Unit 4 Assessment (review questions and rubrics).
πŸ“

Standards Addressed

β–Ύ

Standards coming soon.