Connect PIR Sensor to JST PH 3-Pin Plug
In the wiring diagram below, the PIR sensor is connected to one of the MEMENTO's JST PH 3-Pin sockets. However, it's not as simple as the diagram makes it out to be. The PIR sensor comes with a 30cm cable ending in a socket.
There are a few options for connecting this cable to the MEMENTO's JST-PH socket:
Alligator Clips
This option requires no soldering. Simply follow the wiring diagram and connect the JST PH cable's alligator clips to the wires from the PIR sensor's cable.
DIY Wiring Harness
This option requires soldering. However, it is permanent and elegant compared to the alligator clips.
You'll need the following parts for this step:
Using wire cutters, cut a JST PH 2mm 3-pin Plug-Plug cable in half. Then, add heat shrink tubing over the cable.
After soldering and applying heat shrink to all three cables, your PIR sensor is ready to be plugged into the MEMENTO.
After connecting the PIR sensor to a JST cable, connect the cable to the MEMENTO.
The wiring for this project is as follows:
- PIR Sensor VCC to Memento A0 VIN
- PIR Sensor GND to Memento A0 GND
- PIR Sensor Output to Memento A0 Signal
Text editor powered by tinymce.