A Singing Shuttle

project presentation

the video shows how it works

how it work

laser cut part

we use the software “Lasermaker”

1. practice

first we can print some templates provided.

then we can try to create our own pattern

another practice: learn how to measure burning loss and adjust the size to fit in

2. make this “platform”


this is the .lcp file of the box. (10cm10cm5cm) adjust its parameter, considering 0.2mm burning loss, with 3mm pine wood box
next step: just need to create some “holes” according to our needs

final version

3D printing part

tool: Tinkercad + SnapMaker Luban

1.practice

2.make my shuttle


if we print it from the feather, it will not stand even with a lot of support, so we could try to print it up side down.
because the shuttle is structured by many thin sticks and feathers, the smaller the size is, the worse the situation will be.

Arduino MCU


↑ board inside the box

int volume;
int tou;
int here=0;
int buzzer=6;
#define NTA0 -1
#define NTA1 441
#define NTA2 495
#define NTA3 556
#define NTA4 624
#define NTA5 661
#define NTA6 742
#define NTA7 833
#define NTAL1 221
#define NTAL2 248
#define NTAL3 278
#define NTAL4 294
#define NTAL5 330
#define NTAL6 371
#define NTAL7 416int tune[]=
{NTAL6,NTA1,NTAL6,NTA3,NTA2,NTA2,NTA1,NTA1,NTAL7,NTAL6,NTAL7,NTA2,NTA3,NTA1,NTAL6
};
float durt[]={0.5,1,0.5,1.5,0.5,1,1,1,0.5,1,0.5,1.5,0.5,1,1
};
int length;
void setup() {Serial.begin(9600);pinMode(A5,INPUT);   //设置引脚 A5 为输出模式// put your setup code here, to run once:pinMode(13,OUTPUT);pinMode(buzzer,OUTPUT);length=sizeof(tune)/sizeof(tune[0]);
}void loop() {noTone(6);volume = analogRead(A0);Serial.println(volume);if(volume>70) {Serial.println("yes");here=1;delay(200);}tou=analogRead(A5);Serial.println(tou); //串口输出 A5读取到的值if(tou>200) {Serial.println("touch");here=1;delay(200);}if(here==1){for(int x=0;x<length;x++){tone(6,tune[x]-100);delay(700*durt[x]);noTone(6);}here=0;}
}


touch sensor, microphone, buzzer respectively

A Singing Shuttle相关推荐

  1. usaco shuttle puzzle(dfs剪枝)

    这题一看我也以为找规律,然后无法下手之后又想到bfs最后看题解是用dfs大神dfs用的出神入化. 不过这题好像可以找规律. /* ID:jinbo wu TASK: shuttle LANG:C++ ...

  2. R语言基于MASS包中的shuttle数据集以及neuralnet包构建神经网络模型

    R语言基于MASS包中的shuttle数据集以及neuralnet包构建神经网络模型 目录 R语言基于MASS包中的shuttle数据集以及neuralnet包构建神经网络模型

  3. Shuttle ESB实现消息推送

    ESB全称Enterprise Service Bus,即企业服务总线.它是传统中间件技术与XML.Web服务等技术结合的产物. ESB的出现改变了传统的软件架构,能够提供比传统中间件产品更为便宜的解 ...

  4. (第六场)Singing Contest 【模拟】

    题目链接:https://www.nowcoder.com/acm/contest/144/A 标题:A.Singing Contest | 时间限制:1 秒 | 内存限制:256M Jigglypu ...

  5. .Net开源 Shuttle(飞梭)服务总线(ESB)入门

    Shuttle(飞梭)服务总线是一个免费的.NET开源软件项目,它为开发面向消息的事件驱动架构(EDA)系统提供了一种新方法.尽管它仍处于起步阶段,不过它已被应用于生产系统之中. 相关要点如下: 用C ...

  6. USACO shuttle

    这道题用广搜即可,只需要加两个优化就行.. 代码如下: /*ID: m1500293LANG: C++PROG: shuttle */ #include <cstdio> #include ...

  7. Singing Superstar HDU - 7064

    Singing Superstar HDU - 7064 题意: 问在串T中出现了几次不相交的串S? 每次有n个串S询问 题解: AC自动机板子题.. 直接上模板 代码: #include <b ...

  8. mac terminal ssh client shuttle 免输密码

    免输入密码登录 不需要iterm和zoc等第三方软件,alias(纯终端)和shuttle(有UI)两种方式使用密码(不需要手动输入)登录目标机器 准备工具 sshpass,shuttle 密码配置文 ...

  9. 【Rust日报】2022-09-11 Shuttle 创建和部署带有ShuttleSerenity的 Discord 机器人!

    Shuttle v0.5.1 已发布 ━ 创建和部署一个带有Shuttle & Serenity 的 Discord 机器人! 对于任何想要让 Discord 机器人启动并运行(使用 Rust ...

最新文章

  1. 网络电话如何营造成熟的通信商业模式
  2. percona-xtrabackup工具实现mysql5.6.34的主从同步复制
  3. 为什么想要去探究Mybatis源码?(1)
  4. 国际青年日,神策数据召唤优(有)质(志)青年
  5. ios 侧滑返回停顿_iOS push侧滑返回功能实现方法
  6. 浅谈一下我了解的PWA
  7. Docker Compose 简介、安装、初步体验
  8. 类间关系有很多种 UML
  9. 微信公众号通过链接实现关注(盗用广告主流量主)
  10. 保证速度与心情——pdg转pdf与djvu转pdf大法(不像网上的好多方法那样麻烦,方便快捷,纯傻瓜化操作!)
  11. 算法精解(一):C语言描述(链表)
  12. Scala语言精华版笔记整理
  13. chrome浏览器提示“adobe flash player不是最新版本!”
  14. 《计算机组成原理》作业,《计算机组成原理》作业一解答.doc
  15. C4D渲染保存多通道psd格式,图层都是线性减淡模式,oc多通道图层都是线性简单模式
  16. 机器学习中常用的几何距离测量和统计距离测量方法总结
  17. 深入理解硬盘原理,Mysql索引底层数据结构与算法的来龙去脉(多图)
  18. 官网下载Eclipse历史版本
  19. Docker之操作系统Alpine
  20. 共享纸巾机系统开发,关于Switch的使用

热门文章

  1. 给python安装tkinter模块(及各种问题的解决:如 ModuleNotFoundError: No module named ‘_tkinter’)
  2. java Text 错误: 找不到或无法加载主类 Text
  3. 神魔大陆升级经验服务器端在电脑什么位置,神魔大陆2怎样快速升级?神魔大陆2快速升级攻略...
  4. 亮度 对比度 饱和度 灰度【转】
  5. Word排版-表格跨页续表
  6. TCP服务器客户端编程流程
  7. JavaScript中setAttribute用法详解
  8. 计算机键盘上的每一个按键应用,厉害了!电脑键盘上的F1到F12,每一个都有大用处!后悔现在才知道...
  9. linux固态硬盘和机械盘,判断linux磁盘是固态硬盘还是机械硬盘的方法
  10. 全职工作者如何为 Kubernetes 做贡献