ky2mdpcb.jpg (25107 bytes)

Keyboard Layout

 

key2midi.gif (25306 bytes)

Keyboard Schematic

 

vibraphn.gif (13633 bytes)

Preamplifier Schematic


 

 

    

 

 

 

128 MIDI DRUMS

Yes, you can have up to 128 drum sounds if your MIDI soundcard supports that many. This design is based around the MIDI Keyboard Encoder and external Pre-amplifier for Electronic switches, both circuits are required. The electronic switches are type 4066. The switches are controlled by piezo transducers which produce an electronic voltage when hit. 

Each 4066 contains 4 electronic switches which can be used in place of the momentary action, push to make, single pole single throw (SPST), switches. The electronic  switches replace the mechanical switches, which are wired via IN4148 diodes. The LM324 contains 4 pre-amplifiers. Each one provides enough gain to produce the required output voltage to switch on the 4066 switches, when a piezo transducer is hit.

So for a total of 128 drums 32 of the LM324 and 4066 devices are required.

The MIDI drums can have from 1 up to 128 sensors to produce the equivalent MIDI note-on/note-off data commands. 

The MIDI 128 Drum Facilities are:

 

The MIDI 128 Drum Unit utilizes:

  • A pre-programmed 16F877 PIC,
  • The 4-way DIP switch which selects the MIDI transmit channel via DIP switches 1-4 (See Table 2) 
  • The on/off switch and associated power-on LED,
  • A 9 volt battery connector
  • A MIDI 5-pin DIN output socket
  • A screw terminal connector for an external 9-12 volts DC supply
  • Three 8-way screw terminal connectors for connecting the external switches, see layout diagram

The  MIDI 128 Drum Unit requires:

 

Explanation of pre-amplifier and electronic switches circuit:

Each 4066 contains 4 electronic switches which can be used in place of the momentary action, push to make, single pole single throw (SPST), switches. The electronic  switches replace the mechanical switches, which are wired via IN4148 diodes. 

Each LM324 contains 4 pre-amplifiers. Each one provides enough gain to produce the required output voltage to switch on the 4066 switches, when a piezo transducer is hit. The gain is set to 10. However the variable pre-set resistors (VR1-4) can be used, if required, to adjust the sensitivity so that adjacent transducers do not pick-up false triggers.

The diodes (D1-4) rectify the signal and the capacitors C1-4 act as a sample and hold and integrator circuit.

 

DIP Switch Selections

MIDI Channel
4 3 2 1
on on on on 1
on on on off 2
on  on  off on 3
on on off off 4
on off on on 5
on off on off 6
on off off on 7
on off off off 8
off on on on 9
off on on off 10
off on  off on 11
off on off off 12
off off on on 13
off off on off 14
off off off on 15
off off off off 16

Table 2 MIDI Channel

 


TOM SCARFF
1 Martello Court
Portmarnock
Dublin
Ireland.


Email: tscarff@eircom.net