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 Check
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 Colaboratory Jupyter notebook compiler.
Consult the pre-course setup for instructions on how to run the Jupyter notebooks. Go over the "Basic Programming" video lectures and the supplemented Tutorial notebook. There is no submission required for the first pre-lab.
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 Colaboratory Jupyter notebook compiler.
Consult the pre-course setup for instructions on how to run the Jupyter notebooks. Go over the "Basic Programming" video lectures and the supplemented Tutorial notebook. There is no submission required for the first pre-lab.
Lab Instructions 1A - Introduction to Python and Arduino
Lab Instructions 1B - Arrays and Plots in Python
Python lecture videos and practice notebooks
The tutorial notebooks below go over important concepts in Python that you will be using throughout the quarter. These notebooks are supplemented by short video lectures. These are optional to those who are proficient with the listed concepts in Python. There will be no portion of the "Tutorial notebooks" turned in, but the concepts and syntax are important to understand (you have gone over most of these concepts in Lab 1B).
Post-Lab Week 1
- Save your Python notebook from the last slide of Lab 1B as a PDF and submit on Gradescope by Sunday 11 59 pm.
Pre-Lab Week 2
There will be no portion of the "Tutorial notebooks" turned in, but the concepts and syntax are important to understand. The tutorial notebooks are supplemented by short "Video Lectures". These are optional to those who are proficient with the listed concepts in Python.
- Pre-Lab Slides (Pre-lab Week 2 assignment)
- Due 2 hours prior to the start of lab 1C.
- Video lecture - 2D arrays
- Video lecture - Reading csv files
- Video lecture - Error Propagation
- Tutorial notebook - Error Propagation
- Video lecture - Covariance matrix
- Tutorial notebook - Covariance matrix
Lab Instructions 1C - Introduction to multimeter and arduino code
Lab Instructions 1D - Speed of sound
Post-Lab Week 2
- Slides
- Submit on Gradescope by Sunday 11 59 pm.