Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
Submit search
EN
Uploaded by
Katsuhiro Morishita
8,841 views
ArduinoとExcelで作る電子オルゴール
ArduinoとExcelで電子オルゴールを作るための解説スライドです。楽譜から読み取った音符をExcelに入力していくとスケッチが生成されます。便利でしょ?
Engineering
◦
Read more
5
Save
Share
Embed
Embed presentation
Download
Downloaded 24 times
1
/ 29
2
/ 29
3
/ 29
4
/ 29
5
/ 29
6
/ 29
7
/ 29
8
/ 29
9
/ 29
10
/ 29
11
/ 29
12
/ 29
13
/ 29
14
/ 29
15
/ 29
16
/ 29
17
/ 29
18
/ 29
19
/ 29
20
/ 29
Most read
21
/ 29
22
/ 29
23
/ 29
Most read
24
/ 29
25
/ 29
26
/ 29
Most read
27
/ 29
28
/ 29
29
/ 29
More Related Content
PDF
Lecture 6 Tachogenerators
by
Manipal Institute of Technology
PPTX
Introduction to control system 2
by
turna67
DOCX
assignment on power plant engineering
by
Khaled Mosharraf Mukut
PDF
Question paper with solution the 8051 microcontroller based embedded systems...
by
manishpatel_79
PPTX
Automation with plc & scada
by
MNIT Jaipur
PDF
What is field bus
by
victorshalom
PPTX
Chapter 1 basic components of control system
by
Harish Odedra
PPTX
Fieldbus wiring guide
by
Mohamed A Hakim
Lecture 6 Tachogenerators
by
Manipal Institute of Technology
Introduction to control system 2
by
turna67
assignment on power plant engineering
by
Khaled Mosharraf Mukut
Question paper with solution the 8051 microcontroller based embedded systems...
by
manishpatel_79
Automation with plc & scada
by
MNIT Jaipur
What is field bus
by
victorshalom
Chapter 1 basic components of control system
by
Harish Odedra
Fieldbus wiring guide
by
Mohamed A Hakim
What's hot
PPTX
Presentation knock door bell project by namit
by
Namit Sood
PPTX
Data transmission and telemetry
by
slide rock
DOCX
Multiplexing
by
Momina Idrees
PPT
humidity sensor
by
Nikita Gupta
PPT
Ladder Intro Tutorial
by
plc_course
PDF
Electronic Measurement - Temperature Measurement
by
Burdwan University
PPT
Plc presentation
by
PANKAJ BADGUJAR
PPTX
Simulation and Comparison of P, PI, PID Controllers on MATLAB/ Simulink
by
HarshKumar649
PDF
Piezoelectric Energy Harvester - Capstone Design
by
Mehnaz Newaz
PPTX
Industrial Temperature Controller using Microcontroller
by
Edgefxkits & Solutions
PDF
pid controller
by
shurjeel amjad
PPTX
Automatic water level controller
by
Geetha Smiley
PDF
Digital to analog -Sqaure waveform generator in VHDL
by
Omkar Rane
PDF
PLC Troubleshooting & Maintenance
by
NFI - Industrial Automation Training Academy
PPT
Pid controller by Mitesh Kumar
by
Mitesh Kumar
PPTX
Smart grid presentation
by
Norrazman Zaiha Zainol
PPT
7. componentes electronicos alumnos
by
Brigida2014
PPTX
1.instrumentation ii
by
Bikash Gyawali
DOCX
Project report on the Digital clock using RTC and microcontroller 8051
by
Maulik Sanchela
PDF
MAGENN AIR ROTOR SYSTEM (M.A.R.S) ppt
by
KiranPrasad55
Presentation knock door bell project by namit
by
Namit Sood
Data transmission and telemetry
by
slide rock
Multiplexing
by
Momina Idrees
humidity sensor
by
Nikita Gupta
Ladder Intro Tutorial
by
plc_course
Electronic Measurement - Temperature Measurement
by
Burdwan University
Plc presentation
by
PANKAJ BADGUJAR
Simulation and Comparison of P, PI, PID Controllers on MATLAB/ Simulink
by
HarshKumar649
Piezoelectric Energy Harvester - Capstone Design
by
Mehnaz Newaz
Industrial Temperature Controller using Microcontroller
by
Edgefxkits & Solutions
pid controller
by
shurjeel amjad
Automatic water level controller
by
Geetha Smiley
Digital to analog -Sqaure waveform generator in VHDL
by
Omkar Rane
PLC Troubleshooting & Maintenance
by
NFI - Industrial Automation Training Academy
Pid controller by Mitesh Kumar
by
Mitesh Kumar
Smart grid presentation
by
Norrazman Zaiha Zainol
7. componentes electronicos alumnos
by
Brigida2014
1.instrumentation ii
by
Bikash Gyawali
Project report on the Digital clock using RTC and microcontroller 8051
by
Maulik Sanchela
MAGENN AIR ROTOR SYSTEM (M.A.R.S) ppt
by
KiranPrasad55
More from Katsuhiro Morishita
PDF
数ページの卒業論文作成のためのwordの使い方
by
Katsuhiro Morishita
PDF
Pythonのパッケージ管理ツールの話@2020
by
Katsuhiro Morishita
PDF
オトナのpandas勉強会(資料)
by
Katsuhiro Morishita
PDF
SIgfox触ってみた in IoTLT in 熊本市 vol.3
by
Katsuhiro Morishita
PDF
Google Colaboratoryの使い方
by
Katsuhiro Morishita
PDF
Excelでのグラフの作成方法re
by
Katsuhiro Morishita
PDF
Pythonのmain関数
by
Katsuhiro Morishita
PDF
Pythonスクリプトの実行方法@2018
by
Katsuhiro Morishita
PDF
機械学習と主成分分析
by
Katsuhiro Morishita
PDF
Pythonで始めた数値計算の授業@わんくま勉強会2018-04
by
Katsuhiro Morishita
PDF
マークシート読み込みプログラムを作ってみた@2018-04-04
by
Katsuhiro Morishita
PDF
オトナの画像認識 2018年3月21日実施
by
Katsuhiro Morishita
PDF
LoRa-WANで河川水位を計測してみた@IoTLT@熊本市 vol.001
by
Katsuhiro Morishita
PDF
シリーズML-08 ニューラルネットワークを用いた識別・分類ーシングルラベルー
by
Katsuhiro Morishita
PDF
シリーズML-07 ニューラルネットワークによる非線形回帰
by
Katsuhiro Morishita
PDF
シリーズML-06 ニューラルネットワークによる線形回帰
by
Katsuhiro Morishita
PDF
シリーズML-05 ニューラルネットワーク
by
Katsuhiro Morishita
PDF
シリーズML-03 ランダムフォレストによる自動識別
by
Katsuhiro Morishita
PDF
シリーズML-01 機械学習の概要
by
Katsuhiro Morishita
PDF
Pandas利用上のエラーとその対策
by
Katsuhiro Morishita
数ページの卒業論文作成のためのwordの使い方
by
Katsuhiro Morishita
Pythonのパッケージ管理ツールの話@2020
by
Katsuhiro Morishita
オトナのpandas勉強会(資料)
by
Katsuhiro Morishita
SIgfox触ってみた in IoTLT in 熊本市 vol.3
by
Katsuhiro Morishita
Google Colaboratoryの使い方
by
Katsuhiro Morishita
Excelでのグラフの作成方法re
by
Katsuhiro Morishita
Pythonのmain関数
by
Katsuhiro Morishita
Pythonスクリプトの実行方法@2018
by
Katsuhiro Morishita
機械学習と主成分分析
by
Katsuhiro Morishita
Pythonで始めた数値計算の授業@わんくま勉強会2018-04
by
Katsuhiro Morishita
マークシート読み込みプログラムを作ってみた@2018-04-04
by
Katsuhiro Morishita
オトナの画像認識 2018年3月21日実施
by
Katsuhiro Morishita
LoRa-WANで河川水位を計測してみた@IoTLT@熊本市 vol.001
by
Katsuhiro Morishita
シリーズML-08 ニューラルネットワークを用いた識別・分類ーシングルラベルー
by
Katsuhiro Morishita
シリーズML-07 ニューラルネットワークによる非線形回帰
by
Katsuhiro Morishita
シリーズML-06 ニューラルネットワークによる線形回帰
by
Katsuhiro Morishita
シリーズML-05 ニューラルネットワーク
by
Katsuhiro Morishita
シリーズML-03 ランダムフォレストによる自動識別
by
Katsuhiro Morishita
シリーズML-01 機械学習の概要
by
Katsuhiro Morishita
Pandas利用上のエラーとその対策
by
Katsuhiro Morishita
ArduinoとExcelで作る電子オルゴール
1.
ArduinoとExcelで作る 電子オルゴール 熊本高等専門学校 2015-08-13 update 森下功啓
2.
電子オルゴールに必要なもの 2 Arduino IDE (上の図はWindows用) MacやPC(パソコン) Arduino (アルデュイーノ) 通信ケーブル http://akizukidensh i.com/catalog/g/gC -07605/ 圧電スピーカー
3.
音を出す原理 • 音は、空気の振動です • 圧電スピーカーは電圧をかけると変形する素子です •
↑は250 Hzで電圧を変化させると250 Hzの音が出ます – ヘルツHzは、1秒間に繰り返される現象の回数 • Arduinoには、そのための機能が備わっています 3 電圧を変 化させる
4.
電子オルゴールで利用する主な関数 • tone(ポート番号, 周波数) –特定の周波数の矩形信号を出力する •
delay(待ち時間[ms]) –引数で指定した時間だけ待つ 4
5.
5 オルゴール の作り方
6.
圧電スピーカを接続する 6 差し込む
7.
ArduinoとPCをUSBで接続する • 電源をArduinoに供給しつつ、プログラムを書 き込んだり、Arduinoとシリアル通信するため にUSBケーブルで接続します 7 USBケーブル
8.
スケッチ作成補助ツールを入手 下記リンクよりダウンロードできます 8 https://github.com/KatsuhiroMorishita/electronic_music_box/blob/master/Ard uino/Arduino%E3%82%AA%E3%83%AB%E3%82%B4%E3%83%BC%E3%83%AB %E7%94%A8Excel%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB.xlsx クリック
9.
スケッチ作成補助ツールを起動 9 アイコンをダブルクリックします
10.
スケッチ作成補助ツールの説明 10 入力欄はN, O, R,
Sの4列
11.
N列 • ドレミファなどの音階を入力 11
12.
O列 • #や♭を入力 12
13.
R列 • 音の長さを入力 –4分音符なら”4” 13
14.
S列 • 付点(音の長さが1.5倍)を入力 14
15.
入力方法 1. セルを選択 2. 右側に出る▼をクリック 3.
選択肢が表示される 4. 選択肢をクリック 15 マウス
16.
自動生成されるスケッチ • U列に出力される • Excelが演奏部分だ け自動生成する 16
17.
ツールを使う流れ 1. 楽譜を読む(音階と長さ) 2. Excelに音符を入力 3.
生成されたコードをテキストエディタにコピペ 1. TeraPadを推奨 2. ダブルコーテーション「”」を置換機能で削除 3. 再びコピー 4. Arduino IDEにペースト 1. loop()関数内に貼り付ける 17
18.
生成されたコードをテキストエディタに コピペ 18 コピー ペースト (貼り付け)
19.
「“」を置換する(置換機能の起動) 19
20.
置換条件の設定 20 クリック 空欄 半角で「”」 を入力
21.
置換の実行 21 クリック
22.
「“」が取れた(^o^)/ 22
23.
IDE起動!ー>プログラムを書く 23 サンプル入手先 https://github.com/ KatsuhiroMorishita/ electronic_music_b ox/tree/master/Ard uino/code/music *Windows版のスクリーンショットです 置換済みのコードを loop()に貼り付け
24.
スケッチ例 24
25.
設定して 25 • ボードのシリーズを選ぶ • ポートのマイコンor電圧を選ぶ *Windows版のスクリーンショットです
26.
書き込んで 26 • コンパイル&書き込み(エラーが出たら修正) クリック *Windows版のスクリーンショットです
27.
完成!! • 動作の例 – https://www.youtube.com/watch?v=UCOcOTAO26Q 27
28.
自分のオリジナル曲を 作ってみよう 28*複数台を連携させれば複雑な音楽が実現するかも!?
29.
参考資料 29 http://www.animato-jp.net/~se/onpuhyou.html
Download