The Problem
Yesterday morning, I had discovered that my automatic feeder on my aquarium had dumped its entire hopper in the aquarium (not a big deal, it was almost empty), and was unable to retract the hopper to the original position. I initiated a manual feed via a button on the back, and the hopper would just spin and never return to initial start position.
I initially thought that the gear mechanism had just gotten misaligned or stuck, I disassembled the feeder and reset the gears so that everything was in the correct initial state. Upon testing I ended up with the same result. This now meant that I had to figure out how the feeder knows when to retract the hopper back to the initial state at the end of the feed cycle.