Fault finder: Dustbin fill level indicator
9 checks for this build on the Nano. 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
Nano supply pin
Plug the Nano 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
Always reads 0 or nothing: what should I check?
Check TRIG goes to D9 and ECHO to D10, and that the sensor has 5 V.
Percentages are wrong: what should I check?
Measure the empty-bin distance again and set EMPTY_CM to it.
Lights never change: what should I check?
The steady check keeps failing, so raise STEADY_CM to 6 for a bumpy surface.
Red light does not blink: what should I check?
The level has to be above 90 percent, so lower FULL_CM a little.
Readings jump to the wall: what should I check?
The beam is wide, so point the sensor to the middle and tape a short tube around it.
