![]() As long as there are more pins, more sensors can always be connected. ![]() The second sensor is wired in the same way with the black wire in the next consecutive data pin and the white wire going to any open ground. The black wire is connected to a numbered GPIO pin. The white wire from the sensor is wired into a ground GPIO pin. Wire each lead to the correct pin on the breakout board. ![]() The wiring for the contact sensor is simple. (If you don’t want to work with the hat on top, wiring straight to the GPIO pins is a difficult but not impossible option.) Wire the contact sensors Attach the included hardware to secure the whole package. Install it by carefully sliding the hat down over the GPIO pins. The hat spreads the 40 GPIO pins out to occupy the whole top of the Pi.
0 Comments
Leave a Reply. |