I need an opto switch circuit that will close a circuit when its beam is broken and keep that circuit on. I'm in the process of building a rube goldberg machine, so I want this circuit to be able to detect a marble rolling through a small tube, and then turn on a few motors in the next section before the marble arrives. I don't know much about designing circuits, so if there is one available online that can do this, that would be good. The circuit that the opto switch would be turning on would just be this hot wheels booster.