The Transmitter sends a coded pulse using Infra-Red light when #1 buttons is pressed (or when #1 input is sent low)
The Receiver picks up the coded signal. If it the correct signal for #1 and sends #1 output high.
The high signal connects to the "Set" input of the Latch, turning the output on
The output from the Latch is connected to a Relay that activates and turns on the Motor.
The Motor should have a disc with a tag jutting out at the point the motor needs to stop. As the Motor turrns the tag will break the light beam of the Opto-switch. When this happens the output of the Opto-switch goes high.
This high signal connects to a Spike Generator which produces a brief high pulse on a high going signal.
The output of the Spike Generator connects to the "Reset" input of the latch, resetting the latch, turning off the Relay and Motor.