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. 解决gpg failed to sign the data fatal: failed to write commit object解决方案
  3. 淘宝用了mysql,您呢?
  4. halcon的算子清点:Chapter 8线的属性
  5. 英语笔记-20151209
  6. [vue] 组件中写name选项有什么作用?
  7. linux安装 redis,在linux中安装redis
  8. Python判断端口服务是否启动
  9. [Linux学习]man page常用按键
  10. 查询商品列表报错This application has no explicit mapping for /error, so you are seeing this as a fallback
  11. Echarts数据可视化legend图例,开发全解+完美注释
  12. 港媒:中国将斥资1800亿美元建全球最大5G网络
  13. ModelForm操作
  14. Mac上Gtk-WARNING **: cannot open display解决
  15. vue中this.$set的用法
  16. CentOS 7完全卸载MySQL
  17. java会议室预约系统源码_基于jsp的会议室预订预约-JavaEE实现会议室预订预约 - java项目源码...
  18. 部署开源项目,修改Mysql数据库配置yaml文件
  19. 2018年高德地图POI全国数据下载
  20. 07 面向对象编程-结构、封装、继承、多态、接口

热门文章

  1. 数据库管理员(DBA)的定义及职责
  2. 美团饿了么大额无门槛红包
  3. Linux和Windows稀疏文件拷贝移动
  4. 重置 Centos 的 root密码
  5. 房屋出租小助手APP需求分析
  6. 微信小程序webview中的h5,安卓系统无法唤起相机相册
  7. Springboot毕设项目宠物寄养平台qq24i(java+VUE+Mybatis+Maven+Mysql)
  8. 谷粒商城BUG P52新建二级目录中新建三级目录无法显示bug解决
  9. 中国广电尚未正式放号,但是三大运营商已现恐慌性竞争
  10. 邮件附件att00.html,我的网易163邮箱收到的邮件里有个这样的附件ATT00002.bin打不开,到底是什么?...