This 289 page PDF book contains designs for MIDI software and hardware, for MIDI Accordions, Concertinas and Melodeons using the Arduino microcontroller. The paperback version of the book is available at Amazon, ISBN 979-8376634998.
This PDF book provides all the required information for the MIDI Instrument Digital Interface (MIDI), the associated Arduino Microcontroller project source code and the inter-connecting hardware to build and enjoy making your own MIDI Accordions, Concertinas and Melodeon Encoder interfaces.
All the project software source code is supplied (by email) with every PDF book purchased.
An Introduction to MIDI Accordions Concertinas and Melodeons 2
1.1 Accordion Characteristics 2
1.2 Types of Accordions 3
1.2.1 Piano Accordions 3
1.2.2 Button Accordions 4
1.2.3 Concertina 4
1.2.4 Melodeon 4
1.3 History of the Accordion 5
1.4 History of the Concertina 7
1.5 History of the Melodeon 9
1.6 Piano Accordion Sizes 11
1.7 Left-hand Bass Systems 12
1.8 Accordion Reeds and Switches 14
1.9 MIDI Accordions 14
1.10 MIDI Concertina 15
1.11 MIDI Melodeon 16
An Introduction to MIDI 19
2.1 What is MIDI ? 19
2.2 MIDI Channel and MIDI System Messages 20
2.3 MIDI Note On Messages 22
2.4 MIDI Note Off Messages 24
2.5 MIDI Control Change Messages 26
2.6 Channel Mode Messages 30
2.7 MIDI Pitch Bend 32
2.8 MIDI Note Numbers for Different Octaves 34
2.9 MIDI Note Numbers 35
MIDI Hardware 37
3.1 MIDI Hardware 37
3.2 The MIDI IN Port 37
3.3 MIDI IN and MIDI THRU Ports 39
3.4 MIDI OUT Port wiring 41
An Introduction to the Arduino 43
4.1 What is the Arduino? 43
4.2 Arduino Board Types 43
4.3 Arduino Board Description 43
4.4 Arduino Installation 45
4.5 The Arduino UNO Rev 3 49
4.6 The Arduino MEGA 2560 51
4.7 Arduino MIDI IN/OUT Library Installation 53
4.8 Power Supply for the Arduino Uno and Mega 2560 53
Arduino Testing 54
5.1 Arduino Software and Hardware Testing 54
5.2 Arduino LED Test Blink program 54
5.3 Hall Effect Test Program 55
Arduino MIDI Programs 57
6.1 MIDI Software and Hardware Requirements 57
6.2 MIDI Monitoring 59
Hall Effect Switches 61
7.1 How do Hall effect sensors work? 61
7.2 Hall effect sensor types 64
7.3 Digital Hall effect sensors 64
7.4 Mounting Hall Effect Sensors and Magnets in an accordion 65
7.5 Using an A3144 Hall Effect Sensor 69
Air Pressure Sensors 71
8.1 Turning Bellow Pressure into MIDI Volume Data 71
8.2 The BMP180 Pressure Monitor using Model GY-68 Board 75
8.3 Source Code for a BMP180 Pressure Sensor to Serial Out 77
8.4 Explanation of the BMP180 Source code 81
8.5 Source Code for a BMP180 Pressure Sensor to Volume Serial Out 85
8.6 Source Code for a BMP180 Pressure Sensor to MIDI Volume Out 89
MIDI Melodeon D/G Encoder 93
9.1 Operation 95
9.2 Features 95
9.3 D/G Melodeon Key Switch MIDI Numbers 96
9.4 MIDI Melodeon D/G Key Layouts 98
9.5 Source code for MIDI Melodeon D/G Encoder 101
9.6 Explanation for the Source Code 122
9.7 Circuit schematic diagrams for MIDI Melodeon D/G Encoder 129
MIDI Melodeon B/C Encoder 133
10.1 Operation 135
10.2 Features 135
10.3 MIDI Channels 135
10.4 Switch Wiring 135
10.5 Source Code for a MIDI Melodeon B/C Encoder 136
10.6 Explanation of Source Code 162
10.7 B/C Melodeon Key Switch MIDI Numbers 165
10.8 MIDI Melodeon B/C Key Layout 167
10.9 Circuit schematic diagrams for MIDI Melodeon B/C Encoder 169
MIDI 30 Note Anglo Concertina 171
11.1 Operation 172
11.2 Features 172
11.3 Key Layout for 30 Note C/G Anglo Concertina 173
11.4 Source code for MIDI 30 Note C/G Anglo Concertina 175
11.5 Explanation of Source Code 198
11.6 Circuit Schematic diagram for 30 Note C/G Anglo Concertina 205
MIDI 48 Note English Concertina 208
12.1 Operation 209
12.2 Concertina Type 209
12.3 Features 209
12.4 Wiring 210
12.5 Source Code for a MIDI English 48 Note Concertina 210
12.6 Explanation of the Source Code 228
12.7 Circuit Schematic drawings for a 48 Note English Concertina 233
12.8 English 48 Note Concertina Key Layout 237
MIDI 41 Note Piano Accordion 240
13.1 Operation 241
13.2 MIDI Piano Accordion Switch Wiring 241
13.4 Features 243
13.5 Source Code for a 41 Note MIDI Accordion 243
13.6 Explanation of the Source Code 251
13.7 Circuit Schematic for a 41 Note MIDI Piano Accordion 258
MIDI 37 Note Piano Accordion 267
14.1 MIDI 37 Note Piano Accordion Wiring 267
MIDI 44 Note Piano Accordion 270
15.1 MIDI 44 Note Piano Accordion Wiring 270
MIDI 45 Note Piano Accordion 273
16.1 MIDI 45 Note Piano Accordion Wiring 273
About the Author 276