2. You can wire the hotkey button input (from the ZD encoder) as well as the exit-button input to the coin door, so the coin mech will press both buttons. The input for hotkey on the ZD will have wires to both the hotkey button and the coin mech. Same goes for the input for your exit button (start by default). This is in my opinion by far the easiest.
microswitch coin mechIf you have both the hotkey and start inputs tied to the coin mech microswitch, you'll need something like the blocking diodes on the "Shazaaam! + X (one click)" switch shown below (diodes reversed and daisy-chain 5v instead of ground since the ZD encoder is "active high")
or a DPDT switch with each input using a separate pole (maybe a double-stacked leaf switch?)
or a DPDT relay.
If you don't have some means of isolating the inputs, both inputs will trigger every time one of them is pressed.
12v coin recognizerIf OP is using a coin recognizer, a 12v DPDT relay like the one that Infantsorrow used in
this thread would be the easiest option.
- No zener dode needed to regulate the 12v down to 5v.
- No need to adapt the "active low" coin recognizer to work with the "active high" ZD encoder.
Scott