Fault finder: Pendulum period with a photogate
9 checks for this build on the Uno. Work from the top: power first, then each part, then the code.
0 of 9 checked
Power🔧 DC volts, 20 V rangeCheck 1 of 9
Uno supply pin
Plug the Uno into USB. Black probe on a GND pin, red probe on the 5V pin of the board.
You should see: 4.6 to 5.3 V
Readings are compared with the ranges for this build's parts. A meter on the wrong range or a loose probe gives odd numbers: check those first.
Common faults in this build
No count: what should I check?
Check the sensor distance, and flip FALLING and RISING.
Period doubles: what should I check?
The sensor only sees one direction, set PASSES_FOR_TEN accordingly.
g far from 9.8: what should I check?
Re-measure LENGTH_M to the bob centre.
Extra counts: what should I check?
Ambient light or a moving hand, shield the sensor.
Display blank: what should I check?
Check I2C address 0x3C and the wiring.
