洋天科技洋天科技
公司簡介訂購方式匯款確認檔案下載 聯絡我們保固說明訂單查詢討論區
電子郵件:

密碼:

忘記密碼
加入會員
  首頁 | 原廠 Arduino® | 特殊服務設計 | 轉接座及轉接板/麵包板 | 開發板/燒錄器/模擬器 | 相容 For Arudino® 週邊及配件 | OKdo系列 | Saleae 系列 | Adafruit 系列 | ArduCam 系列 | Camera 攝像頭 | ROCK 系列 | Debix系列開發板 | Raspberry Pi 樹莓派 | Banana Pi 香蕉派 | BeagleBone 狗骨頭 | M5Stack系列 | Micro:bit (BBC)系列 | NVIDIA Jetson Nano系列 | Pololu 系列 | Pycom 系列 | Seeed 系列 | Sparkfun 系列 | WeMos 系列 | 傳感器 | Cubieboard/CubieTruck系列 | Firefly 系列 | Microduino系列 | Orange Pi 香橙派 | PCB板 | PLC 系列 | Robot 機器人 | UDOO 系列 | RedBearLab 系列 | LattePanda系列 | LittleBits 系列 | Libelium 系列 | Luxonis 相機系列 | PCduino | RobotElectronics 系列 | MageDok 顯示屏 | LCD/LCM/TFT/LVDC | Dimension Engineer 系列 | 通訊模組 | 影音器材(含轉換器) | 線材/連結器/轉換器 | 測量儀器 | 馬達/馬逹控制器/電源模組 | 其他 | 焊接/維修工具 | IC零件 | LED燈-裝飾燈 | 工作站迷你電腦 mini PC | 擴大器 | 雕刻機 | 電池 | 電腦周邊 | 檢定考套件 | 停售商品
  首頁 » 商品目錄 » 相容 For Arudino® 週邊及配件 » 00314852
商品搜尋 進階
 |  購物車內容  |  結帳   
商品分類
  For Arduino® book 書
  For Arduino® LCD 屏
  For Arduino® RGB LED模組
  For Arduino® SD卡模組
  For Arduino® 傳感器模塊
  For Arduino® 套件/套餐
  For Arduino® 學習套件
  For Arduino® 按鍵 按鈕模塊 搖桿
  For Arduino® 控制板
  For Arduino® 擴展板
  For Arduino® 繼電器
  For Arduino® 車
  For Arduino® 電機 馬達 驅動
  Makeblock mBot 系列
  MiCOKit 銀爾達
  NodeMcu Lua系列
  WRTnode系列
  電源模塊
  For Arduino® 外殼/壓克力板/麵包板/杜邦線/配件
Arduino
Pololu
Seeed
Sparkfun
robot-electronics
dimensionengineering
libelium
adafruit
udoo
redbearlab
Arducam
goembed
Saleae
okdo
服務台
公司簡介
退換貨服務
訂購方式
聯絡我們
匯款確認
[<< 前一頁]  瀏覽相同分類產品 99 / 438  [下一頁 >>]
樂器數字接口 MIDI Shield 轉接板 帶調試手冊 For Arduino®
NT$700
運費NT$50
條碼00314852
產品說明0

 

描述:

    此MIDI板設計可直接插在arduino上使用。支持MIDI通信協議,你可以控制合成器和其它音樂設備。MIDI協議和標準異步串行接口有很多類似點,你可以使用arduino控制器的UART口來收發MIDI數據。

    MIDI板提供MIDI-INMIDI-OUT端口,以及MIDI-THRU端口。當MIDI板子直接插在arduino上時,MIDI-IN/THRU連接的是arduino的硬件串口RX腳,MIDI-OUT接的是TX。MIDI-IN端口是光隔離的,能防止接地迴路。板載的撥打開關是為了在下載arduino代碼時不用取下MIDI板子,下載代碼時將撥打開關打到OFF(即斷開與arduino RX的連接),下載好後打到ON。

板子尺寸:57.4 x 53.1mm

MIDI設備一般分為兩大類別:控制器(即產生MIDI信號的設備)合成器(包括採樣,測序等)。後者得到MIDI數據後使變成聲音或產生光或者其它效果。
MIDI是串行協議,每秒可傳輸31250位。Arduino的內置串行端口都可以以這個速率發送。

MIDI字節分為兩個類型:命令字節數據字節

  • 命令字節一般是128或更大,或者是0x80~0xFF的十六進制形式。
  • 數字字節一般小於127,0x00~0x7F。具體請查看MIDI協議。

關於MIDI座子:

下面是MIDI座子與arduino的簡單連接,代碼測試發送MIDI數據。

/* 
 MIDI note player  This sketch shows how to use the serial transmit pin (pin 1) to send MIDI note data. If this circuit is connected to a MIDI synth, it will play  the notes F#-0 (0x1E) to F#-5 (0x5A) in sequence.  The circuit:  * digital in 1 connected to MIDI jack pin 5  * MIDI jack pin 2 connected to ground  * MIDI jack pin 4 connected to +5V through 220-ohm resistor  Attach a MIDI cable to the jack, then to a MIDI synth, and play music.   */ 
 
void  setup ( )  { 
  // Set MIDI baud rate: 
  Serial . begin ( 31250 ) ; 
} 

void  loop ( )  { 
  // play notes from F#-0 (0x1E) to F#- 5 (0x5A): 
  for  ( int  note  =  0x1E ;  note  <  0x5A ;  note  ++ )  { 
    //Note on channel 1 (0x90), some note value (note), middle velocity (0x45): 
    noteOn ( 0x90 ,  note ,  0x45 ) ; 
    delay ( 100 ) ; 
    //Note on channel 1 (0x90), some note value (note), silent velocity (0x00): 
    noteOn ( 0x90 ,  note ,  0x00 ) ;    
    delay ( 100 ) ; 
  } 
} 

// plays a MIDI note. Doesn't check to see that 
// cmd is greater than 127, or that data values ​​are less than 127: 
void  noteOn ( int  cmd ,  int  pitch ,  int  velocity )  { 
  Serial . write ( cmd ) ; 
  Serial . write ( pitch ) ; 
  Serial . write ( velocity ) ; 
}

參考學習MIDI鏈接:

MIDI Protocol Guides  - http://www.tigoe.net/pcomp/code/communication/midi/

I ntroduction to MIDI  - http://itp.nyu.edu/physcomp/Labs/MIDIOutput

MIDI協議 -

http://hinton-instruments.co.uk/reference/midi/protocol/index.htm

發貨清單:

  • MIDI Shield *1


問與答

目前沒有任何商品問答!
本商品上架日期:2012-08-14.
評價
購物車 更多
1 x 3G/4G串口開發板樹莓派4G板4G單片機開發板STM32加4G開發板(焊SIM5360E_聯通3G)
1 x ▽●(現貨)香蕉派 Banana Pi R2 外殼 BPI-R2 壓克力外殼 透明外殼
NT$3,450
查詢訂單狀態
 
請輸入您的訂單編號
商品通知狀態 更多
通知樂器數字接口 MIDI Shield 轉接板 帶調試手冊 For Arduino®
更新時通知我
推薦給朋友
 
推薦這個商品給朋友

聯絡方式:手機:0933807110 或 0968222607
E-mail:i0104@ms13.hinet.net(主要信箱) & i03070309@yahoo.com.tw(次要) & a_te0307@hotmail.com & A9215017@mail.ntust.edu.tw & r94922042@ntu.edu.tw