- Mastering Arduino
- Jon Hoffman
- 360字
- 2021-07-23 18:57:51
Four building blocks of an electronic project
In Chapter 2, Basic Electronics, we discussed the four building blocks of an electronic project. The following diagram shows these four blocks:

It is really easy to break a simple prototype, like a circuit to turn an LED on and off, into the individual blocks but for more complex projects it becomes harder because of the different components.
By separating the components into the different blocks, it becomes easier to see how to break a larger project into separate prototypes. For example, if we wanted to create an autonomous robot we could see that one of the inputs is a sonic rangefinder that will detect obstacles in front of the robot, while the output that will be affected by the input from the rangefinder would be the motors that move the robot. In this example, we would probably want to change the direction of the motors if the rangefinders detect an obstacle in front. We could then create a prototype to test how this particular system worked.
In this step, we are defining what the inputs and outputs are and what outputs are trigger based on these inputs. This is also where we define most of the logic for the project, so we can set up the prototypes.
When you first start building these projects, you will want to create a diagram for each project. Once you gain experience, for most smaller to medium projects, you will not need to write anything down at this step. This step will become just breaking the project down in your heads and figuring out what the inputs and outputs are. For larger projects, we may want to create flowcharts and even diagrams that show how we want everything to work together. Once we get into the projects in this book, we will see different ways to separate the components into their individual blocks and how to define the logic for the inputs and outputs.
After we have broken our project down into the individual prototypes with the separate inputs and output circuits, we would then want to create circuit diagrams for each of these prototypes.
- 科技創(chuàng)新啟示錄:創(chuàng)新與發(fā)明大師軼事
- 轉(zhuǎn)換視角看科學(xué)
- 湛廬文化“新核心素養(yǎng)”系列(18冊(cè))
- 自然哲學(xué)筆記
- 2009年甘肅省文化發(fā)展分析報(bào)告
- 科技史脫口秀 (原點(diǎn)閱讀)
- 玉米病蟲害識(shí)別手冊(cè)
- 環(huán)形交叉口通行能力分析方法(遼寧省優(yōu)秀自然科學(xué)著作)
- 在家就能做的80個(gè)STEAM科學(xué)小實(shí)驗(yàn)
- 失實(shí):為什么我們所知道的一切,有一半可能都將是錯(cuò)的
- 了不起的中國(guó)制造
- 無(wú)窮小的巨人
- 耶魯極簡(jiǎn)科學(xué)史
- 光和熱的能量釋放:火(探究式科普叢書)
- 小電流接地系統(tǒng)單相接地故障選線理論研究(遼寧省優(yōu)秀自然科學(xué)著作)