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

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.

主站蜘蛛池模板: 台南市| 福清市| 通海县| 镇康县| 新余市| 景泰县| 三门县| 通江县| 五河县| 宁蒗| 新建县| 图们市| 三都| 金坛市| 小金县| 昌都县| 山阴县| 横峰县| 水富县| 六枝特区| 舒兰市| 樟树市| 德清县| 磐石市| 格尔木市| 娱乐| 和政县| 宣汉县| 阿坝县| 内黄县| 蕲春县| 饶平县| 澄迈县| 成武县| 石城县| 玉树县| 建始县| 沙洋县| 新源县| 遂溪县| 车险|