#author("2021-11-23T09:49:03+09:00","","") #author("2021-11-23T09:53:42+09:00","","") [[FrontPage]] Driving Bigger Loads (Motors, Lamps, and the Like) 大きな負荷の駆動(モーター、ランプなど) Each of the pins on an Arduino board can only be used to power devices that use a very small amount of current, such as an LED. Arduinoボードの各ピンは、LEDのような非常に小さな電流を使用するデバイスの電源としてのみ使用できます。 If you try to drive something big like a motor or an incandescent lamp, the pin might stop working, and could permanently damage the microcontroller that is the heart of your Arduino. モーターや白熱灯などの大きなものを駆動しようとすると、ピンが動作しなくなり、Arduinoの心臓部であるマイクロコントローラーに永久的なダメージを与えてしまう可能性があります。 To be safe, the current going through an Arduino I/O pin should be limited to 20 milliamps. 安全のため、ArduinoのI/Oピンに流れる電流は20ミリアンペアまでとします。 Don’t worry, though. There are a number of simple techniques that allow you to control devices that use much more current. でも、心配はいりません。もっとたくさんの電流を使う機器を制御するための簡単なテクニックがいくつもあります。 The trick is a bit like using a lever and fulcrum to lift a very heavy load. この仕掛けは、テコと支点を使って非常に重い荷物を持ち上げるようなものだ。 By putting a long stick under a big stone and a fulcrum in the right place, you can pull down on the long end of the stick, and the short end, under the stone, has much more force. 大きな石の下に長い棒を置き、適切な場所に支点を置くことで、棒の長い方を引っ張ると、石の下にある短い方がずっと大きな力を発揮するのです。 You pull with a small force, and the mechanics of the lever apply a larger force to the stone. In electronics, one way to do this is with a MOSFET. A MOSFET is an electronic switch that can be controlled by a small current, but in turn can control a much larger current. 小さな力で引っ張ると、レバーの仕組みによって石に大きな力が加わります。 In electronics, one way to do this is with a MOSFET. 電子機器では、これを実現する方法として、MOSFETがあります。 A MOSFET is an electronic switch that can be controlled by a small current, but in turn can control a much larger current. MOSFETは、小さな電流でも制御でき、逆に大きな電流でも制御できる電子スイッチです。 A MOSFET has three pins. MOSFETには3つの端子があります。 You can think of a MOSFET as a switch between two of its pins (the drain and source), which is controlled by a third pin (the gate). MOSFETは、2本のピン(ドレインとソース)の間にあるスイッチが、3本目のピン(ゲート)によって制御されていると考えることができます。 It is a little like a light switch, where the gate is represented by the part you move to turn the light on and off. 電気のスイッチのようなもので、電気を点けたり消したりするために動かす部分でゲートを表現しています。 A light switch is mechanical, so it is controlled by a finger, but a MOSFET is electronic, so it is controlled by a pin from your Arduino. ライトスイッチは機械式なので指で操作しますが、MOSFETは電子式なので、Arduinoのピンで操作します。