Skip to Content
《Arduino 烹饪书》第三版
book

《Arduino 烹饪书》第三版

by Michael Margolis, Brian Jepson, Nicholas Robert Weldin
May 2025
Beginner to intermediate
798 pages
10h 10m
Chinese
O'Reilly Media, Inc.
Content preview from 《Arduino 烹饪书》第三版

电子元件

如果您刚开始接触电子元件,您可能需要购买一个初学者入门套件,其中包含本书中许多配方所需的基本元件。这些元件通常包括最常见的电阻器、电容器、晶体管、二极管、发光二极管和开关。

以下是一些受欢迎的选择:

如图 A-1所示,您还可以购买用于项目的单个元件 以下各节概述了常见的电子元件

常见组件示意图

电容器

电容器可在短时间内存储电荷,在数字电路中用于过滤(平滑)电信号中的突降和尖峰。最常用的电容器是无极性陶瓷电容器;例如,用于去耦(减少噪声尖峰)的 100 nF 圆盘电容器。电解电容器通常比陶瓷电容器能存储更多电荷,用于电源和电机电路等大电流电路。电解电容器通常是极化的,负极(标有负号)必须连接到地(或电压低于正极的点)。第 8 章中的示例说明了电容器在电机电路中的应用。

二极管

二极管允许电流向一个方向流动,同时阻断电流向另一个方向流动。大多数二极管都有一条带子(见图 A-1),用于指示阴极(负极)。

1N4148 等二极管可用于低电流应用,如 Arduino 数字引脚上使用的电平。1N4001 二极管是较大电流(高达 1 安培)的良好选择。

集成电路

集成电路包含封装在一个便捷芯片中的电子元件。这些元件可以很复杂,比如 Arduino 控制器芯片包含数千个晶体管,也可以很简单,比如第 10 章中使用的光隔离器元件仅包含两个半导体。有些集成电路(如 Arduino 芯片)对静电很敏感,应小心处理。

键盘

键盘是用于提供数字输入的开关矩阵。参见第 5 章

发光二极管

LED (发光二极管)是一种二极管,当电流流过该器件时,它就会发光。由于是二极管,LED 只能单向导电。参见第 7 章

电机(直流)

电机将电能转化为物理运动。大多数小型直流(DC)电机的速度与电压成正比,通过反转电机两端的电压极性,可以扭转电机的运动方向。大多数电机需要的电流大于 Arduino 引脚提供的电流,因此需要晶体管等元件来驱动电机。参见第 8 章

光耦合器

光耦合器(也称为光隔离器)在设备之间提供电气隔离。这种隔离可使工作电压不同的设备安全地协同工作。参见第 10 章

光电池(光敏电阻)

光电管是一种可变电阻器,其电阻随光线变化而变化。参见第 6 章

压电

压电陶瓷是一种小型陶瓷换能器,脉冲时会产生声音,具有极性,红线表示正极,黑线表示接地的一侧。参见第 9 章

Pot(电位器)

电位计(简称电位计)是一个可变电阻器。外侧的两个端子是固定电阻器。一个称为刮片(或滑块)的可移动触点在电阻器上移动,从而在中心端子和两侧端子之间产生可变电阻。参见第 5 章

继电器

继电器是一种电子开关--电路根据继电器线圈上的电压打开或关闭,而继电器线圈与开关是电气隔离的。大多数继电器线圈需要的电流大于 Arduino 引脚提供的电流,因此需要一个晶体管来驱动它们。参见第 8 章

电阻器

电阻器阻挡电流的流动。流过电阻器的电压将限制与电阻器值成正比的电流(见欧姆定律)。电阻器上的刻度线表示电阻器的值。第 7 章介绍了如何选择与 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Make a Raspberry Pi-Controlled Robot

Make a Raspberry Pi-Controlled Robot

Wolfram Donat
Make: Volume 94

Make: Volume 94

Dale Dougherty
Make: Volume 79

Make: Volume 79

Mike Senese

Publisher Resources

ISBN: 9798341659582