MIDI DRUM CONTROLLER

ECE 476 Project -- Spring 2005

By Siew Im Low and Zheshen Zhuang

Home

Introduction

Design

Hardware

Software

Results & Conclusions

Appendix

 

[ APPENDIX ]

Commented Code

Link to code.

Schematics

Click here for

1. Accelerometer Schematic

2. MIDI OUT schematic

Cost Details

Component

Quantity

Part Number

Source

Price

DIN5 cable

2

CAT# CB-330

allelectronics.com

$3

LCD

1

LCD16X2BL

Futurlec.com

$7.90

Custom PC board

1

-

Lab

$5

Mega32

1

-

Lab

$8

Prototype board

1

-

Lab

$3

Power supply

-

-

Lab

$5

SN74LS04

1

-

Lab

-

Pushbuttons

1

-

Lab

-

Assorted resistors and capacitors

-

-

Lab

-

Accelerometers (Motorola)

4

MMA1220D

Lab*

-

MIDI keyboard

1

-

Borrowed

-

TOTAL COST: $31.90

*We would like to acknowledge the generosity of Freescale Semiconductor in providing the accelerometers.

Tasks

Siew Im

-made part of the Mega32 custom board

-made and wired the accelerometer circuit

-wired the pushbuttons

-wrote most of the user interface code

-wrote part of the MIDI message output code (program change, instrument change)

Zheshen

-made part of the Mega32 custom board

-wired the LCD circuit

-wired the MIDI out circuit for the DIN5 cables

-wrote most of the debounce code for the drum-pads

-wrote part of the MIDI message output code (transmit function and volume control)

 

References

Books:

1. De Furia, Steve, and Joe Scacciaferro. “The MIDI Resource Book”. New Jersey: Third Earth Publishing Inc, 1987.

2. Huber, David Miles. “The MIDI Manual”. Indiana: SAMS, 1991.

Web:

http://lib.roland.co.jp/manual/en/dl_04-00355/RS-70_e4.pdf

http://instruct1.cit.cornell.edu/courses/ee476/FinalProjects/s2003/gsh7/ECE476/index.htm

http://tomscarff.tripod.com/midi_info.htm

http://jedi.ks.uiuc.edu/~johns/links/music/gm.htm

http://www.ieee.org/portal/site/

Datasheets:

MMA1220D Motorola accelerometers

http://www.freescale.com/files/sensors/doc/data_sheet/MMA1220D.pdf

 

Home | Introduction | Design | Hardware | Software | Results & Conclusions | Appendix

Copyright @2005 Siew Im & Zheshen