-
Notifications
You must be signed in to change notification settings - Fork 19
Part 3. Wiring the Circuits
jrbail01 edited this page May 31, 2015
·
5 revisions
Shut down and unplug power from your Raspberry Pi before wiring up any circuit!!
Follow the diagram above to wire up both the door and the temperature sensor circuits. Both circuits are very simple. The door sensor circuit simply connects a 10K ohm pull-up resistor to GPIO 17 and one of the wires of the sensor while the second sensor wire is connected to GND. The temperature sensor circuit connects the power (red) wire to 3.3V, the ground (black or blue) wire to GND, and the data (yellow) wire to GPIO 4 and a pull-up resistor.
Power on your Pi once the circuits are wired up and the ribbon cable is plugged into the Canakit cobbler and Pi.