Building a Photo Gate
Links and useful resources
Lesson-specific resource links
Concept summary and connections
- phototransistor
- pull-up resistor
- photodiode
- errors and measurements
- How to design for accuracy
Examples
The Design Process
- Concept
- Requirements/MVP
- Block-level design (just like writing code)
- Iterate
- Prototype
- iterate
Media resources
- Youtube search for "phototransistor": https://www.youtube.com/results?search_query=phototransistor
- Physics classroom search for "phototransistor":
- Youtube search for "pull-up resistor": https://www.youtube.com/results?search_query=pull-up resistor
- Physics classroom search for "pull-up resistor":
- Youtube search for "photodiode": https://www.youtube.com/results?search_query=photodiode
- Physics classroom search for "photodiode":
- USB-C breakout board
Guided practice
-
What are our requirements?
-
What is our concept?
-
What's the minimum viable product?
-
Can we make a prototype right now?
- Use the prototype for a while and gather new requirements
-
Can we figure out a way to chain several gates together?
- One data line
- one device enable line for each gate
- Use USB-c and breakout boards for the connections
- Enable them in sequence using the microcontroller's code, in pin order
- Mark each gate with its sequence position.
-
When should we start the timer?
-
Should we output absolute clock numbers or time-since-start? (or both?)