-
Notifications
You must be signed in to change notification settings - Fork 54
Arduino Mega2560
- Power: USB B or Power jack 7-12V [1], Mini USB [2]
- MCU: ATmega16u2 + ATmega2560
- DIN MIDI: Yes [3]
- LED indicators: Yes
- Digital inputs: 32
- Digital outputs: 14
- Analog inputs: 16
- Schematic: Link
If this board is used with Mux Shield v2, the amount of supported IO changes to following (firmware for this specific variant must be used):
- Digital inputs: 32
- Digital outputs: 8
- Analog inputs: 48
Power can be applied to any connector.
Only on small Meduino variants.
This board doesn't have DIN MIDI connectors and required additional components so those have to be added to board in order to be used. The following schematic should be used:
Pinout is listed in DIN MIDI section.
Button # | Pin 1 | Pin 2 |
---|---|---|
0 | 52 | GND |
1 | 50 | GND |
2 | 48 | GND |
3 | 46 | GND |
4 | 44 | GND |
5 | 42 | GND |
6 | 40 | GND |
7 | 38 | GND |
8 | 36 | GND |
9 | 34 | GND |
10 | 32 | GND |
11 | 30 | GND |
12 | 28 | GND |
13 | 26 | GND |
14 | 24 | GND |
15 | 22 | GND |
16 | 53 | GND |
17 | 51 | GND |
18 | 49 | GND |
19 | 47 | GND |
20 | 45 | GND |
21 | 43 | GND |
22 | 41 | GND |
23 | 39 | GND |
24 | 37 | GND |
25 | 35 | GND |
26 | 33 | GND |
27 | 31 | GND |
28 | 29 | GND |
29 | 27 | GND |
30 | 25 | GND |
31 | 23 | GND |
Button # | Pin 1 | Pin 1 | Pin 2 |
---|---|---|---|
32 | A0 | GND with 10k resistor | 5V |
33 | A1 | GND with 10k resistor | 5V |
34 | A2 | GND with 10k resistor | 5V |
35 | A3 | GND with 10k resistor | 5V |
36 | A4 | GND with 10k resistor | 5V |
37 | A5 | GND with 10k resistor | 5V |
38 | A6 | GND with 10k resistor | 5V |
39 | A7 | GND with 10k resistor | 5V |
40 | A8 | GND with 10k resistor | 5V |
41 | A9 | GND with 10k resistor | 5V |
42 | A10 | GND with 10k resistor | 5V |
43 | A11 | GND with 10k resistor | 5V |
44 | A12 | GND with 10k resistor | 5V |
45 | A13 | GND with 10k resistor | 5V |
46 | A14 | GND with 10k resistor | 5V |
47 | A15 | GND with 10k resistor | 5V |
Encoder # | Pin 1 | Pin 2 | Pin 3 |
---|---|---|---|
0 | 52 | GND | 50 |
1 | 48 | GND | 46 |
2 | 44 | GND | 42 |
3 | 40 | GND | 38 |
4 | 36 | GND | 34 |
5 | 32 | GND | 30 |
6 | 28 | GND | 26 |
7 | 24 | GND | 22 |
8 | 53 | GND | 51 |
9 | 49 | GND | 47 |
10 | 45 | GND | 43 |
11 | 41 | GND | 39 |
12 | 37 | GND | 35 |
13 | 33 | GND | 31 |
14 | 29 | GND | 27 |
15 | 25 | GND | 23 |
Potentiometer # | Pin 1 | Pin 2 | Pin 3 |
---|---|---|---|
0 | 5V | A0 | GND |
1 | 5V | A1 | GND |
2 | 5V | A2 | GND |
3 | 5V | A3 | GND |
4 | 5V | A4 | GND |
5 | 5V | A5 | GND |
6 | 5V | A6 | GND |
7 | 5V | A7 | GND |
8 | 5V | A8 | GND |
9 | 5V | A9 | GND |
10 | 5V | A10 | GND |
11 | 5V | A11 | GND |
12 | 5V | A12 | GND |
13 | 5V | A13 | GND |
14 | 5V | A14 | GND |
15 | 5V | A15 | GND |
FSR # | Pin 1 | Pin 2 | Pin 2 |
---|---|---|---|
0 | 5V | A0 | GND with 1k resistor |
1 | 5V | A1 | GND with 1k resistor |
2 | 5V | A2 | GND with 1k resistor |
3 | 5V | A3 | GND with 1k resistor |
4 | 5V | A4 | GND with 1k resistor |
5 | 5V | A5 | GND with 1k resistor |
6 | 5V | A6 | GND with 1k resistor |
7 | 5V | A7 | GND with 1k resistor |
8 | 5V | A8 | GND with 1k resistor |
9 | 5V | A9 | GND with 1k resistor |
10 | 5V | A10 | GND with 1k resistor |
11 | 5V | A11 | GND with 1k resistor |
12 | 5V | A12 | GND with 1k resistor |
13 | 5V | A13 | GND with 1k resistor |
14 | 5V | A14 | GND with 1k resistor |
15 | 5V | A15 | GND with 1k resistor |
Note: current-limiting resistors are required in order to avoid damage to the board.
LED # | Anode | Cathode |
---|---|---|
0 | 15 | GND |
1 | 14 | GND |
2 | 2 | GND |
3 | 3 | GND |
4 | 4 | GND |
5 | 5 | GND |
6 | 6 | GND |
7 | 7 | GND |
8 | 8 | GND |
9 | 9 | GND |
10 | 10 | GND |
11 | 11 | GND |
12 | 12 | GND |
13 | 13 | GND |
Note: current-limiting resistors are required in order to avoid damage to the board.
RGB LED # | Anode (Red) | Anode (Green) | Anode (Blue) | Cathode |
---|---|---|---|---|
0 | 17 | 16 | 15 | GND |
1 | 14 | 2 | 3 | GND |
2 | 4 | 5 | 6 | GND |
3 | 7 | 8 | 9 | GND |
4 | 10 | 11 | 12 | GND |
Signal | Display | Pin |
---|---|---|
Vcc | Vcc | +5V |
GND | GND | GND |
SDA | SDA | 20 |
SCL | SCL | 21 |
This board doesn't have DIN MIDI connectors so they have to be added to the board with corresponding circuitry. Schematic is available here.
MIDI In | MIDI out |
---|---|
Pin 19 | Pin 18 |
Touchscreen isn't supported on this board.
Hardware
- Supported microcontrollers
- Supported components
- Pinouts for supported boards
- Recommended components and where to get them
- LED indicators
Configuration and usage
Advanced