同雪网 SkiChinese.com 北美滑雪论坛

 找回密码
 注册

Login

免注册即享有会员功能

搜索
查看: 4680|回复: 16
打印 上一主题 下一主题

Arduino

[复制链接]
跳转到指定楼层
楼主
发表于 2014-4-27 11:55:59 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
沙发
 楼主| 发表于 2014-4-27 12:19:38 | 只看该作者

PWM

本帖最后由 KuoiGuaBoarder 于 2014-4-27 13:31 编辑

Pulse Width Modulation

PWM, is a technique for getting analog results with digital means. Digital control is used to create a square wave, a signal switched between on and off. This on-off pattern can simulate voltages in between full on (5 Volts) and off (0 Volts) by changing the portion of the time the signal spends on versus the time that the signal spends off. The duration of "on time" is called the pulse width. To get varying analog values, you change, or modulate, that pulse width. If you repeat this on-off pattern fast enough with an LED for example, the result is as if the signal is a steady voltage between 0 and 5v controlling the brightness of the LED.


http://arduino.cc/en/Tutorial/PWM


deep dig
板凳
 楼主| 发表于 2014-4-27 12:46:16 | 只看该作者
地板
 楼主| 发表于 2014-4-27 13:47:52 | 只看该作者

IO expander

KuoiGuaBoarder 发表于 2014-4-27 13:46
http://www.robot-electronics.co.uk/acatalog/I2C_Tutorial.html

The SDA and SCL lines enable i2c communication.

Which pins are SDA and SCL?
Uno, Ethernet: A4 (SDA), A5 (SCL)
Mega2560: 20 (SDA), 21 (SCL)
Leonardo: 2 (SDA), 3 (SCL)
Due: 20 (SDA), 21 (SCL), SDA1, SCL1
5#
发表于 2014-4-27 14:32:51 | 只看该作者
你要干哈?
6#
 楼主| 发表于 2014-4-27 15:51:24 | 只看该作者
luvski 发表于 2014-4-27 15:32
你要干哈?

找个 大宝意 来指导一下工作
7#
 楼主| 发表于 2014-4-29 20:12:45 | 只看该作者
8#
 楼主| 发表于 2014-5-3 12:11:23 | 只看该作者
哪位大侠能出手给解释一下:
Bus scheme VS  key matrix
9#
 楼主| 发表于 2014-5-6 21:03:47 | 只看该作者
请教一个问题:

encoder vs potentiometer 区别在那里?
10#
 楼主| 发表于 2014-5-7 09:21:07 | 只看该作者
KuoiGuaBoarder 发表于 2014-5-6 22:03
请教一个问题:

encoder vs potentiometer 区别在那里?

同雪网就是牛, 象个愿望树一样,只要写下来马上就知道答案了

点评

谢谢  发表于 2014-5-7 12:54
真替你高兴!  发表于 2014-5-7 12:31
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|SkiChinese  

GMT-5, 2025-11-7 05:30 , Processed in 0.041068 second(s), 26 queries .

Powered by Discuz! X3.2 Licensed

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表