AirDion Ble Midi Instrument

by holman007 in Circuits > Arduino

258 Views, 1 Favorites, 0 Comments

AirDion Ble Midi Instrument

b5d3a878-e928-4408-91fd-7fd169821d2f.jpg
de546aad-4c40-4430-b10d-1bcce228c6be.jpg

AirDion is a new musical instrument based on the esp32 board, using low-consumption bluetooth or ble technology and the midi protocol. The heart of the airdion is the vl53l0x distance sensor which, thanks to its continuous distance reading function, allows you to emulate the way that an accordion is played by moving the hand away from and towards the sensor.


This first prototype uses as an audio output device a synthesizer software which can be installed on a computer or a tablet or cell phone, but in future updates it is expected to use an audio output installed on the airdion itself using a class D amplifier and the i2s features of the esp32, as well as audio synthesis libraries that emulate different instruments.


For now I present to you the AirDion 1.0.

Supplies

lolin32.jpg
TARJET-VL53L0X.png
tachuelas.jpg

1 Wemos lolin32 lite

1 display ssd1306 0.96

1 VL53l0x

6 tacks

1 box project

1 battery from old cellphone

wires

Assemble

3b283c35-9367-4621-8fc8-e153c3dc39bf.jpg
31cf9a04-93e4-45cb-b84a-95ba83780440.jpg
10943e55-ef6c-4061-8e0c-0ec01e13eddd.jpg
e4031925-e385-45cc-a372-933db833715b.jpg
f0cc1e61-117f-48d7-829f-6949cd31dec6.jpg
f3ec9c29-8e1a-4086-ae11-5ffd36049b6a.jpg
d65cd088-8515-4874-b348-91f9eb143c09.jpg

Conect display and vl53l0x to GND, VCC, SDA and SCL to Esp32


Display and VL5310X ESP32 lolin lite

GND -> GND

VCC -> VCC

SDA -> 19

SCL -> 23


Solder the wires to the studs and then to the capacitive pins of the esp32 lolin lite


The pins are marked as 4,2,15,13,32,33 or T0,T2,T3,T4,T8,T9 in that respective order.

Code

This project uses several libraries, two of them are my own creation.

simple menu and touch button.


Simple menu

https://github.com/habuenav/simplemenu

touch button

https://github.com/habuenav/TouchButton


the other libraries are

distance sensor

https://github.com/deneyapkart/deneyap-derinlik-olcer-arduino-library


Midi

https://github.com/pschatzmann/arduino-midi

Downloads

Time to Play

acordeon digital

You will understand that I just finished the project and I haven't had time to practice but here I leave the fingering.


yellow button moving hand away note C

yellow button approaching hand note D

blue button moving hand away note E

blue button approaching hand note F

Red button moving the hand away note G

Red button approaching hand note A

Green button moving the hand away note B

Green button approaching hand note C

yellow and blue button moving the hand away note C#

yellow and blue button approaching the hand note D#

blue and red button moving the hand away note F#

blue and red button approaching the hand note G#

Red and green button moving hand away note A#


If the hand is left removed for more than 1 second or if the buttons are released, the order to stop the notes is sent.

that's all.


I hope you like it.