Close

Air Pressure Sensor

A project log for Digibone

A digital instrument with all the flare of a trombone, with the power and flexibility of an MIDI instrument

craig-hissettCraig Hissett 03/26/2018 at 16:080 Comments

I would like to use an air pressure sensor to trigger when notes are to be played; it keeps the hands free to use the pitching buttons and also is in keeping with the trombone.

The pressure sensor will most likely be used in an on/off sense and not to dictate the velocity of the notes.

Coding the Arduino will follow a pattern of:

If air pressure sensor returns a value indicative of air being put into it, then:

read slide position and range value, and send the corresponding note to the Pi.

I will be ordering some of these on pay day to give them a try. They look small enough to be inserted inside a mouthpiece so that's a brucey bonus:

https://www.ebay.co.uk/itm/3Pcs-DIP-Air-Pressure-Sensor-0-40kPa-DIP-6-For-Arduino/172841227056?epid=1391862032&hash=item283e23d330:g:t0AAAOSw7wxaoA8z

Discussions