Physics 4
  • HOME
    • Introduction
    • Pre-course Setup
  • PHYSICS 4AL
    • 4AL Grading Policy
    • Weekly Schedule
    • Google Drive
    • Report Writing
    • 4AL Lab Sections /Office hours
    • Unit 1 - Training (Winter 2023)
    • Unit 2 - Motion (Winter 2023)
    • Unit 3 - Oscillations (Winter 2023)
    • Unit 4 - Project (Winter 2023)
  • PHYSICS 4BL
    • Grading Policy
    • Lab Sections/ Office Hours
    • Weekly Schedule
    • Google Drive
    • Report Writing
    • Unit 1 - Training
    • Unit 2 - Sound
    • Unit 3 - Circuits
    • Unit 4 - Optics
    • Unit 5 - Project
    • Pre-Lab Assignments
  • RESOURCES
    • Physics
    • Python
    • Arduino
    • Electronics
    • Software Download
  • EXTERNAL LINKS
    • GradeScope
    • CCLE
    • MyUCLA
    • CampusWire
    • UCLA Calendars
    • UCLA Physics Dept.
  • HOME
    • Introduction
    • Pre-course Setup
  • PHYSICS 4AL
    • 4AL Grading Policy
    • Weekly Schedule
    • Google Drive
    • Report Writing
    • 4AL Lab Sections /Office hours
    • Unit 1 - Training (Winter 2023)
    • Unit 2 - Motion (Winter 2023)
    • Unit 3 - Oscillations (Winter 2023)
    • Unit 4 - Project (Winter 2023)
  • PHYSICS 4BL
    • Grading Policy
    • Lab Sections/ Office Hours
    • Weekly Schedule
    • Google Drive
    • Report Writing
    • Unit 1 - Training
    • Unit 2 - Sound
    • Unit 3 - Circuits
    • Unit 4 - Optics
    • Unit 5 - Project
    • Pre-Lab Assignments
  • RESOURCES
    • Physics
    • Python
    • Arduino
    • Electronics
    • Software Download
  • EXTERNAL LINKS
    • GradeScope
    • CCLE
    • MyUCLA
    • CampusWire
    • UCLA Calendars
    • UCLA Physics Dept.

Unit 1 - Training Labs

Introduction to Python and Arduino

OLD?!

The purpose of this lab is to introduce you to the basics of creating circuits with an Arduino micro-controller, physical measurement, and Python programming. 
  • Lab 1A - Python Setup
  • 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

Pre-Lab 1A - 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 Instructions 1A - Class Introduction

 We will go over the logistics of the course including how to use Zoom, Google Colaboratory, and Gradescope.

Lab 1B -  Multimeter and Arduino Training - Flashing LED


Pre-Lab 1B 

  • Beginner's Python Pre-lab Notebook (Pre-lab 1B assignment)

Lab Instructions 1B - Introduction to Electronics and Arduinos

Reference Material
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. 
  • Reference Python notebook - Basic Programming 
  • Python Video Lecture 1
  • Python Video Lecture 2
  • Reference Slides​​


​Assignments
  • Python assignment notebook​
  • Assignment slides

​Lab 1C - Ohm's Law using Multimeter and Arduino


Pre-Lab 1C - Introduction to Python

​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. ​For each Colaboratory assignment, download the tutorials to your own Google Drive and run each cell. Complete the pre-lab notebook. It is due at the printed time on Gradescope. Students who have already taken the Physics 4AL course will have already completed these tutorials, but should review the content. 
  • Tutorial 1 - Basic Programming
  • Tutorial 2 - Arrays
  • Tutorial 3 - Basic Plotting
  • Beginner's Python Pre-lab Notebook
    • ​​Complete before next class

Lab Instructions 1C - Making measurements using the multimeter and the Arduino


  • Python in-class instructions
We will also use a potentiometer to control the voltage to various electrical elements. 
  • ​Reference slides
​During or after class, complete the experiment analysis and turn in your results in the slides​
  • Experiment Analysis
  • ​Assignment slides​​ (Upload before the next class)

​Lab 1D - Deviation of Ohm's Law - VI Curve of LED


Pre-Lab 1D 

Coming soon.

Lab Instructions 1D - Measure VI curves of LED's using Arduino

  • Coming soon.
edited Jan 19, 2023 by Javier Carmona
  • HOME
    • Introduction
    • Pre-course Setup
  • PHYSICS 4AL
    • 4AL Grading Policy
    • Weekly Schedule
    • Google Drive
    • Report Writing
    • 4AL Lab Sections /Office hours
    • Unit 1 - Training (Winter 2023)
    • Unit 2 - Motion (Winter 2023)
    • Unit 3 - Oscillations (Winter 2023)
    • Unit 4 - Project (Winter 2023)
  • PHYSICS 4BL
    • Grading Policy
    • Lab Sections/ Office Hours
    • Weekly Schedule
    • Google Drive
    • Report Writing
    • Unit 1 - Training
    • Unit 2 - Sound
    • Unit 3 - Circuits
    • Unit 4 - Optics
    • Unit 5 - Project
    • Pre-Lab Assignments
  • RESOURCES
    • Physics
    • Python
    • Arduino
    • Electronics
    • Software Download
  • EXTERNAL LINKS
    • GradeScope
    • CCLE
    • MyUCLA
    • CampusWire
    • UCLA Calendars
    • UCLA Physics Dept.