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
π
About this Digital Textbook
Coming soon.
1
Unit 1: Bot Basics
Unit 1 description coming soon.
πΊοΈ
Missions in this Unit
- βΈ Mission 1: Welcome to CodeSpace: An introduction to the CodeSpace Development Environment.
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).