Unit 1 - Introduction to Python and Arduino
The purpose of this unit is to introduce you to the basics of creating circuits with an Arduino micro-controller and the basics of programming Python.
Pre-Lab Week 1 - Arduino and Python
In this class, we will be creating circuits using an Arduino. Before the first class, please purchase an Arduino and perform the Pre-course Setup.
All analysis in this class will be done using the Python programming language. To keep the data and code centralized, we will be storing the code on Google Drive and compiling it with the Collaboratory Jupyter notebook compiler. Consult the pre-course setup for instructions on how to run the Jupyter notebooks.
You do not have to submit anything.
All analysis in this class will be done using the Python programming language. To keep the data and code centralized, we will be storing the code on Google Drive and compiling it with the Collaboratory Jupyter notebook compiler. Consult the pre-course setup for instructions on how to run the Jupyter notebooks.
You do not have to submit anything.
Lab Instructions 1A - Introduction to Python and Arduino
Lab Instructions 1B - Introduction to Circuit components and code
Post-lab Week 1
Pre-lab Week 2
Lab Instructions 1C - Arrays and Plots in Python
Lab Instructions 1D - Speed of sound
In the following lab, we will be using our Arduino kit ultrasonic sensor, the HC-SR04. Before the lab, take out the sensor and examine it closely. Additionally, unwrap the "Prototype Expansion Board" as we will be using this in the following lab.
Post-lab Week 2
Pre-lab Week 3
Lab Instructions 1E - Reaction Time to Light and Sound
Post-lab Week 3
Pre-lab Week 4
Lab Instructions 1F - Reaction Times for Colors
Unit 1 Report
Other useful material