Raspberry Pi入门-第三部分-如何使用Breadboard?(译文)
By robot-v1.0
本文链接 https://www.kyfws.com/pi/getting-started-with-raspberry-pi-part-iii-how-to-zh/
版权声明 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
- 7 分钟阅读 - 3127 个词 阅读量 0Raspberry Pi入门-第三部分-如何使用 Breadboard?(译文)
原文地址:https://www.codeproject.com/Articles/1207627/Getting-Started-With-Raspberry-Pi-Part-III-How-To
原文作者:Hussain Patel
译文由本站 robot-v1.0 翻译
前言
In this article we will how to use Breadboard- its a great we to connect circuits and you pi together.
在本文中,我们将介绍如何使用Breadboard-这是我们将电路与您pi连接在一起的绝佳方法.
- 下载(Download) 注意(Note):请您投票并提供评论.(: Request you to please vote and provide comments.)
介绍(Introduction)
在我之前的文章中-(In my previous article –) 了解Raspberry Pi-GPIO(Understanding Raspberry Pi - GPIO) ,我们讨论了GPIO(通用输入输出).在本文中,我们将讨论一个方便的工具–Breadboard–对于使用Raspberry Pi进行简单到复杂电路构建的每个人,它都是必备工具.(, we talked about GPIO (General Purpose Input Output). In this article, we will discuss a handy tool – Breadboard – It is a must have tool for everyone working on building simple to complex circuits and also, when using Raspberry Pi.)
背景(Background)
您可能正在考虑"Breadboard"这个名称,并且想知道这是否与面包有关.是的,是的,不是.Breadboard的名字来自早期的电子电路,人们实际上会使用木板(面包切菜板)并用螺钉或钉子钉入木板来进行电子连接.让我们看看什么是现代Breadboard.(You might be thinking about the name “Breadboard” and wondering if this has anything to do with bread. Well, Yes and No. The name breadboard comes from earlier days of electronic circuits, where people would literally use wooden boards (bread cutting boards) with screws or nails driven into them to make electronic connections. Let’s see what a modern Breadboard is.) 现代Breadboard是带有孔网格的矩形塑料片,通过将电子组件推入孔中,我们可以快速,轻松地构建电子电路.(Modern Breadboards are rectangular pieces of plastic with a Grid of holes, that allows us to quickly and easily build electronic circuits by pushing electronic components in to the holes.) 现代Breadboard有各种尺寸,形状和颜色.一些Breadboard也是透明的.最常见的尺寸是全尺寸Breadboard,半尺寸Breadboard和迷你Breadboard.另外,大多数Breadboard的侧面都带有槽口,使您可以将一个以上的板卡在一起.(Modern breadboards come in all sizes and shapes and in different colors. Some breadboards are transparent as well. The most common sizes are full-size breadboards, half-size breadboards, and mini breadboards. Also, most of the breadboards come with notches on the side that allows you to snap more than one board together.) 让我们仔细看看Breadboard的工作原理.请参见下面的全尺寸和半尺寸Breadboard,以及透明/透明Breadboard.(Let’s take a closer look at how a bread board works. See the below full size and half size breadboards and also a clear / transparent breadboard.)
图1.全尺寸Breadboard(Fig 1. Full-size Breadboard)
图2小型Breadboard(Fig. 2 small-size breadboard)
图2小型Breadboard(Fig. 2 small-size breadboard)
图4.透明/透明Breadboard(Fig. 4. Clear / Transparent breadboard) Breadboard上的孔可让您将组件的引线或金属腿推入其中,并将其牢固地固定到位.这种连接足够牢固,以至于组件不会掉落,但是如果您想从该位置进行更改/替换,则可以轻松地插入或弹出组件.(The holes on a breadboard allow you to push the lead or metal legs of a component into them and tightly hold them into the place. This connection is strong enough such that the component won’t fall out of its own, but you can easily snap in or snap out a component in case you want to change / replace it from that place.) Breadboard也称为无焊Breadboard(较不常用的名称)–因为您无需焊接即可将电子组件粘合在一起.(Breadboard are also called as solderless breadboards (less commonly used name) – because you don’t need to solder to bond the electronic components together.) 现在,让我们仔细看看全尺寸Breadboard. (图5.)(Now, let’s take a closer look at a full size breadboard. (fig 5.))
图5全尺寸Breadboard(Fig. 5 Full-size breadboard) 在上图中,您看到一个全尺寸的Breadboard.Breadboard的两侧是垂直线或条带,通常标有"红色和黑色"或"红色和蓝色"线,并带有+或–符号.这些线路称为总线或导轨,用于将功率垂直传输到整个电路.通常,红线(+)符号旁边的孔将连接至电池正极,而蓝线(–)符号旁边的孔将连接至电池负极.(In the figure above, you see a full-sized breadboard. On either side of the breadboard are vertical lines or strips usually labeled with a ‘red and black’ or ‘red and blue’ lines and also having + or – sign. These lines are called busses or rails and are used to deliver power vertically to the entire circuit. Typically, the holes next to the red line (+) sign will connect to the positive battery terminal and the holes next to the blue line (–) sign will connect to the negative battery terminal.) Breadboard内部的两列可水平工作.这意味着它们在内部是水平布线的,当连接到电源时,电源会沿每列的行水平流动.因此,如果您查看第1行,则连接标记为A,B,C,D和E的孔,并且连接F,G,H,I和J行中的孔(即,电源将从A到E和F到J).(The two columns on the inside of the breadboard work horizontally. What it means that internally they are wired horizontally and when connected to power, the power flows horizontally along the row of each columns. So, if you look at row 1, the holes marked A, B, C, D, and E are connected and the holes in rows F, G, H, I, and J are connected ( i.e. power will from A to E and F to J).) 让我们通过实际的演示看看它是如何工作的.(Let see how this works, with practical demo.) 演示:Breadboard上的简单LED电路(Demo: Simple LED circuit on a Breadboard) 硬件组件 -(Hardware Components -)Breadboard,1个LED(红色),1个10欧姆电阻,9伏电池,电池卡扣和1个跳线(公对公).(Breadboard, 1 LED (Red), 1 Resistor 10 ohms, 9 volt battery, battery snap, and 1- Jumper wire (male to male).) 第1步(Step 1)
取下电池扣的正极(红色)和负极(黑色)并连接到顶部电源导轨.取红色导线,将一端插入红线旁边的孔中,然后取黑色导线,并将其插入蓝线旁边的孔中.(Take the positive (red) and the negative (black) wires of the battery snap and connect to the top power rails. Take the red wire and insert one end into the hole next to the red line, then take the black wire and insert into the hole next to the blue line.)
无花果(fig a.) 第2步(Step 2)
接下来,取LED.拿住LED的长端,将其插入E15,将LED的短端插入F 45(注意:请确保您插入了正确的LED支脚,否则LED可能不会发光并熔化).(Next, take the LED. Take the long end of the led and insert this into E15 and the short end of the LED into F 45 (Note: make sure you are inserting the correct leg of the LED else the LED may not glow and get fused).)
图b.(fig b.) 第三步(Step 3)
接下来,将跳线插入一端的孔C15中,在E15旁边的2个孔中,然后将跳线的另一端插入电源导轨孔15中(从技术上讲,您可以将其插入电源的任何孔中.电池电源在电源导轨中从上到下垂直传递).(Next, take the jumper wire and insert one end in to hole C15,, 2 holes next to E15, then insert the other end of the jumper wire in to the power rail hole 15 (technically, you can insert in any hole on the power rail as the battery power is passing vertically from top to bottom in the power rail).)
无花果c.(fig c.) 第4步(Step 4)
接下来,拿一个电阻并将其插入F45之后的2个孔中,即H45,然后将电阻的另一端插入电源轨的孔45中(从技术上讲,您可以将电源线插入电源轨上的任何孔中,电池电源在电源轨中从上到下垂直传递).(Next, take a resistor and insert this in to 2 holes after F45, i.e., H45 and then insert the other end of the resistor into the hole 45 of the power rail (technically, you can insert in any hole on the power rail as the battery power is passing vertically from top to bottom in the power rail).)
无花果d.(fig d.) 第5步(Step 5)
再次检查连接(步骤1至4).现在,将9伏电池连接到电池卡扣,并且LED应当发光.(Check the connection once more (Steps 1 to 4). Now, connect the 9 volt battery to the battery snap and the LED should glow.)
图e.(fig e.)
从上面的演示中,您可以看到如何使用Breadboard以及插入和取出组件有多么容易.Breadboard确实有助于使您的组件保持在一起,并作为电路的一部分快速对其进行测试.(From the above demo, you can see how to use the breadboard and how easy it is to snap in and snap out components. The breadboard really helps in keeping your components together and quickly test them as part of a circuit.)参考文献(References)
-
本文发表在网站上(This article is published on website) http://hussainpatel.com(http://hussainpatel.com)
在下一篇文章中,我们将讨论使用NOOBS设置Raspberry Pi和在Raspberry Pi上安装OS.(In the next article, we would talk about setting up Raspberry Pi and installing OS on Raspberry Pi using NOOBS.)
希望这可以帮助.(Hope this helps.)
学习愉快,制作愉快!(Happy Learning, Happy Making!)
许可
本文以及所有相关的源代码和文件均已获得The Code Project Open License (CPOL)的许可。
Python Raspberry Dev 新闻 翻译