Lab Instructions 1A - Introduction to Arduinos
Pre-Lab 1B - 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 Python and LED control
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.
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. In this pre-lab you will understand the underlying principles behind the sensor. Download the slides, answer the questions, convert them to a PDF file and upload them to GradeScope. Due 11:59 PM Sunday for MW classes, 11:59 PM Monday for T/TH class
Lab Instructions 1C
- Reference slides 1C
- Lab instruction
- Lab assignment
- Submit to Gradescope 11:59 PM Tuesday for MW labs, 11:59 PM Wednesday for T/TH labs
- Instructor Slides for Ohm's Law
Lab Report 1 - Training
No report due at the end of this section.