Computer Programming

Overview

Students are introduced to computer programming by writing Arduino code for a wearable circuit. Firstly, students are introduced to the basic concepts in programming like variables, loops, and logic. Students exercise these concepts through an interactive activity of building a peanut butter & jelly sandwich. Then, students program components of their wearable circuit leading up to the final code: LEDs light up while walking.

Tutorials

Instructions for LED Firewalker Code (PDF)

Fill in the Blank Wearable Circuit Code (PDF)
Word Bank for the Fill in the Blank Wearable Circuit Code (PDF)
Answer Key for the Fill in the Blank Wearable Circuit Code (PDF)

Pressure Sensor Test (PDF)

Codes

Tips for LED Firewalker Code (PDF)

Firewalker Demo (ZIP) (This file contains: 2 .ino files, 1 .gitignore file, 1 .cpp file, 1 .h file, and 1 .md file.)

Firewalker Library (Master) (ZIP) (This file contains: 2 .ino file, 1 .gitignore file, 1 .cpp file, 1 .h file, and 1 .md file)

Firewalker Demo (Master) (ZIP) (This file contains: 1 .ino file and 1 .md file)