Skip to Content
Internet of Things with Raspberry Pi 3
book

Internet of Things with Raspberry Pi 3

by Maneesh Rao
April 2018
Intermediate to advanced
248 pages
5h 31m
English
Packt Publishing
Content preview from Internet of Things with Raspberry Pi 3

Interfacing an LED

Refer to Figure 6.18 for connection details:

Figure 6.18

As shown in Figure 6.18:

  • The positive terminal (the longer leg) of LED is connected to GPIO 17 (pin 11) of Raspberry Pi
  • The negative terminal (the shorter leg) of LED is connected to GND (pin 09) of Raspberry Pi

Since we have already installed the camera module in Raspberry Pi, let's enable it in Raspberry Pi configurations before we write the code.

If you have connected your pi with the monitor using HDMI or VGA, then you can log into it and go to Menu | Preference | Raspberry Pi Configuration, as shown in Figure 6.19:

Figure 6.19

Under Raspberry Pi Configuration ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Raspberry Pi

Learning Raspberry Pi

Samarth Shah, Serge Schneider
Raspberry Pi 3 Home Automation Projects

Raspberry Pi 3 Home Automation Projects

Shantanu Bhadoria, Ruben Oliva Ramos

Publisher Resources

ISBN: 9781788627405Supplemental Content