美文网首页玩转树莓派程序员让前端飞
每日科技英文8: arduino术语6(数字与模拟信号)

每日科技英文8: arduino术语6(数字与模拟信号)

作者: 随风而行之青衫磊落险峰行 | 来源:发表于2017-11-03 06:23 被阅读158次

Arduino Technical Specs:

6. Analog I/O Pins(模拟输入/输出针脚) 8个

7. Digital I/O Pins(数字输入/输出引脚) 14个


Analog vs Digital:

Analog(模拟) and digital(数字) signals(信号) are used to(被用于) transmit information(传输信息), usually through electric signals(通过电子信号).

In both these technologies(这些技术), the information, such as(例如) any audio or video(音频或视频), is transformed into electric signals(被转换为电子信号).

The difference between(之间的区别) analog and digital technologies is that in(在于) analog technology, information is translated into(翻译为,转换为) electric pulses of varying amplitude(变幅电脉冲).

In digital technology, translation of information is into binary format(二进制格式) (zero or one,0或1的表示) where each bit is representative of (代表,表示)two distinct (不同的)amplitudes(振幅).

An Analog signal is any continuous signal(连续的信号)

A digital signal uses discrete(离散的) (discontinuous,不连续的) values

简单来说,将灯打开关闭这种开关(0/1)表示就是数字信号

将灯逐渐从暗到明,再从明到暗具有连续的过程的表示就是模拟信号(具有周期性的,一般呈现sin曲线)

手机wifi控制arduino nano进行灯光变幅操作.gif 红色D开头的为数字引脚黄色A开头的为模拟引脚.jpg

相关文章

网友评论

本文标题:每日科技英文8: arduino术语6(数字与模拟信号)

本文链接:https://www.haomeiwen.com/subject/msgapxtx.html