Electronic Drum Set - PowerPoint PPT Presentation

About This Presentation
Title:

Electronic Drum Set

Description:

Electronic Drum Set Zachary Dziczkowski EGRE 631 Dr. Tucker What s the Difference Sound Processing Pintech RS-5 Piezoelectric Transducer Sound Processing ... – PowerPoint PPT presentation

Number of Views:227
Avg rating:3.0/5.0
Slides: 21
Provided by: dziczk
Category:
Tags: drum | electronic | set | timer

less

Transcript and Presenter's Notes

Title: Electronic Drum Set


1
Electronic Drum Set
  • Zachary Dziczkowski EGRE 631 Dr. Tucker

2
Whats the Difference
Acoustic Set
Electronic Set
3
Sound Processing
  • Pintech RS-5
  • Piezoelectric Transducer

4
Sound Processing
  • Pearl MFH Mesh Drumheads

5
Sound Processing
  • Drum Module

6
My Design
Sensor
Amplifier
Drum Module
RS-5
University DC
Computer
UART, A/D
Java
7
Drum Trigger
  • Piezoelectric Transducer
  • RS-5
  • ¼ Jack

Sensor
RS-5
8
University DC
  • Used ADC1 to read sensors
  • Problems with ADC0
  • Used UART1 to send data to computer
  • Problems with UART0

Drum Module
University DC
UART, A/D
9
Configuring ADC1
  • Used ADC1 to read sensors
  • ADC1 can be connected to Port 1
  • 8-channel
  • 8-bit
  • 500ksps

10
Configuring ADC1
  • Setting up ADC1
  • Set Port 1 to analog input.
  • Set P1MDIN to 0x00
  • Tell Timer 3 to use the system clock
  • Set TMR3CN to 0x00
  • Initialize Timer 3 with a value
  • Enable Timer 3
  • Set TMR3CN to 0x04
  • Set the reference voltage for ADC1
  • Tell the mux which input to read first
  • Set AMX1SL to 0x00

11
Configuring UART1
  • Used UART1 to send data to computer
  • UART1 can be connected to Port 0
  • Uses Timer 4
  • Mode 1, Asynchronous, 10-bit
  • 115,200 Baud

12
Configuring UART1
  • Setting up UART1
  • Set crossbar to output UART1 to P0
  • Set XBR2 to 0x44
  • Tell Port 0 to be digital ouputs
  • Set P0MDOUT to 0xF0
  • Tell UART1 to use Timer 4
  • Set T4CON to 0x30
  • Initialize Timer 4 to the appropriate value for
    the Baud rate.
  • Enable Timer 4
  • Tell Timer 4 to run off of the system clock
  • Or CLKCON with 0x40

13
Configuring UART1
  • Setting up UART1, continued
  • Tell UART1 to run in Mode 1
  • Set SCON to 0x50

14
Command Specs
  • A (0x41) Trigger 1
  • B (0x42) Trigger 2 (unimplemented)
  • C (0x43) Trigger 3 (unimplemented)
  • and so on
  • Eventually, Java program sends back an ACK,
    perhaps.

15
Computer
  • Responsibilities
  • Read data from Microprocessor
  • Load/Play appropriate WAV
  • Amplify output

Amplifier
Computer
Java
16
Java Program
  • Algorithm
  • Initialize serial communication
  • Initialize WAV player
  • Listen for data on serial line
  • Read command
  • Play corresponding WAV file

17
Final Prototype
University DC
Scope Probe ?
RS-232 Line Driver
RS-5 Transducer
18
Issues
  • UART0
  • Electromagnetics
  • Ugh
  • Redundant Data
  • Sensor Sensitivity is too high
  • Ways to mitigate this?
  • Deploy Design
  • Use the University DC, PIC
  • Serial Communication
  • Move to USB

19
Future Work
  • Add seven more sensors
  • Move to USB
  • Construct frame to support drums.
  • Increase usability of GUI

20
Questions?
  • REFERENCES
  • I. Silicon Laboratories. (2009, Mar.)
    C8051F020/1/2/3. PDF Datasheet. I.
  • Microchip Technology. (2007) PIC18F2455/2550/4555/
    4550 Datasheet. PDF Datasheet. (2009)
  • Pintech Electronic Percussion. Online.
    http//www.pintechworld.com/shop/scripts/prodView/
    asp?product100 (2009, Apr.)
  • RXTX serial and parallel I/O libraries
    supporting Sun's CommAPI. Online.
    http//rxtx.org (2009)
  • Java Sound API. Online. http//java.sun.com/prod
    ucts/java-media/sound/ (2009)
  • Java Communications API. Online.
    http//java.sun.com/products/javacomm/ (2003,
    Aug.)
  • jUSB for Windows 2000/XP Project. Online.
    http//www.steelbrothers.ch/jusb
  • I. Tektronix, TDS1000B and TDS2000B Series
    Digital Storage Oscilloscope User Manual.
    Beaverton, United States, 2009.
Write a Comment
User Comments (0)
About PowerShow.com