Wiring Button

Use a 3-pin JST-PH cable to connect the button to the sensor port on the HalloWing. Cut the cable so it's at least 76mm(3in) in length. The button only needs two wired connections so we can cutoff the red (middle) wire from the cable. Using wire stripper, remove a bit of insulation. To make it easier to attach the wire to the button, tin the exposed strands of wire with a bit of solder. 

gps_button-jst.jpg

gps_button-jst-cut.jpg

Attaching Wires to Button

The button features two sets of contacts. We only need one set of pins to connect the wires. Polarity doesn't matter for the wires but we need to use the contacts that are not shared. The photo on the left shows which pins are being shared. The wires need to connect to one red pin and one blue pin.

Connect Wires to Button

I suggest using a pair of third helping hands to hold the button in place while soldering. Solder the two wires to the pins on the button. The JST-PH connector from the cable plugs directly into the sense port on the HalloWing M0 Express.

gps_button-jst-wiring.jpg

gps_button-jst-wired.jpg

gps_button-jst-test.jpg

This guide was first published on Nov 27, 2018. It was last updated on Nov 27, 2018.

This page (Button Wiring) was last updated on Nov 15, 2018.

Text editor powered by tinymce.