Build your own MIDI projects
Frequently Asked Questions.
MIDI & Music
MIDI and Music Information

MIDI Trumpet


This is a MIDI wind controller. The Trumpet interface design uses a pressure sensor, suitable amplifier and 5 switches to produce an  output which is translated into velocity sensitive MIDI Note ON data. The mapping of the 5 switches (representing the trumpet valves) is available. The breath pressure sensor should have the full voltage range (0-5V) to use for volume. Other switch mapping settings are available on request. The MIDI Channel can be selected with a 4-way DIP switch. 







PRICE:  €45.00


pressure_sensor.jpg (23113 bytes) MIDI Trumpet & Pressure


ITEM#: MIDItrumpetPressure

PRICE:  €63.00









The MIDI Trumpet interface utilizes:

  • A Arduino  including a suitable pre-programmed Atmega microcontroller,
  • A 2.1mm power socket, and associated LED, 
  • A 4-way DIP switch, which selects the MIDI channel, shown in table 1
  • A MIDI 5-pin DIN output socket,
  • A MIDI activity associated LED,
  • 5 off 0.1" pin-terminal switch inputs,
  • The circuit schematic is available,





The MIDI Trumpet interface requires:

  • A 9 Volt battery or equivalent 9 Volt DC power source,
  • 5 momentary action (SPST) switches,
  • A Breath pressure sensor type MPXV5010G from Freescale Semiconductor (or similar type)




Circuit Schematic:

A circuit schematic of the MIDI Trumpet interface shows the Input Switch connections. You can obtain a Freescale Semiconductor Breath Pressure sensor type MPXV5010G  (or similar type) from Digikey and other sources. 


Details of the MPXV5010G  pin connections are available. From the breath sensor, Pin 2 is connected to +5 Volt, Pin 3 is connected to Ground (GND) and Pin 4 is connected to the Analog pin A0, on the Arduino.


A plastic tube can be connected to the pressure sensor. It is probably a good idea to put a small pin-hole in the plastic tube near the pressure sensor to drain away moisture from your breath when you are blowing. The hole should be large enough to drain the moisture but not too large to affect the pressure sensor function.



Complete details of the MPXV5010G Freescale Semiconductor Breath Pressure sensor are also available.


This is similar to the breath pressure sensor used in the Akai Electronic Wind Instrument (EWI). 







     *Click to Enlarge*

The MIDI IN and OUT connectors use  5-Pin 180 degree DIN sockets. Note that the MIDI IN/OUT wiring is polarised and the correct pins should be used.







*Click to Enlarge*



MIDI Channel Selection:


MIDI Channel Selection is controlled by the 4-way DIP switch as shown in the Table below.



DIP Switch Selections



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 1 MIDI Channel





Power Supply:

The  Arduino/Freeduino etc. Diecimila can be powered via the USB connection or with an external power supply. The power source is selected automatically.


External (non-USB) power can come either from an AC-to-DC adapter (wall-wart) or battery. The adapter can be connected by plugging a 2.1mm center-positive plug into the board's power jack. Leads from a battery can be inserted in the Gnd and Vin pin headers of the POWER connector. A low dropout regulator provides improved energy efficiency.


The board can operate on an external supply of 7 to 20 volts. If supplied with less than 7V, however, the 5V pin may supply less than five volts and the board may be unstable. If using more than 12V, the voltage regulator may overheat and damage the board. The recommended range is 7 to 12 volts.