来比高低音
标签:DIY arduino
邱奕盛 发布于 2017-11-06 15:27
在2016年的上海创客嘉年华上,看到一个学生毕业项目,我也想来做一个
Step 1: 材料准备

arduino
纸杯
超声波传感器(测距离)
开关
蜂鸣器
Step 2: 构想
通过手的高低来控制音高
Step 3: 编程
使用mixly就可以快速完成编程啦!
Step 4: 接线

如图
Step 5: 大招

变量思想:通常,我们使用旋钮来控制变量;脑洞大开,可以通过任何一个物理量和其他物理量建立线性联系甚至非线性联系,如本例通过构建距离与音高的联系,完成作品。
登录以发表评论