Interfacing LEDs

Since we choose not to use the actual door and lock system, we will use LEDs to indicate door open, door close, and for other indication purposes. Refer to Figure 7.27 for connection details:

Figure 7.27

Get Internet of Things with Raspberry Pi 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.