Subversion Repositories svn.mios

Rev

Rev 1181 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1172 tk 1
HEADER 3 MBHP_CORE_STM32F4 Module
2
 
3
<H1>MIDIbox Hardware Platform, MIDI_IO Module</H1>
4
 
1181 tk 5
<P><CENTER><IMG SRC="mbhp/mbhp_midi_io.jpg" width=550 height=241></CENTER></P>
1172 tk 6
 
1181 tk 7
<P CLASS=DESC>MBHP_MIDI_IO is a MIDI breakout board for the <A HREF="mbhp_core_stm32f4.html">MBHP_CORE_STM32F4</A> module.</P>
1172 tk 8
 
9
<P CLASS=DESC>It consists of two MIDI IN/OUT pairs and MIDI Activity LEDs which are connected to monoflops.</P>
10
 
11
<P CLASS=DESC>The input socket J1 has to be connected to J11E of the <A HREF="mbhp_core_stm32f4.html">MBHP_CORE_STM32F4</A> module. J1 of a second MBHP_MIDI_IO can be connected to J2 in order to get 4 MIDI INs/OUTs in total. More modules can't be chained (4 IN/OUT ports maximum).</P>
12
 
13
<P CLASS=DESC>This approach has the advantage, that the builder can decide by himself, if - and how many - MIDI IOs he wants to add to his MIDIbox.</P>
14
 
15
<P CLASS=DESC>Note that the MIDI activity indicators are only an optional feature. The circuit will also work without the circuit around the 74HC00 ICs (see schematic).</P>
16
 
17
<DL>
18
   <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Download </H2></DT>
19
   <DD>
20
   <DD><TABLE WIDTH="100%" BORDER=0 CELLSPACING=5 CELLPADDING=0>
21
    <TR>
22
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Module</STRONG></FONT></td>
23
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Schematic</STRONG></FONT></td>
24
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Layout Data</STRONG></FONT></td>
25
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Quick-view</STRONG></FONT></TD>
26
    </TR>
27
    <TR>
28
      <TD CLASS=TABCOLOR2><I>MBHP_MIDI_IO_V1</I></TD>
29
      <TD CLASS=TABCOLOR2><A HREF="mbhp/mbhp_midi_io.pdf">mbhp_midi_io.pdf</A></TD>
30
      <TD CLASS=TABCOLOR2 COLSPAN=1>to be published</TD>
1181 tk 31
      <TD CLASS=TABCOLOR2 COLSPAN=1><A HREF="mbhp/mbhp_midi_io_0.jpg">mbhp_midi_io_0.jpg</A></TD>
1172 tk 32
    </TR>
33
  </TABLE></DD>
34
 
35
  <DD><TABLE WIDTH="100%" BORDER=0 CELLSPACING=5 CELLPADDING=0>
36
    <TR>
37
      <TD COLSPAN=4 CLASS=TABCOLOR1><FONT SIZE=3>Additional informations</FONT></TD>
38
    </TR>
39
    <TR>
40
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>File</STRONG></FONT></td>
41
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Size</STRONG></FONT></td>
42
      <TD NOWRAP CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Description</STRONG></FONT></TD>
43
    </TR>
44
    <TR>
45
      <TD CLASS=TABCOLOR2><A HREF="mbhp/mbhp_midi_io_orderlist.txt">mbhp_midi_io_orderlist.txt</A></TD>
46
      <TD CLASS=TABCOLOR2>1k</TD>
47
      <TD CLASS=TABCOLOR2><A HREF="http://www.reichelt.de/" TARGET="_blank">Reichelt</A> orderlist</TD>
48
    </TR>
49
  </TABLE></DD>
50
  </DD>
51
</DL>
52
 
53
<DL>
54
   <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Available Ports </H2></DT>
55
   <DD>
56
<P CLASS=DESC>Following interfaces are provided by the MBHP_MIDI_IO module:
57
  <DD><TABLE CLASS=BOX WIDTH="100%" BORDER=1 CELLSPACING=5 CELLPADDING=0>
58
 
59
    <TR>
60
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Name</STRONG></FONT></td>
61
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>No. of pins</STRONG></FONT></td>
62
      <TD NOWRAP CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Description</STRONG></FONT></TD>
63
    </TR>
64
 
65
    <TR>
66
      <TD CLASS=TABCOLOR2>J1</TD>
67
      <TD CLASS=TABCOLOR2>10</TD>
68
      <TD CLASS=TABCOLOR2>Connection to J11E of the <A HREF="mbhp_core_stm32f4.html">MBHP_CORE_STM32F4</A> module, resp. to J2 of a second MBHP_MIDI_IO module (to get 4 MIDI IN/OUT ports)</TD>
69
    </TR>
70
 
71
    <TR>
72
      <TD CLASS=TABCOLOR2>J2</TD>
73
      <TD CLASS=TABCOLOR2>10</TD>
74
      <TD CLASS=TABCOLOR2>Connection to J2 of the first MBHP_MIDI_IO module in the chain to get 4 MIDI IN/OUT ports in total.</TD>
75
    </TR>
