官术网_书友最值得收藏!

Chapter 2. Connecting Things to Your Pi with GPIO

The Raspberry Pi has lots of ways to connect things to it, such as plugging things into the USB ports, connecting devices to the on-board camera and display ports, and connecting things to the various interfaces that make up the GPIO connector. As part of our home security project, we'll be focusing mainly on connecting things to the GPIO connector.

In this chapter, we will cover the following topics:

  • Examining the GPIO connector and what each of the pins does
  • Learning about the I2C and SPI buses that will be used in later chapters
  • Connecting an LED and a switch safely to the data pins, and accessing these data pins using simple scripts
  • Understanding the USB ports and their limitations
主站蜘蛛池模板: 田东县| 义乌市| 青州市| 澄城县| 西乡县| 平顶山市| 平阴县| 油尖旺区| 顺昌县| 永清县| 濮阳市| 静宁县| 乐安县| 竹北市| 东至县| 治县。| 金川县| 吕梁市| 永嘉县| 武冈市| 石棉县| 筠连县| 自贡市| 铜鼓县| 平邑县| 金门县| 黄山市| 客服| 德州市| 延寿县| 永寿县| 南木林县| 财经| 高台县| 凤阳县| 汉阴县| 德化县| 华坪县| 龙江县| 西充县| 乌兰察布市|