Subversion Repositories svn.mios

Rev

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

Rev Author Line No. Line
796 tk 1
HEADER 3 MIDIbox SEQ V4 User Manual --- Hardware Options
2
 
3
<P CLASS=INFO><B><A HREF="midibox_seq_manual.html">Back to main page...</A></B></P>
4
 
5
<H1>MIDIbox SEQ V4</H1>
6
<H1>User Manual --- Hardware Options</H1>
7
 
1089 tk 8
<H2> <IMG SRC="images/bullet.gif" ALT=""> Hardware Variants </H2>
9
 
1231 tk 10
<P CLASS=INFO>We mainly differ between a <A HREF="midibox_seq.html">MIDIbox SEQ V4</A> which is based on <A HREF="http://www.midibox.org/dokuwiki/doku.php?id=wilba_mb_seq" TARGET="_blank">Wilba's frontpanel</A>, <A HREF="http://www.midibox.org/dokuwiki/doku.php?id=seq_v4_plus" TARGET="_blank">midiphy frontpanel</A>, and the "traditional" variant which is based on the <A HREF="midibox_seq_v3.html">MIDIbox SEQ V3</A> hardware with a replaced core module. Both are running with the same firmware, so that you won't miss any software feature!</P>
1089 tk 11
 
1231 tk 12
<P CLASS=INFO>Wilba's frontpanel greatly reduces the complexity of the hardware, and the midiphy frontpanel provides many new buttons. Therefore they are the prefered choice. The traditional variant is still interesting if you want to create a fully customized version of the sequencer, with a different layout and dedicated buttons/LEDs.</P>
1089 tk 13
 
1231 tk 14
<P CLASS=INFO>Complete kits for the midiphy variant can be purchased from <A HREF="http://midiphy.com" TARGET="_blank">midiphy.com</A>.<BR>
15
Nothing more to say here ;-) Please stop reading this page and follow their comprehensive documentation!</P>
1089 tk 16
 
1231 tk 17
<P CLASS=INFO>Premade PCBs for <A HREF="http://www.midibox.org/dokuwiki/doku.php?id=wilba_mb_seq" TARGET="_blank">Wilba's frontpanel</A> can be purchased at <A HREF="https://modularaddict.com/manufacturer/midibox" TARGET="_blank">Modular Addict's MIDIbox Shop</A>. Kits are not available for this frontpanel anymore, the remaining parts have to be sourced from an electronic shop like <A HREF="http://www.reichelt.de" TARGET="_blank">Reichelt</A> or <A HREF="http://www.mouser.com" TARGET="_blank">Mouser</A>! Alternative electronic shops can be found in the <A HREF="http://www.midibox.org/dokuwiki/doku.php?id=where_to_order_components">Wiki</A></P>
18
 
1089 tk 19
<P CLASS=INFO>Here a list of components which are required to build a MIDIbox SEQ V4 based on Wilba's frontpanel:
20
<TABLE WIDTH=575 BORDER=0 CELLSPACING=5 CELLPADDING=0>
21
  <TR>
22
    <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Part</STRONG></FONT></td>
23
    <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Description</STRONG></FONT></TD>
24
    <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Price</STRONG></FONT></TD>
25
  </TR>
26
  <TR>
1183 tk 27
    <TD CLASS=TABCOLOR2><A HREF="mbhp_core_stm32f4.html">MBHP_CORE_STM32F4</A><BR><A HREF="mbhp_midi_io.html">MBHP_MIDI_IO</A></TD>
28
    <TD CLASS=TABCOLOR2>the brain of MIDIbox SEQ V4 + MIDI IO breakout board.<BR>
29
Please note that older core modules such as <A HREF="mbhp_core_stm32.html">MBHP_CORE_STM32</A> and <A HREF="mbhp_core_lpc17.html">MBHP_CORE_LPC17</A> are supported as well, but the future "MIDIbox SEQ V4 Plus" firmware will require the higher amount of embedded RAM and Flash memory of the MBHP_CORE_STM32F4 module.</TD>
1231 tk 30
    <TD CLASS=TABCOLOR2>PCBs in <A HREF="https://modularaddict.com/manufacturer/midibox" TARGET="_blank">Modular Addict's MIDIbox Shop</A>: ca. 9 EUR</TD>
1089 tk 31
  </TR>
32
  <TR>
1183 tk 33
    <TD CLASS=TABCOLOR2><A HREF="mbhp_core_stm32f4.html">MBHP_CORE_STM32F4</A> parts</TD>
1231 tk 34
    <TD CLASS=TABCOLOR2>Part list: <A HREF="mbhp/mbhp_core_stm32f4_orderlist.txt">mbhp_core_stm32f4_orderlist.txt</A><BR>
1183 tk 35
Since the STM32F4DISCOVERY board and the SD Card adapter are not available at Reichelt, but (for example) at Mouser, it actually make sense to provide an alternative list for Mouser. If somebody created such a list, please let me know and I will add a link here.</TD>
36
    <TD CLASS=TABCOLOR2>ca. 25 EUR</TD>
1089 tk 37
  </TR>
38
  <TR>
1183 tk 39
    <TD CLASS=TABCOLOR2><A HREF="mbhp_midi_io.html">MBHP_MIDI_IO</A> parts</TD>
40
    <TD CLASS=TABCOLOR2>Currently no kit is available for this newer module (but it could become available in future, please check at SmashTV's side).<BR>
41
Here the part list: <A HREF="mbhp/mbhp_midi_io_orderlist.txt">mbhp_midi_io_orderlist.txt</A></TD>
42
    <TD CLASS=TABCOLOR2>ca. 6 EUR</TD>
43
  </TR>
44
  <TR>
1089 tk 45
    <TD CLASS=TABCOLOR2><A HREF="mbhp_sdcard.html">SD Card</A></TD>
1186 tk 46
    <TD CLASS=TABCOLOR2>A SD Card (no adapter required since it's part of the MBHP_CORE_STM32F4 module); size should be around 1GB (but 2GB and 4GB cards will work as well).<BR>Note that a SD Card is a *must* when you are using Wilba's frontpanel, because the dedicated button/LED assignments will be loaded from a special <A HREF="http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fsequencers%2Fmidibox_seq_v4%2Fhwcfg%2Fwilba%2FMBSEQ_HW.V4" TARGET="_blank">MBSEQ_HW.V4</A> file which has to be stored in the root directory of the card. Without this file the frontpanel won't work!</TD>
1089 tk 47
    <TD CLASS=TABCOLOR2>ca. 3 EUR</TD>
48
  </TR>
49
  <TR>
50
    <TD CLASS=TABCOLOR2><A HREF="http://www.midibox.org/dokuwiki/doku.php?id=wilba_mb_seq" TARGET="_blank">Frontpanel PCB</A></TD>
51
    <TD CLASS=TABCOLOR2>PCB only without parts</TD>
1231 tk 52
    <TD CLASS=TABCOLOR2>available in <A HREF="https://modularaddict.com/manufacturer/midibox" TARGET="_blank">Modular Addict's MIDIbox Shop</A>: ca. 30 EUR</TD>
1089 tk 53
  </TR>
54
  <TR>
55
    <TD CLASS=TABCOLOR2><A HREF="http://www.midibox.org/dokuwiki/doku.php?id=wilba_mb_seq" TARGET="_blank">Frontpanel Parts</A></TD>
56
    <TD CLASS=TABCOLOR2>As listed at <A HREF="http://www.midibox.org/dokuwiki/doku.php?id=wilba_mb_seq_pcb_bulk_order" TARGET="_blank">this Wiki page</A></TD>
57
    <TD CLASS=TABCOLOR2>ca. 100 EUR</TD>
58
  </TR>
59
  <TR>
60
    <TD CLASS=TABCOLOR2>Aluminium Panel</TD>
61
    <TD CLASS=TABCOLOR2>Can be ordered from <A HREF="http://www.schaeffer-apparatebau.de" TARGET="_blank">Schaeffer Apparatebau</A>, the .fpd file is available at <A HREF="http://www.midibox.org/dokuwiki/doku.php?id=wilba_mb_seq" TARGET="_blank">Wilba's page</A></TD>
62
    <TD CLASS=TABCOLOR2>ca. 120 EUR</TD>
63
  </TR>
64
  <TR>
65
    <TD CLASS=TABCOLOR2>LCDs</TD>
66
    <TD CLASS=TABCOLOR2>two 2x40 Displaytech "LCD 402A LED"<BR><I>Hot tip: such displays are mostly available at <A HREF="http://www.ebay.com" TARGET="_blank">EBay</A> for less than 10 EUR!</I></TD>
67
    <TD CLASS=TABCOLOR2>ca. 50 EUR</TD>
68
  </TR>
69
  <TR>
70
    <TD CLASS=TABCOLOR2>Case</TD>
71
    <TD CLASS=TABCOLOR2>currently no standard case - take a wooden box! ;-) Or search/ask in the <A HREF="http://forum.midibox.org" TARGET="_blank">MIDIbox forum</A> for options.</TD>
72
    <TD CLASS=TABCOLOR2>ca. 10..100 EUR</TD>
73
  </TR>
74
</TABLE>
75
 
76
 
1231 tk 77
<P CLASS=INFO>Here a list of components which are required to build a MIDIbox SEQ V4 based on Antilog's frontpanel:
78
<TABLE WIDTH=575 BORDER=0 CELLSPACING=5 CELLPADDING=0>
79
  <TR>
80
    <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Part</STRONG></FONT></td>
81
    <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Description</STRONG></FONT></TD>
82
    <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Price</STRONG></FONT></TD>
83
  </TR>
84
  <TR>
85
    <TD CLASS=TABCOLOR2 COLSPAN=3><I>TODO - will be available in Spring 2018</I></TD>
86
  </TR>
87
</TABLE>
88
 
89
 
90
 
812 tk 91
<H2> <IMG SRC="images/bullet.gif" ALT=""> USB MIDI </H2>
92
 
1183 tk 93
<P CLASS=DESC>Thanks to the integrated USB peripheral of the MIOS32 cores, USB MIDI is natively supported by the firmware. This simplifies the upload of new firmwares, and speeds up MIDI transfers to your DAW and/or virtual synthesizers up to 100 times and more - see also <A HREF="http://midibox.org/forums/topic/12644-mbseq-v4-midi-out-performance/" TARGET="_blank">this forum article</A>.</P>
94
    <P CLASS=DESC>The sequencer will also run without USB of course. Up to four MIDI IN and MIDI OUT ports are provided by the <A HREF="mbhp_core_stm32f4.html">MBHP_CORE_STM32F4</A> module in conjunction with two <A HREF="mbhp_midi_io.html">MBHP_MIDI_IO</A> modules for connecting MIDI devices such as synthesizers, drum machines, Fx gear, keyboards, etc.</P>
811 tk 95
 
96
 
1183 tk 97
<H2> <IMG SRC="images/bullet.gif" ALT=""> MBHP_IIC_MIDI modules </H2>
98
 
99
<P CLASS=DESC>Up to 4 <A HREF="mbhp_iic_midi.html">MBHP_IIC_MIDI</A> modules can be added if desired (note: with a simple hack in the IIC firmware even 8 modules could be accessed from the sequencer - infos available on request).</P>
100
 
101
<P CLASS=DESC>Main advantage of multiple MIDI ports is reduced latency (as MIDI events can be sent in parallel), and relaxed MIDI channel handling (for 4 synths you don't need to take care about the MIDI channel at all)</P>
102
  <P CLASS=DESC>The MIDI IN port is <B>not</B> supported, accordingly the <A HREF="mbhp/mbhp_iic_midi_out_only.pdf">"OUT only"</A> version is sufficient.</P>
103
  <P CLASS=DESC>Following diagram shows the <a href="midibox_seq/mbseq_v4_interconnections_lpc17.pdf">module interconnections</A>.</P>
104
  <P CLASS=DESC>The modules will be detected by the MIDIbox SEQ application automatically during startup. "Hot plug&play" while the application is running is not supported.</P>
105
 
106
 
812 tk 107
<H2> <IMG SRC="images/bullet.gif" ALT=""> Power Supply </H2>
811 tk 108
 
812 tk 109
<P CLASS=DESC>The power consumption of a common MIDIbox SEQ V4 configuration is about 400..1000 mA depending on the used LCDs and LEDs. Especially blue backlights and LEDs can increase the consumption dramatically!</P>
811 tk 110
 
1141 tk 111
<P CLASS=DESC>Today it's common practice to supply the MIDIbox SEQ from a "selfpowered" USB Hub like <A HREF="http://www.reichelt.de/USB-Hubs/MAXXTRO-MX-UAP/index.html?;ACTION=3;LA=444;GROUP=EU3;GROUPID=4831;ARTICLE=99781;START=0;SORT=artnr;OFFSET=16;SID=11TVLbZ38AAAIAAG9MIgIec1e46ae3eb4fc2fe4e011f269170227" TARGET="_blank">this one from Reichelt</A>. Advantage: it has a power-switch!<BR>
811 tk 112
 
1141 tk 113
<P CLASS=DESC>Alternatively the core module can be directly supplied from an external PSU (e.g. a wall adapter) connected to J1. Jumper J17 (USB Power Option) has to be disconnected in this case!</P>
811 tk 114
 
812 tk 115
<H2> <IMG SRC="images/bullet.gif" ALT=""> SD Card </H2>
811 tk 116
 
1141 tk 117
<P CLASS=DESC>A <A HREF="mbhp_sdcard.html">SD Card</A> is required as data storage for patterns, songs, grooves, options, the hardware configuration, MIDI files, SysEx dumps and various other files.</P>
811 tk 118
 
1130 tk 119
<P CLASS=DESC>The MIDIbox SEQ V4 firmware provides access to the MIOS Filebrowser, which is part of <A HREF="mios_studio.html">MIOS Studio</A>. With this tool, it's possible to download, upload and edit files. The communication is handled via the USB MIDI protocol, so that active MIDI connections stay active.</P>
811 tk 120
 
812 tk 121
<P CLASS=DESC>Thanks to this useful feature, it's possible to build the SD Card into the case (no need for an external socket).</P>
811 tk 122
 
812 tk 123
<P CLASS=DESC>If you've the choice, buy a SD Card with speed factor 100x or more - it directly affects the access time to files. A speed factor of less than x60 is not sufficient for the realtime requirements (e.g. while changing patterns), the sequencer could sporadically block for a couple of mS which can result into temporal hang-ups.</P>
811 tk 124
 
1141 tk 125
<P CLASS=DESC>SD Card size: typically only ca. 5 MB are allocated by MBSEQ_* files. The remaining disk space can be used for storing backups, SysEx dumps and MIDI files, but probably never more than 50..200 MB will be used. Accordingly, a 256MB or 512MB card is already sufficient. Using a 1, 2 or 4 GB card is great but not really required. Sizes > 4 GB are *not* supported by the file system (FAT32), and therefore not recommended.</P>
811 tk 126
 
127
 
812 tk 128
<H2> <IMG SRC="images/bullet.gif" ALT=""> Pots or Encoders? </H2>
811 tk 129
 
1141 tk 130
<P CLASS=DESC>MIDIbox SEQ V4 provides an user interface with 16 rotary encoders (endless knobs) + 1 data wheel (the 17th rotary encoder).</P>
811 tk 131
 
812 tk 132
<P CLASS=DESC>Analog pots are not supported. The reason: pot control might sound like "vintage", "old style" and "analog sequencer", and possibly could imply that pots are the best solution for perfect sequences, but this is just a popular fallacy and nothing else! In fact pots are only useful for sequencers which are controlling the analog gear directly, but for a MIDI sequencer you defenitely want to have features like "total recall" and "jumpless switching" between tracks, layers and patterns.</P>
811 tk 133
 
812 tk 134
<P CLASS=DESC>In addition, the menu pages of MIDIbox SEQ V4 rely on rotary encoders more than before. MIDIbox SEQ has a flat menu hierarchy, and this requires that all values can be changed directly - with the 16 rotary encoders.</P>
135
 
136
 
137
<H2> <IMG SRC="images/bullet.gif" ALT=""> Inc/Dec Buttons or Datawheel? </H2>
138
 
919 tk 139
<P CLASS=DESC>For the menu navigation and data entry either Inc/Dec (Up/Down) buttons and/or a datawheel can be used. The datawheel (rotary encoder with big knob) should be the preferred solution since it simplifies the selection of parameters with a wide value range (like BPM).</P>
812 tk 140
 
927 tk 141
<P CLASS=DESC>If you are planning a new frontpanel, it even could make sense to consider both - datawheel <B>and</B> Inc/Dec buttons, because buttons are sometimes better for finetuning parameters. The Fwd/Rew buttons can be used for the same purpose by default, but only as long as the Song mode is not active.
812 tk 142
 
143
 
144
<H2> <IMG SRC="images/bullet.gif" ALT=""> Detented or Non-Detented Encoders? </H2>
145
 
919 tk 146
<P CLASS=DESC>In difference to suggestions for MIOS based MIDI controllers, for MIDIbox SEQ I strongly recomment <B>detented rotary encoders</B>! Of course, MIOS provides three types, and all are working. But for a sequencer, where you want to select the notes exactly and not "smoothly", detented encoders are really the preferred ones.</P>
1200 tk 147
<P CLASS=DESC>Note that there are three different types of detented rotary encoders (see also <A HREF="http://www.midibox.org/dokuwiki/doku.php?id=encoders">this Wiki page</A>). The MBSEQ_HW.V4 file (stored on SD Card) has been preconfigured for "DETENTED3", which is the most commonly used (encoders provided by Voti/SmashTV). If you notice, that your encoders only work in one direction, please change the type to DETENTED2, DETENTED2, DETENTED3 (default), DETENTED4 (works better for some encoders) or DETENTED5 at the bottom of the setup file.</P>
812 tk 148
 
1188 tk 149
<P CLASS=DESC>Here a configuration example for the <A HREF="midibox_seq/mbseq_v4_din.pdf">standard</A> layout:</P>
150
<TT><PRE style="margin-left:20px">
151
##################################################
152
# Encoder Functions
153
# SR = 0: encoder disabled
154
# SR = 1..16: DIN assignment
155
# Types: NON_DETENTED, DETENTED1, DETENTED2, DETENTED3
156
##################################################
812 tk 157
 
1188 tk 158
#              SR  Pin  Type
159
ENC_DATAWHEEL   6   2   DETENTED3
160
 
161
# the speed value for the datawheel which is used when the "FAST" button is activated:
162
ENC_DATAWHEEL_FAST_SPEED 3
163
 
164
#        SR  Pin  Type
165
ENC_GP1   1   6   DETENTED3
166
ENC_GP2   1   4   DETENTED3
167
ENC_GP3   1   2   DETENTED3
168
ENC_GP4   1   0   DETENTED3
169
ENC_GP5   3   6   DETENTED3
170
ENC_GP6   3   4   DETENTED3
171
ENC_GP7   3   2   DETENTED3
172
ENC_GP8   3   0   DETENTED3
173
ENC_GP9   4   6   DETENTED3
174
ENC_GP10  4   4   DETENTED3
175
ENC_GP11  4   2   DETENTED3
176
ENC_GP12  4   0   DETENTED3
177
ENC_GP13  5   6   DETENTED3
178
ENC_GP14  5   4   DETENTED3
179
ENC_GP15  5   2   DETENTED3
180
ENC_GP16  5   0   DETENTED3
181
</PRE></TT></P>
182
 
183
 
812 tk 184
<H2> <IMG SRC="images/bullet.gif" ALT=""> How many buttons? </H2>
185
 
1089 tk 186
<P CLASS=DESC>This question is only relevant if you want to build a fully customized frontpanel: it's highly recommended to mount at least the buttons which are used in the original V3/V4 design to ensure best ergonomic handling. This means, that you want to use at least 44 buttons!</P>
812 tk 187
<P CLASS=DESC>With MIDIbox SEQ V4, some new button functions have been introduced, which should be considered on new frontpanel layouts. These are:
811 tk 188
<UL CLASS=CL>
189
  <LI><B>Group Select Button 1/2/3/4</B>: Four buttons which provide a direct access to the four track groups. In combination with the four track buttons, this allows you to change between the 16 tracks quickly.<BR>
812 tk 190
    With the MBSEQ V2/V3 frontpanel, the track group has to be selected with the F4 button.</SPAN></LI>
811 tk 191
  <LI><B>Trigger Layer A/B/C:</B> Three buttons which provide a direct access to the trigger layers.<BR>
812 tk 192
      With the MBSEQ V2/V3 frontpanel, the trigger layer has to be selected with the F3 button.</LI>
811 tk 193
  <LI><B>Step View:</B> Changes to the Step View selection display.<BR>
812 tk 194
      With the MBSEQ V2/V3 frontpanel, the step view has to be selected with the F2 button.</LI>
195
  <LI><B>Utility:</B> changes to the Utility page, e.g. to access the Copy/Paste/Clear function.<BR>
196
      With the MBSEQ V2/V3 frontpanel, the Utility page has to be selected with the F1 button.</LI>
811 tk 197
</UL>
198
 
1141 tk 199
<P CLASS=DESC>A lot of additional button functions have been added later, mostly based on user requests. A full list can be found in the <A HREF="http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fsequencers%2Fmidibox_seq_v4%2Fhwcfg%2Fstandard_v4%2FMBSEQ_HW.V4" TARGET="_blank">MBSEQ_HW.V4 template</A> (search for BUTTON_)</P>
200
 
1188 tk 201
<P CLASS=DESC>For illustration purposes, here a configuration example which assigns the Stop/Pause/Play/Rew buttons to the first DIN, Pin D4..D7, and the Fwd button to the second DIN, pin D0. The Loop and Follow buttons are not assigned, but you could do this adding these buttons to your frontpanel, connecting them to unused DIN pins and define the appr. SR & pin numbers in your own MBSEQ_HW.V4 file:
202
<TT><PRE style="margin-left:20px">
203
##################################################
204
# Button assignments to DIN pins
205
# SR = 0: Button disabled
206
# SR = 1..23:  directly triggered from DIN pin
207
# SR = M1..M8: triggered from a 8x8 button matrix
208
##################################################
209
 
210
#             SR  Pin
211
BUTTON_STOP    1   4
212
BUTTON_PAUSE   1   5
213
BUTTON_PLAY    1   6
214
BUTTON_REW     1   7
215
BUTTON_FWD     2   0
216
BUTTON_LOOP    0   0
217
BUTTON_FOLLOW  0   0
218
</PRE></TT></P>
219
 
812 tk 220
<P CLASS=DESC>Note that there is also a <A HREF="midibox_seq/mbseqv4_remote_functions.pdf">MIDI Remote</A> feature available which allows you to trigger button functions with a MIDI keyboard. However, the handling isn't so perfect like with dedicated buttons (especially since the LEDs are missing on a master keyboard), but it works!</P>
221
<P CLASS=DESC>It isn't required that the buttons are assigned to the same DIN input pins like predefined in the MBSEQ_HW.V4 file (stored on SD Card). You are able to change the pinning for your (existing) hardware. But if you want to keep it compatible, then use exactly the same pinning like me.</P>
1141 tk 222
<P CLASS=DESC><A HREF="midibox_seq/mbseq_v4_din.pdf">DIN Pinning of hwcfg/standard_v4/MBSEQ_HW.V4</A></P>
811 tk 223
 
1186 tk 224
<P CLASS=DESC><I>Note: alternatively the MIDIbox SEQ firmware allows to connect up to 64 buttons in a matrix configuration. See "Reduced DIN/DOUT Option" topic below.</I></P>
812 tk 225
 
226
<H2> <IMG SRC="images/bullet.gif" ALT=""> How many LEDs? </H2>
227
 
1089 tk 228
<P CLASS=DESC>This question is only relevant if you want to build a fully customized frontpanel: some button functions require a LED as some kind of feedback which is not given by the LCD. For example, the selected Track and Layer is not always displayed by the LCD, also Solo/Fast/All and especially the played (unmuted) steps.</P>
812 tk 229
<P CLASS=DESC>This means that you want to have at least 30 LEDs. One additional LED can be added as beat indicator.</P>
230
<P CLASS=DESC>With MIDIbox SEQ V4, some new LED functions have been introduced, which should be considered on new frontpanel layouts. These are:
811 tk 231
<UL CLASS=CL>
232
  <LI><B>Group Select LED 1/2/3/4</B>: to display the selected group</LI>
233
  <LI><B>Trigger Layer A/B/C:</B> to display the selected trigger layer</LI>
234
  <LI><B>16 Bicolour GP LEDs (Red/Green)</B>: improve the visualisation of the current step position</LI>
235
</UL>
236
 
1141 tk 237
<P CLASS=DESC>Also LEDs for Play/Stop/Pause are available now. These LEDs have been requested, but if you ask me: they are not required... however, a full list can be found in the <A HREF="http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fsequencers%2Fmidibox_seq_v4%2Fhwcfg%2Fstandard_v4%2FMBSEQ_HW.V4" TARGET="_blank">MBSEQ_HW.V4 template</A> (search for LED_)</P>
811 tk 238
 
1141 tk 239
<P CLASS=DESC><A HREF="midibox_seq/mbseq_v4_dout.pdf">DOUT Pinning of hwcfg/standard_v4/MBSEQ_HW.V4</A></P>
811 tk 240
 
1188 tk 241
<P CLASS=DESC>For illustration purposes, here a configuration example which assigns the Track 1-4 LEDs to DOUT, Pin D0..3.
1141 tk 242
 
1188 tk 243
Stop/Pause/Play/Rew buttons to the first DIN, Pin D4..D7, and the Fwd button to the second DIN, pin D0. The Loop and Follow buttons are not assigned, but you could do this adding these buttons to your frontpanel, connecting them to unused DIN pins and define the appr. SR & pin numbers in your own MBSEQ_HW.V4 file:
244
<TT><PRE style="margin-left:20px">
245
##################################################
246
# LED assignments to DOUT pins
247
# SR = 0: LED disabled
248
# SR = 1..23:  directly forwarded to DOUT pin
249
# SR = M1..M8: forwarded to a 8x8 LED matrix
250
#
251
# Please note: due to historical reasons, pin 0-7
252
# are mirrored!
253
# Pin 0 = DOUT Pin D7
254
# Pin 1 = DOUT Pin D6
255
# Pin 2 = DOUT Pin D5
256
# ...
257
# Pin 7 = DOUT Pin D0
258
##################################################
259
 
260
#           SR  Pin
261
LED_TRACK1   1   0
262
LED_TRACK2   1   1
263
LED_TRACK3   1   2
264
LED_TRACK4   1   3
265
</PRE></TT></P>
266
 
267
<P CLASS=DESC><I>Note: alternatively the MIDIbox SEQ firmware allows to connect up to 64 LEDs in a matrix configuration. See "Reduced DIN/DOUT Option" topic below.</I></P>
268
 
1186 tk 269
<H2> <IMG SRC="images/bullet.gif" ALT=""> Reduced DIN/DOUT Option </H2>
1183 tk 270
 
1188 tk 271
<P CLASS=DESC>For <A HREF="http://www.midibox.org/dokuwiki/doku.php?id=wilba_mb_seq" TARGET="_blank">Wilba's frontpanel</A> a feature has been built into the firmware which reduces the number of required DIN/DOUT shift registers. This is achieved by connecting the buttons and LEDs to a 8x8 matrix.</P>
1186 tk 272
 
1188 tk 273
<P CLASS=DESC>The so called BLM8x8 mode will be activated with:
274
<TT><PRE style="margin-left:20px">
275
##################################################
276
# Additional 8x8 BLM as used for Wilba's Frontpanel
277
##################################################
278
 
279
# set to 1 to enable 8x8 BLM driver
280
BLM8X8_ENABLED  1
281
 
282
# to which shift register are the select lines connected?
283
# Allowed values: 0 to disable, 1..16 to assign shift register
284
BLM8X8_DOUT_CATHODES_SR  1
285
 
286
# set an inversion mask for the DOUT shift registers if sink drivers (transistors)
287
# have been added to the cathode lines
288
BLM8X8_DOUT_CATHODES_INV_MASK 0x00
289
 
290
# to which shift register are the LED anode lines connected?
291
# Allowed values: 0 to disable, 1..16 to assign shift register
292
BLM8X8_DOUT_LED_SR      2
293
 
294
# 0: no mapping of 8x8 LEDs
295
# 1: enable GP LED -> 8x8 matrix mapping for Wilba's MB-SEQ PCB
296
BLM8X8_DOUT_GP_MAPPING  1
297
 
298
# 8x8 matrix for misc. button functions
299
BLM8X8_DIN_SR  2
300
</PRE></TT></P>
301
 
1186 tk 302
<P CLASS=DESC>A preconfigured MBSEQ_HW.V4 file for this setup can be found in the <A HREF="http://svnmios.midibox.org/filedetails.php?repname=svn.mios32&path=%2Ftrunk%2Fapps%2Fsequencers%2Fmidibox_seq_v4%2Fhwcfg%2Fwilba%2FMBSEQ_HW.V4" TARGET="_blank">hwcfg/wilba/MBSEQ_HW.V4</A> file which is part of the release package. The appr. configuration parameters are starting with BLM8x8_*, and BUTTON_*/LED_* entries are assigned to the M1..M8 'SR' instead of specific DIN/DOUT SR numbers.</P>
303
 
1188 tk 304
<P CLASS=DESC>Example:
305
<TT><PRE style="margin-left:20px">
306
#             SR  Pin
307
BUTTON_STOP   M3   5
308
BUTTON_PAUSE  M2   4
309
BUTTON_PLAY   M2   5
310
BUTTON_REW    M3   4
311
BUTTON_FWD    M1   4
312
</PRE></TT></P>
313
 
1186 tk 314
<P CLASS=DESC>A connection diagram (for those who even want to DIY the frontpanel) is available here:<BR><A HREF="midibox_seq/mbseq_v4_dio_wilba_layout.pdf">DIN/DOUT Pinning for hwcfg/wilba/MBSEQ_HW.V4</A></P>
315
 
316
<P CLASS=DESC>You will notice a strange order in the button/LED assignments. It's layout driven, but for the end user it doesn't really matter (because they get a preconfigured MBSEQ_HW.V4 file :-).</P>
317
 
318
<P CLASS=DESC>However, if you are planning to use this approach for your selfmade frontpanel, consider that all assignments can be freely changed, except for the GP Duo-Colour LEDs, which are hardcoded in the firmware!</P>
319
 
919 tk 320
<H2> <IMG SRC="images/bullet.gif" ALT=""> Simple 4x16 Button/LED matrix </H2>
811 tk 321
 
812 tk 322
<P CLASS=DESC>By default the 16 "general purpose" LEDs (which belong to the 16 "general purpose" buttons) display the triggers of the current selected track. If the sequencer is running, they also display the current sequencer position by inverting the appr. step LED.</P>
323
<P CLASS=DESC>MIDIbox SEQ supports an option to handle 64 LEDs for all 4*16 steps of a pattern (which consists of 4 tracks). This option requires just 4 additional DOUT pins which are driving the cathodes of the LED rows.</P>
324
<P CLASS=DESC>It's even possible to use Duo-Colour LEDs, so that the step pointer gets an individual colour (no inversion of the active step required)</P>
325
<P CLASS=DESC>Another hardware option allows to use 64 instead of 16 GP buttons, or, to use the 64 buttons in addition to the 16 GP buttons.</P>
326
<P CLASS=DESC>All possible options, and the appr. settings are described in the MBSEQ_HW.V4 file of the release package.</P>
1141 tk 327
<P CLASS=DESC>Meanwhile Ilmenator created a PCB for the 4x16 BLM. More informations can be found at <A HREF="http://www.midibox.org/dokuwiki/doku.php?id=16x4blm_pcb" TARGET="_blank">this Wiki page</A>.</P>
811 tk 328
 
919 tk 329
<H2> <IMG SRC="images/bullet.gif" ALT=""> Giant 16x16+X Button/LED matrix </H2>
811 tk 330
 
919 tk 331
<P CLASS=DESC>The most flexible and probably also most preferred BLM solution, as it provides much more entry modes.</P>
332
<P CLASS=DESC>PCBs will be created by the community!</P>
333
<P CLASS=DESC>More informations, schematics and videos are available in <A HREF="midibox_seq_manual_blm.html">a special manual chapter</A>.</P>
334
 
335
 
812 tk 336
<H2> <IMG SRC="images/bullet.gif" ALT=""> Which display size? </H2>
811 tk 337
 
812 tk 338
<P CLASS=DESC>For MIDIbox SEQ V4, <B>two 2x40 LCDs are required</B>! The menu pages won't be displayed completely on smaller LCDs, a software solution for 2x16 or 2x20 LCDs is not supported (and very hard to realize)!</P>
339
<P CLASS=DESC>A single 4x40 LCD as replacement for the two 2x20 LCDs is possible, but keep in mind, that this requires to arrange the GP buttons and rotary encoders at the top and the bottom of the LCD, so that they are aligned with the 8*5 character segments of the display. Without this alignment, menu item values cannot be edited intuitively.</P>
340
 
341
 
342
<H2> <IMG SRC="images/bullet.gif" ALT=""> BPM LED digits </H2>
343
 
1024 tk 344
<P CLASS=DESC>Optionally MIDIbox SEQ can be stuffed with 4 LED digits which display the current BPM value (the 4th digit prints the value after the dot for higher precession - it can be omitted). Note that this only works in master mode, in slave mode SLA will be displayed instead. LED digits with common anode or cathode are supported. They are driven time multiplexed, and have to be connected to two dedicated shift registers like documented in <A HREF="midibox_seq/mbseq_v4_bpm_digits.pdf">this schematic</A>. The DOUT shift register pinning can be customized in MBSEQ_HW.V4
812 tk 345
 
1188 tk 346
<P CLASS=DESC>Configuration example (Segments connected to 3rd DOUT SR, selection lines to 4th DOUT SR):
347
<TT><PRE style="margin-left:20px">
348
##################################################
349
# Optional BPM digits
350
##################################################
351
 
352
# set to 1 or 2 to enable the 3 optional BPM digits
353
# 0: BPM digits disabled
354
# 1: BPM digits with common cathode
355
# 2: BPM digits with common anode
356
BPM_DIGITS_ENABLED 1
357
 
358
# define the DOUT shift register to which the segments are connected (0=disabled)
359
BPM_DIGITS_SEGMENTS_SR 3
360
 
361
# define the DOUT SR and pin to which the common pins are connected
362
# we are counting from right to left
363
# Example: 140.5 BPM: (COMMON1 = .5, COMMON2=0., COMMON3=4, COMMON4=1)
364
#                       SR  Pin
365
BPM_DIGITS_COMMON1_PIN   4   0
366
BPM_DIGITS_COMMON2_PIN   4   1
367
BPM_DIGITS_COMMON3_PIN   4   2
368
BPM_DIGITS_COMMON4_PIN   4   3
369
</PRE></TT></P>
370
 
371
 
1024 tk 372
<H2> <IMG SRC="images/bullet.gif" ALT=""> Dedicated BPM (Tempo) Encoder </H2>
812 tk 373
 
1024 tk 374
<P CLASS=DESC>An encoder for directly controlling the tempo can be added as well. The DIN shift register connections have to be specified in MBSEQ_HW.V4
375
 
376
<H2> <IMG SRC="images/bullet.gif" ALT=""> Step LED digits </H2>
377
 
378
<P CLASS=DESC>It's also possible to add 3 LED digits to display the current selected step (1..256). Interconnections are similar to the BPM digits, DOUT shift register pinning can be customized in MBSEQ_HW.V4.
379
 
1188 tk 380
<P CLASS=DESC>Configuration example (Segments connected to 3rd DOUT SR, selection lines to 4th DOUT SR):
381
<TT><PRE style="margin-left:20px">
382
##################################################
383
# Optional Step digits
384
##################################################
1024 tk 385
 
1188 tk 386
# set to 1 or 2 to enable the 3 optional STEP digits
387
# 0: STEP digits disabled
388
# 1: STEP digits with common cathode
389
# 2: STEP digits with common anode
390
STEP_DIGITS_ENABLED 1
391
 
392
# define the DOUT shift register to which the segments are connected (0=disabled)
393
STEP_DIGITS_SEGMENTS_SR 3
394
 
395
# define the DOUT SR and pin to which the common pins are connected
396
# we are counting from right to left
397
# Example: Step 123: (COMMON1 = 3, COMMON2=2, COMMON3=1)
398
#                       SR  Pin
399
STEP_DIGITS_COMMON1_PIN   4   4
400
STEP_DIGITS_COMMON2_PIN   4   5
401
STEP_DIGITS_COMMON3_PIN   4   6
402
</PRE></TT></P>
403
 
404
 
1141 tk 405
<H2> <IMG SRC="images/bullet.gif" ALT=""> Track Position Display </H2>
406
 
407
<P CLASS=DESC>For those who are searching for more blink on their box, the Track Position Display, created by Hawkeye and Ilmenator, could be for interest!<BR>
408
Ilmenator created a special PCB which combines BPM, Step and TPD + encoder + four buttons on a small PCB. More informations <A HREF="http://www.midibox.org/dokuwiki/doku.php?id=tpd_pcb" TARGET="_blank">on this Wiki page</A>.</P>
409
 
410
 
1183 tk 411
<H2> <IMG SRC="images/bullet.gif" ALT=""> CV Outputs </H2>
931 tk 412
 
1183 tk 413
<P CLASS=DESC>MIDIbox SEQ V4 can control up to 8 analog outputs by connecting an <A HREF="mbhp_aout.html">MBHP_AOUT</A> or <A HREF="http://www.midibox.org/dokuwiki/aout_ng">MBHP_AOUT_NG</A> module, or up to 4 <A HREF="mbhp_aout_lc.html">MBHP_AOUT_LC</A> modules to the core.</P>
1186 tk 414
<P CLASS=DESC>In addition, 8 digital triggers (gates) and 8 freely configurable clock triggers (which can also be used as Start/Stop) are available on two dedicated DOUT shift registers which have to be configured in the MBSEQ_HW.V4 file (search for CV_GATE_SR1 and CLK_SR).<BR>
1183 tk 415
<I>Note: these outputs are also available at J5 and J10B of the core module, but only at 3V level, and unprotected from the microcontroller IO pins. A 74HC541 based level shifter would be required for a proper output signal to analog synths, but this is also given by the DOUT based solution. Therefore the "direct connection" option is not recommended anymore!</I></P>
931 tk 416
 
1183 tk 417
<P CLASS=DESC>For those who cannot get enough, 64 additional drum triggers are available in the DOUT chain. They can be controlled with individual key numbers and trigger a pulse of 1 mS. The used DOUT shift registers have to be defined in the MBSEQ_HW.V4 file (DOUT_GATE_SR1..8)</P>
418
<P CLASS=DESC>Tracks can be assigned to the outputs in the MIDI event menu. It's also possible to route incoming MIDI events to the AOUT/gate triggers in addition (this replaces a CV interface completely). The AOUT channel and trigger routing is described in the <A HREF="midibox_seq_manual_m.html">"AOUT Port" chapter of the User Manual</A>.</P>
931 tk 419
 
1183 tk 420
<P CLASS=DESC><B>The "old" CV Breakout Port</B></P>
812 tk 421
 
1183 tk 422
<P CLASS=DESC>Following schematics show the pinout of the "classic" 25-pin CV Breakout port which was used many years by some users: <a href="midibox_seq/mbseq_v4_interconnections.pdf">STM32F1 connections</A> and <a href="midibox_seq/mbseq_v4_interconnections_lpc17.pdf">LPC17 connections</A>.</P>
812 tk 423
 
1183 tk 424
<P CLASS=DESC>It provides direct gate and DIN sync outputs at 3V level, AOUT and SRIO interface signals + ground. As mentioned above, the 3V outputs were problematic, an external buffer was required to for level shifting and microcontroller protection.</P>
811 tk 425
 
1183 tk 426
<P CLASS=DESC>Another problem was the limited cable length to the AOUT module! Cables with a length of more than 30cm could lead to instable analog CV values (or no value changes at all!). Also  SRIO transfers could get instable, which affected all shift registers of the DIN/DOUT chain (also by SRs used by the control surface).</P>
811 tk 427
 
1183 tk 428
<P CLASS=DESC>Due to these problems, the breakout port has been revised:</P>
811 tk 429
 
1183 tk 430
<P CLASS=DESC><B>The "new" CV Breakout Port</B></P>
1021 tk 431
 
1186 tk 432
<P><CENTER><IMG SRC="mbhp/mbhp_line_driver_usecase_mbseq.png" width=550 height=590></CENTER></P>
433
 
1183 tk 434
<P CLASS=DESC>The revised version provides two SPI connections via bipolar (RS422-like) MC3487/MC3486 based line drivers. This extends the cable length to (at least) 2m!</P>
1021 tk 435
 
436
<UL CLASS=CL>
1183 tk 437
<LI>Transmitter Side (inside MBSEQ case): <A HREF="mbhp/mbhp_line_driver_transmitter.pdf">mbhp_line_driver_transmitter.pdf</A>
438
<LI>Receiver Side (inside Breakout Box): <A HREF="mbhp/mbhp_line_driver_receiver.pdf">mbhp_line_driver_receiver.pdf</A>
1021 tk 439
</UL>
1183 tk 440
</P>
1021 tk 441
 
1186 tk 442
<P CLASS=DESC>The line driver can also extends J19 (for AOUT module) + J8/9 (for additional DOUT and DIN modules), so that not only DOUT based gates, drum triggers and clock outputs can be made remotely available, but also for external modules such as the <A HREF="http://www.midibox.org/dokuwiki/doku.php?id=tpd_pcb" TARGET="_blank">TPD</A>. Two additional pins are reserved for a DIN Sync clock and start/stop input (not implemented yet!).
1021 tk 443
 
1186 tk 444
<P CLASS=CL>See the <A HREF="mbhp_line_driver.html">MBHP_LINE_DRIVER</A> page for additional information.</P>
811 tk 445
 
1186 tk 446
<P><CENTER><IMG SRC="mbhp/mbhp_line_driver_aout_ng.jpg" width=550 height=348></CENTER></P>
811 tk 447
 
1187 tk 448
<P CLASS=DESC>Here a MBSEQ_HW.V4 configuration example which works with the MBSEQ Frontpanel PCB:
449
<TT><PRE style="margin-left:20px">
450
##################################################
451
# CV and Gate/Trigger/Sync Setup
452
##################################################
453
 
454
# the 8 CV gates can be assigned to a shift register (0=off, 1-32: number of shift register):
455
# - 1st CV Gate available at DOUT SR output D7
456
# - 2nd CV Gate available at DOUT SR output D6
457
# - 3rd CV Gate available at DOUT SR output D5
458
# - ...
459
# - 8th CV Gate available at DOUT SR output D0
460
CV_GATE_SR1   3
461
 
462
# and DIN Clock Outputs can be assigned to a shift register as well (0=off, 1-32: number of shift register):
463
# D7..D0 will output individual clock or start/stop signals which can be configured in the CV configuration page
464
CLK_SR        4
465
 
466
# additional gate triggers are available on common digital output pins of the
467
# DOUT shift register chain - they are assigned to AOUT channel #16 (Note C-1, C#1, D-1, ...)
468
# define the shift registers which should be used here (each provides 8 gates)
469
# Note that SRs assigned to this function cannot be used as LED outputs (exclusive function)
470
# Allowed values: 1-32, 0 disables the function, all other values invalid and not allowed
471
DOUT_GATE_SR1   5
472
DOUT_GATE_SR2   6
473
DOUT_GATE_SR3   0
474
DOUT_GATE_SR4   0
475
DOUT_GATE_SR5   0
476
DOUT_GATE_SR6   0
477
DOUT_GATE_SR7   0
478
DOUT_GATE_SR8   0
479
</PRE></TT></P>
480
 
1188 tk 481
<P CLASS=DESC>The gates are available at the 3rd DOUT shift register, the clocks at the 4th DOUT shift register, and additional gates/drum triggers at the 5th and 7th DOUT shift registers. This works, since Wilba's Frontpanel PCB only uses two DOUT shift registers; a MBHP_DOUTX4 module connected to J2 of the PCB will represent DOUT number 3, 4, 5 and 6.<BR>
1187 tk 482
If more gates are required, just add another MBHP_DOUTX4 module and assign the number 7..10 to DOUT_GATE_SR3..6 accordingly.</P>
483
 
812 tk 484
<H2> <IMG SRC="images/bullet.gif" ALT=""> Ethernet Interface </H2>
811 tk 485
 
1183 tk 486
<P CLASS=DESC>An Ethernet port can be optionally added to send and receive OSC messages. It requires a <A HREF="mbhp_eth.html">MBHP_ETH</A> module. Details about the possibilities are explained <A HREF="midibox_osc.html">at this page</A>.</P>
811 tk 487
 
796 tk 488
FOOTER