Building a Photo Gate for Physics

Lesson Plan: photo-gate-design

A photogate is a device that uses a beam of light to record a precise measurement of when an object passes through the gate. We're going to need these for our physics labs soon, so we need to build a few of them.

Photogate Requirements

gr7's prototype mockup gate test protocol

  1. Compile code for arduino
  2. Make sure there are three remaining Digital I/O pins available after fully connecting the gate. (req. d)
  3. Measure the height of the sensor. If it is more than 1/2" above the bottom of the track, the test fails. (req c, partial)
  4. Slide a 7" by 2 3/4" by 5" object through the gate, along the 7" axis of the object. The object must not touch the gate at any point. (req b)
  5. Pass an object through gate and look at the terminal for time result. It must report a time. (req. a)

gr7-photogate-prototype-sm.jpg

gr10's prototype mockup gate test protocol

  1. Open and compile code. Verify that it compiles correctly.
  2. Disconnect 5V pin on arduino, then connect to computer and upload the code.
  3. Enable serial monitor
  4. Pass a 7" by 2 3/4" by 5" object through the gate, along the 7" axis of the object. Verify that a time is reported on the terminal. (req. a,b)
  5. Pass a 1/2" steel marble through the gate. Verify that a time is reported on the terminal. (req a, c)

gr10-photogate-prototype-sm.jpg

Design process

Problems to solve: