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

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
主站蜘蛛池模板: 沙坪坝区| 长泰县| 开江县| 普定县| 巩留县| 哈巴河县| 莫力| 武安市| 河津市| 无锡市| 涡阳县| 安福县| 来安县| 辽阳市| 时尚| 石家庄市| 府谷县| 青神县| 诸暨市| 平泉县| 林西县| 甘洛县| 惠安县| 聂拉木县| 和平县| 图片| 于都县| 江安县| 城固县| 依安县| 新竹县| 鹤壁市| 娄底市| 满城县| 门头沟区| 青海省| 岢岚县| 响水县| 宜阳县| 防城港市| 仁化县|