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 1 - Arduino Check
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.
Lab 1A - Python 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. To ensure against academic dishonestly, all code and data will be stored in a class-wide Google Drive that the instructors have access to. There will be no portion of the tutorials turned in, but is vital for the next in-class Python tutorial. For each Colaboratory assignment, download the tutorials to your own Google Drive and run each cell. Complete the pre-lab 2 assignment notebook and submit on Gradescope. Consult the pre-course setup for instructions on how to run the Jupyter notebooks.
Lab Instructions 1B - Introduction to Arduinos
- Lab instructions
- In-lab assignment
- Due 11:59PM Tuesday 1/7 for MW classes, 11:59 Wednesday 1/8 for T/TH class
In this lab, we will continue to learn some basic Python programming. Download the Python Jupyter notebooks and upload it to your Google Drive folder. Follow the linked Python tutorial and complete the assignment by the end of class. The assignment does not need to be turned in, but it will be checked off by the TA for the day's participation credit. The plots generated from the Python in-class assignment will be submitted to Gradescope for evaluation.
- Arduino in-class assignment
- Due 11:59PM Sunday 1/12 for MW classes, 11:59 Monday 1/13 for T/TH class
- Lab instructions
Lab 1C - Reaction Time Lab
Lab Report 1 - Training
No report due at the end of this section.