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

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.

主站蜘蛛池模板: 青阳县| 江川县| 南丰县| 苍梧县| 开封县| 苏尼特右旗| 江阴市| 年辖:市辖区| 江西省| 育儿| 梧州市| 五寨县| 馆陶县| 沙田区| 安西县| 昌都县| 巴南区| 乡城县| 怀仁县| 万宁市| 沛县| 普兰店市| 迁安市| 丰宁| 东城区| 盐山县| 墨江| 浑源县| 溧水县| 芷江| 探索| 科尔| 神农架林区| 托克托县| 乐至县| 寿宁县| 新郑市| 长岭县| 崇信县| 潜山县| 龙胜|