Smart Trashbin metal detector with coin reward... need help

confusing
why is the black lead described as both an output and a 5V input?

open collector outputs are almost universal. but it's the device they connect that should provide the "pull-up" condition.