You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,16 @@
2
2
3
3
This sketch implements a [MIDI beat clock](https://en.wikipedia.org/wiki/MIDI_beat_clock) driver which can be controlled by tapping a button or pedal (such as a digital keyboard sustain pedal) connected to the Arduino. Holding the button/pedal down for 1 second stops the beat messages until a new tempo is tapped in.
4
4
5
-
The default pin setting I used for building a compact unit out of an Arduino Nano is as follows:
5
+
The default pinout I used for building a compact unit out of an [Arduino Nano](http://www.pighixxx.com/test/wp-content/uploads/2014/11/nano.png) is as follows:
6
6
7
7
* External power supply (5-20V) to pins `VIN` and `GND`
8
8
* Button or pedal to pins `GND` and `14` aka `A0` (used in `INPUT_PULLUP` mode)
9
-
* MIDI DIN connector pin 2 to Arduino `GND`
9
+
*[MIDI DIN connector](https://en.wikipedia.org/wiki/MIDI#Connectors) pin 2 to Arduino `GND`
10
10
* MIDI DIN connector pin 4 to Arduino pin `5V`*through a 220 Ohm resistor*
11
11
* MIDI DIN connector pin 5 to Arduino pin `10`*through a 220 Ohm resistor*
12
-
* Status LED to Arduino pin `6` (through a suitable resistor)
12
+
* Status LED to Arduino pin `6` (through a suitable resistor) and `GND`
13
+
14
+
Since the MIDI messages are not sent via the hardware serial interface, it is also possible to run the Arduino off USB power and use the normal Serial monitor for debugging.
13
15
14
16
<imgsrc="https://raw.githubusercontent.com/kevinstadler/arduino-tap-midi-clock/master/arduino-tap-midi-clock.jpg"alt="Arduino Tap Midi Clock hardware"title="Arduino Tap Midi Clock hardware"align="center"width="100%" />
0 commit comments