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.
- Lab 1A - Introduction
- Lab 1B - Python training/Multimeter and Arduino training - Flashing LED
- Lab 1C - Ohm's Law - Measuring with Multimeter and Arduino
- Lab 1D - Deviation of Ohm's Law - VI curve of LED
- Lab 1E - Reaction Time for LED and Buzzer
- Lab 1F - Reaction Time for RGB LED, Report Writing
Lab 1A - Introduction
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 - Introduction
In this lab we will be giving an overview of the Phy 4AL virtual course. You will also have an introduction to Python and test your arduino.
Lab 1B - Arduino and Multimeter
Lab Instructions 1B - Multimeter and Arduino Training - Flashing LEDs
Arduino and multimeter portion Python
- Video Lecture - Basic Programming (from Lab 1A)
- Video Lecture 2 - Basic Programming con't (from Lab 1B)
- Tutorial 1 - Basic Programming (Python notebook based on the videos from Labs 1A and 1B)
Lab 1C - Potentiometer and Ohm's Law
Pre-Lab 1C
Watch the 3 Python videos for the pre-lab. There is no assignment submission required.
- Array Video
- Plotting Video
- Fitting Video
- No submission is required
Lab Instructions 1C - Potentiometer and Ohm's Law
Lab 1D - VI Curves
Pre-Lab 1D
- Prelab information in slides 3-5 of reference slides.
- Mock Data
Lab Instructions 1D - VI curves
Lab 1E/1F- Reaction Time and Report Writing (Week 3)
For Week 3, we are going to have a single slide document that includes the prelabs, the in-class assignments, and the after class assignments. When submitting a prelab or an assignment, only upload a slide or two, not the entire slideshow. You will use the Arduino to develop a simple circuit to measure how fast it takes someone to react to an LED turning on. You will apply some fundamental statistical analysis to your data. In the second lab this week, you will work with your group on a small project that will allow you to practice how you run an experiment in science. Please complete the pre-lab assignment 2 hours before Lab 1E.