i don't know if those faston male connectors with "fit" on those little white plastic plugs on the zd board
The 2-pin connectors on the board are Male JST connectors.
The white connector on the 2-pin cable wires is a Female JST connector.
- It will only plug into the Male JST if it is facing the right direction. (polarized connector)
The other end of the 2-pin cable wires is a Female Quick Disconnect connector.
This connector will mate with a Male QD that is either 4.8mm (3/16" or 0.187")
or 6.35mm (1/4" or 0.250") wide.
- I can't tell which width female QDs your encoder comes with, but a 4.8mm Male QD will work with a 6.35mm Female QD.
i still have doubts about the ground(common) cable...should it be connected on the "power 5v" connector?
On
almost every version of this
encoder, ground is not the same as "common" because it is an "active high" device.
- The wide trace around the outer edge is (almost always) a 5v rail, not a ground plane -- confirmed in
this thread.
- When you press a button, 5v from the common 5v rail is applied to that encoder input which triggers the output.
- On an "active low" device like an IPac (or almost any other encoder), pressing a button applies ground to the encoder input which triggers the output.
The red and "Power 5v" connectors are for LED power.
- Your buttons and joysticks don't have LEDs, so
nothing connects to these 5v power connectors.
- DO NOT confuse, mix-up, or connect 5v and ground.
You'll release the magic smoke that makes the electronics work.
The three wires from the trigger and thumb button connect to 3 of the 4 Female QDs on the two 2-pin cable wires plugged into whichever inputs you choose on the board.
- The common wire goes to one of the two QDs on the outer pin wires.
-- The pins are connected on the board
and they are connected at the switch so you only need to connect to one of the two outer pin wire QDs to make the input work.
- The other wires go to the QDs on the inner pin wires that go to the encoder inputs.
Scott