Unit 2 - Motion�Lab 2A : Constant Acceleration
UCLA Physics Department
1
University of California, Los Angeles
Department of Physics and Astronomy
Physics 4AL
Outline of Lab 2A
UCLA Physics Department
2
Constant Acceleration
UCLA Physics Department
3
Arduino extension board
Attach your Arduino extension board (already setup from Lab 1B) to the Arduino ensuring that corresponding pins match.
Wiring Diagram
Attach your ultrasound sensor to create the same setup from Lab 1B.
Code - Part 1
Code - Part 2
Code - Part 3
Modify Code
Free fall experiment
TA Checkpoint 1
Analyzing videos with Tracker
Analyzing videos with tracker - Clip Settings 1
Pick the start frame and end frame required for analysis. Here, the start frame will be the frame where the ball is released. The end frame will be frame when the ball almost hits the floor for the first time. Here, 19 is a good Start frame and 30 is a good End Frame.
Analyzing videos with tracker - Clip Settings 2
The two buttons around the number can be used to move frame by frame to the left or the right with the number in between being the step size.
Current Frame number
Start Frame
End Frame
Analyzing videos with tracker - Calibration 1
We need to use an appropriate reference length in a video we want to analyze. Here, we use the ruler. In this case the two strings are separated by 10 cm. For best results, the motion should be almost in the same plane as the reference length.
Click here and pick New-> Calibration Stick. Use Shift+Click to mark the two ends.
Analyzing videos with tracker - Calibration 2
Click at the right locations to mark the ends of the Calibration Stick. These ends can be moved later.
Click on the box with the number to edit the value to the appropriate reference length. Here, it is 0.1 m.
Analyzing videos with tracker - Coordinate Axes
We need to pick the origin of coordinate axes for the motion that we analyze from the videos. After picking the calibration stick and coordinate axes, we can begin to track the ball in the video.
Click here to create coordinate axes for your video. The centre of the ball at the start frame is a good option of the origin.
Analyzing videos with tracker - Tracking 1
Create a point mass is one option to track the object. Use Shift+Click on the center of the ball. You will notice it moves to the next frame. Use Shift+Click on the center of the ball in the new frame. Keep repeating until you reach the end frame (11 clicks using Start Frame 19 and End Frame 30).
Click here to create a point mass to track. The use Shift+Click to hit the center of the ball.
Analyzing videos with tracker - Tracking 2
The red spots mark the position of the center of the ball in each frame.
One the right (top) you will be able to see the position vs time plot. By default, it picks the x(m) vs t(s) but it can be changed to y(m) vs t(s) by clicking the axes label and picking what you like.
One the right (bottom) you will be able to see the values of time, x position and y position.
Analyzing videos with tracker - Plots
By changing the axes labels, you can plot many quantities. On the left, we have velocity (top) in y direction and acceleration (bottom) in y direction. We will export position data to Python and analyze using np.polyfit.
Analyzing videos with tracker - Exporting data 1
Set variables of interest (in this case you only need y) on the table. You can also define new functions.
Analyzing videos with tracker - Exporting data 2
Go to File->Export->Data File. You will see the window on the left.
TA Checkpoint 2
Post-lab Week 2�(due Sunday 11: 59 pm)
UCLA Physics Department
24
April 13 - 17, 2020
Free fall plot
Using Tracker