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

Summary

In this chapter, we introduced various ways to connect your Raspberry Pi to the outside world by looking at the various interfaces available on the GPIO. We've understood how to connect things to the digital pins on your Raspberry Pi's GPIO connector, and control and read them using simple Bash scripts. In particular, we've safely and properly connected a switch to a digital input pin, which will form the foundation for our home security detection circuits.

In the next chapter, we'll look at ways to expand the number of things we can connect to our Raspberry Pi, overcoming the limitation of having just the 8 digital pins available to us on the GPIO by tapping into other interfaces on the GPIO and building our own input/output expansion board.

主站蜘蛛池模板: 区。| 六安市| 贵阳市| 韩城市| 民和| 阳西县| 云林县| 家居| 津南区| 阳城县| 古交市| 黔东| 乃东县| 宜章县| 莱阳市| 建湖县| 南澳县| 枣阳市| 辛集市| 柳州市| 漳平市| 齐齐哈尔市| 定兴县| 清新县| 库伦旗| 永顺县| 财经| 东明县| 涿鹿县| 寿宁县| 莒南县| 龙井市| 永寿县| 沧源| 内黄县| 隆子县| 定州市| 宁城县| 靖宇县| 依安县| 台州市|