76
 
77
    <TR>
78
      <TD CLASS=TABCOLOR2>J3-J6</TD>
79
      <TD CLASS=TABCOLOR2>2</TD>
80
      <TD CLASS=TABCOLOR2>Optional MIDI Activity LEDs</TD>
81
    </TR>
82
 
83
  </TABLE></DD>
84
  </DD>
85
</DL>
86
 
87
<DL>
88
  <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Soldering Guide</H2></DT>
89
  <DD>
90
  <DD><TABLE CELLSPACING=2 CELLPADDING=2>
91
    <TR>
1181 tk 92
      <TD><IMG SRC="mbhp/mbhp_midi_io_1.jpg" WIDTH=280 HEIGHT=124 BORDER=0 ALT=""></TD>
1172 tk 93
      <TD CLASS=TABCOLOR2>It's always a good idea to start with the smallest components to simplify mounting.<BR>
1181 tk 94
So, start with the resistors and diodes:
1172 tk 95
<UL CLASS=CL>
96
<LI>R1, R3, R5, R6, R8, R10, R11, R13, R15, R17 = 220 Ohm
97
<LI>R4, R9 = 1k
98
<LI>R2, R7 = 4.7k
99
<LI>R12, R14, R16, R18, R19, R20 = 100k
1181 tk 100
<LI>D1, D2 = 1N4148
1172 tk 101
<UL>
102
      </TD>
103
    </TR>
104
 
105
    <TR>
1181 tk 106
      <TD><IMG SRC="mbhp/mbhp_midi_io_2.jpg" WIDTH=280 HEIGHT=124 BORDER=0 ALT=""></TD>
1172 tk 107
      <TD CLASS=TABCOLOR2>Continue with caps and LEDs:
108
<UL CLASS=CL>
109
<LI>C1, C2 = 100 nF
110
<LI>C3, C4, C5, C6 = 10 uF (El.Caps - polarity! Plus leg show to border)
111
<LI>the 4 LEDs at J3..J6 don't need sockets.<BR>
112
Take care for the polarity! Anode (the long leg) shows to the right side!
113
</UL>
114
      </TD>
115
    </TR>
116
 
117
    <TR>
1181 tk 118
      <TD><IMG SRC="mbhp/mbhp_midi_io_3.jpg" WIDTH=280 HEIGHT=123 BORDER=0 ALT=""></TD>
1172 tk 119
      <TD CLASS=TABCOLOR2>Mount the IC sockets
120
      </TD>
121
    </TR>
122
 
123
    <TR>
1181 tk 124
      <TD><IMG SRC="mbhp/mbhp_midi_io_4.jpg" WIDTH=280 HEIGHT=131 BORDER=0 ALT=""></TD>
1172 tk 125
      <TD CLASS=TABCOLOR2>And then the DIL Headers and MIDI Sockets
126
      </TD>
127
    </TR>
128
 
129
    <TR>
1181 tk 130
      <TD><IMG SRC="mbhp/mbhp_midi_io_5.jpg" WIDTH=280 HEIGHT=132 BORDER=0 ALT=""></TD>
1172 tk 131
      <TD CLASS=TABCOLOR2>And finally put the ICs into the sockets:
132
<UL CLASS=CL>
133
<LI>IC1, IC2 = 6N138
134
<LI>IC3, IC4 = 74HC00
135
</UL>
136
      </TD>
137
    </TR>
138
 
139
  </TABLE></DD>
140
  </DD>
141
 
142
</DL>
143
 
1181 tk 144
<P><CENTER><IMG SRC="mbhp/mbhp_midi_io_chain.jpg" width=550 height=174></CENTER></P>
1172 tk 145
<P CLASS=DESC>
146
Two MBHP_MIDI_IO modules connected to J11E of the <A HREF="mbhp_core_stm32f4.html">MBHP_CORE_STM32F4</A> module in a chain.
147
</P>
148
 
149
<DL>
1181 tk 150
  <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Board Modification for 3.3V based MIDI outputs </H2></DT>
151
  <DD><P CLASS=DESC>If you are planning to use this module for a microcontroller which outputs MIDI OUT at 3.3V level (such as the <A HREF="mbhp_core_lpc17.html">MBHP_CORE_LPC17</A> module), please change the R3, R5, R8 and R10 resistor values to 47 Ohm, and connect J1:Vd to 3.3V instead of 5V!<BR>
152
This measure is not required for microcontrollers which output 5V, or where MIDI output (Tx) pins can be configured in open drain mode.</P>
153
  </DD>
154
</DL>
155
 
156
<DL>
1172 tk 157
  <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Credits </H2></DT>
1231 tk 158
  <DD><P CLASS=DESC>Thanks to Tim aka. SmashTV for the great idea to chain two MBHP_MIDI_IO modules by using a special J1/J2 pin encoding. He also created the PCB layout. PCBs are available in <A HREF="https://modularaddict.com/manufacturer/midibox" TARGET="_blank">Modular Addict's MIDIbox Shop</A>.<P>
1172 tk 159
  </DD>
160
</DL>
161
 
162
FOOTER