Subversion Repositories svn.mios

Rev

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

Rev Author Line No. Line
163 tk 1
HEADER 3 MBHP AOUT LC Module
2
 
3
<H1>MIDIbox Hardware Platform, AOUT LC Module</H1>
4
 
5
<P><CENTER><IMG SRC="mbhp/mbhp_aout_lc.jpg" width=378 height=251></CENTER></P>
6
 
7
<P CLASS=INFO>The idea behind the MBHP_AOUT_LC module was to realize control outputs with parts that are easy to get in most countries. I started with this project after a discussion with Karl Dalen about the difficulity to find DIY friendly DACs with a serial interface. He proposed <A HREF="http://www.midibox.org/users/kd/KDdac.pdf">these circuits</A>, and I selected the discrete solution because of the simplicity. Some people requested to bring a ready made PCB into the MIDIbox Hardware Platform, so here it is!</P>
8
 
9
<P CLASS=DESC>In difference to the <A HREF="mbhp_aout.html">MBHP_AOUT</A> or <A HREF="">MBHP_AOUT_NG</A> module, this project doesn't require a special (expensive and hard to get) DAC IC, instead resistors are formed to a discrete R-2R ladder network. Building such a circuit means a lot of soldering effort, but as the MBHP is indented as a Do-It-Yourself platform, and not as a commercial product, this argument is very weak. However, the resistor ladder could be replaced by a DAC with parallel interface (see Karl's <A HREF="http://www.midibox.org/users/kd/KDdac.pdf">schematics</A>), this would still have the advantage, that the DACs are accessible via a serial chain (-> low number of uC pins are allocated), and that the software driver doesn't need to be adapted for a proprietary interface.</P>
10
 
11
<P CLASS=DESC>Regarding the quality of the "discrete DAC" outputs it should be mentioned, that it directly depends on the chosen resistors. The tolerance should be 1% or lower (Metalfilm) and stable over the typical temperature range. The results can be dramatically improved by selecting the best matching resistors: just buy a set of 100 pieces (e.g. at <A HREF="http://www.conrad.com" TARGET="_blank">Conrad</A>: a set of 100 * 10k metalfilm resistors for 1.33 EUR, part number #408280), measure the resistance and take the ones with the best matching values for the ladder circuit.</P>
12
 
13
<P CLASS=DESC>Another typical problem of cheap DACs (not only of this circuit, but also for cheap integrated DACs) is, that there is some "zipper noise" each time a new voltage is selected. The intensity of this noise depends on the bits which are toggled when a new voltage is selected - the leftmost bits (most signifigant bits) will produce the highest zipper noise. Even I can see this noise on my scope, I haven't noticed an audible effect with a discrete Moog- and CEM3378 filter, yet. Also CV controlled Korg MS-20 oscillators are working well with it. However, this is an explicit warning for those who expect perfect results! The zipper noise can be completely eliminated by adding a S&H circuit behind the DAC. By using the <A HREF="mbhp_shx8.html">NJU7304</A> this would also increase the number of available channels - on the other hand this solution requires once again a special IC or a lot of additional discrete ciruitry - it's a disaster! :-/</P>
14
 
1200 tk 15
<P CLASS=DESC>For those who don't feel disappointed yet, here two audio examples which demonstrate which results can be expected when the AOUT_LC module is connected between a MIDIbox SID and a CEM3378 filter: <A HREF="http://midibox.org/forums/topic/5158-cem3378-filter-first-impressions/" TARGET="_blank">Forum Posting #1</A>, <A HREF="http://midibox.org/forums/topic/8846-cem3378-schematic/?p=67098" TARGET="_blank">Forum Posting #2</A>.</P>
163 tk 16
 
17
 
18
<DL>
19
   <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Download </H2></DT>
20
   <DD>
21
   <DD><TABLE WIDTH="100%" BORDER=0 CELLSPACING=5 CELLPADDING=0>
22
    <TR>
932 tk 23
      <TD COLSPAN=4 CLASS=TABCOLOR1>PCB data, can be viewed, modified and converted with <A HREF="http://www.cadsoft.de/download.htm" TARGET="_blank">Eagle Light</A>. The .pdf based schematic has been created with <A HREF="http://opencircuitdesign.com/xcircuit" TARGET="_blank">xcircuit</A>. There are no special eagle schematics available, since components have been netlisted in the .brd file directly!</TD>
163 tk 24
    </TR>
25
    <TR>
26
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Module</STRONG></FONT></td>
27
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Schematic</STRONG></FONT></td>
28
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Layout Data</STRONG></FONT></td>
29
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Quick-view</STRONG></FONT></TD>
30
    </TR>
31
    <TR>
32
      <TD CLASS=TABCOLOR2><I>MBHP_AOUT_LC_V1</I></TD>
33
      <TD CLASS=TABCOLOR2><A HREF="mbhp/mbhp_aout_lc.pdf">mbhp_aout_lc.pdf</A></TD>
34
      <TD CLASS=TABCOLOR2><A HREF="mbhp/mbhp_aout_lc_v1.brd">mbhp_aout_lc_v1.brd</A></TD>
35
      <TD CLASS=TABCOLOR2><A HREF="mbhp/mbhp_aout_lc_v1.gif">mbhp_aout_lc_v1.gif</A></TD>
36
    </TR>
37
  </TABLE></DD>
38
 
39
  <DD><TABLE WIDTH="100%" BORDER=0 CELLSPACING=5 CELLPADDING=0>
40
    <TR>
41
      <TD COLSPAN=4 CLASS=TABCOLOR1><FONT SIZE=3>Additional informations</FONT></TD>
42
    </TR>
43
    <TR>
44
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>File</STRONG></FONT></td>
45
      <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Size</STRONG></FONT></td>
46
      <TD NOWRAP CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Description</STRONG></FONT></TD>
47
    </TR>
48
    <TR>
49
      <TD CLASS=TABCOLOR2><A HREF="mbhp/mbhp_aout_lc_orderlist.txt">mbhp_aout_lc_orderlist.txt</A></TD>
50
      <TD CLASS=TABCOLOR2>1k</TD>
51
      <TD CLASS=TABCOLOR2><A HREF="http://www.reichelt.de/" TARGET="_blank">Reichelt</A> orderlist</TD>
52
    </TR>
53
    <TR>
54
      <TD CLASS=TABCOLOR2><A HREF="http://www.midibox.org/dokuwiki/doku.php?id=bipolar_12v_psu">bipolar_12v_psu</A></TD>
55
      <TD CLASS=TABCOLOR2>Wiki</TD>
56
      <TD CLASS=TABCOLOR2>Wiki article about bipolar PSUs (required to get a +/- 12V voltage)</TD>
57
    </TR>
58
  </TABLE></DD>
59
  </DD>
60
</DL>
61
 
62
<DL>
63
   <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Resolution </H2></DT>
64
   <DD>
65
<P CLASS=DESC>In order to increase the flexibility, the MBHP_AOUT_LC PCB provides two different resolution options. The first channel can either be controlled with 12bit or 8bit resolution, the second channel with 4bit or 8bit resolution:</P>
66
<P><CENTER><IMG SRC="mbhp/mbhp_aout_lc_res_options.gif" width=548 height=100></CENTER></P>
67
<P CLASS=DESC>The 12/4 bit option is used by <A HREF="midibox_sid.html">MIDIbox SID</A> (the filter is controlled with 12bit, the resonance with 4bit only).<BR>
1149 tk 68
In the <A HREF="midibox_cv_v1.html">MIDIbox CV V1</A> firmware the resolution option is selectable. 8/8bit is enough if the module should control V/Oct CV inputs via Note or CC events. 12/4bit should be selected if channel #1 is connected to a Hz/V input, or if high-resolution events (NRPNs, PitchWheel) are desired.</P>
163 tk 69
  </DD>
70
</DL>
71
 
72
<DL>
73
   <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Pinning </H2></DT>
74
   <DD>
75
   <DD><TABLE WIDTH="100%" BORDER=0 CELLSPACING=5 CELLPADDING=0>
76
<P CLASS=INFO>Following projects support the MBHP_AOUT_LC module - note that the pinning to the Core module is different:<BR>
77
   <DL>
78
     <DD><TABLE WIDTH="100%" BORDER=0 CELLSPACING=5 CELLPADDING=0>
79
     <TR>
80
       <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>Schematic</STRONG></FONT></tD>
81
       <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>AOUT_LC:J1:SO</STRONG></FONT></TD>
82
       <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>AOUT_LC:J1:SC</STRONG></TD>
83
       <TD CLASS=TABCOLOR1><FONT SIZE=2><STRONG>AOUT_LC:J1:RC</STRONG></FONT></TD>
84
     </TR>
85
     <TR>
86
       <TD CLASS=TABCOLOR2><A HREF="midibox_cv/mbcv_aout_lc_interconnections.pdf">MIDIbox CV</A></TD>
87
       <TD CLASS=TABCOLOR2><FONT SIZE=2><STRONG>CORE:J10:RC (RC4)</STRONG></FONT></Td>
88
       <TD CLASS=TABCOLOR2><FONT SIZE=2><STRONG>CORE:J10:MD (RD5)</STRONG></FONT></Td>
89
       <TD CLASS=TABCOLOR2><FONT SIZE=2><STRONG>CORE:J10:SO (RC5)</STRONG></FONT></Td>
90
     </TR>
91
     <TR>
92
       <TD CLASS=TABCOLOR2><A HREF="midibox_fm/mbfm_aout_lc_interconnections.pdf">MIDIbox FM</A></TD>
93
       <TD CLASS=TABCOLOR2><FONT SIZE=2><STRONG>CORE:J6:SC (RC1)</STRONG></FONT></Td>
94
       <TD CLASS=TABCOLOR2><FONT SIZE=2><STRONG>CORE:J6:RC (RC0)</STRONG></FONT></Td>
95
       <TD CLASS=TABCOLOR2><FONT SIZE=2><STRONG>CORE:J6:SI (RC3)</STRONG></FONT></Td>
96
     </TR>
97
     <TR>
98
       <TD CLASS=TABCOLOR2><A HREF="midibox_sid/mbsid_aout_lc_interconnections.pdf">MIDIbox SID (*)</A></TD>
99
       <TD CLASS=TABCOLOR2><FONT SIZE=2><STRONG>CORE:J6:SC (RC1)</STRONG></FONT></Td>
100
       <TD CLASS=TABCOLOR2><FONT SIZE=2><STRONG>CORE:J6:RC (RC0)</STRONG></FONT></Td>
101
       <TD CLASS=TABCOLOR2><FONT SIZE=2><STRONG>CORE:J6:SI (RC3)</STRONG></FONT></Td>
102
     </TR>
103
     </TABLE><P CLASS=INFO>(*) MIDIbox SID V1.7303 and higher!</DD>
104
   </DL>
105
  </DD>
106
</DL>
107
 
108
<DL>
109
  <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Soldering Guide </H2></DT>
110
  <DD>
111
  <DD><TABLE CELLSPACING=0 CELLPADDING=0>
112
    <TR>
113
      <TD><IMG SRC="mbhp/mbhp_aout_lc_1.jpg" WIDTH=280 HEIGHT=182 BORDER=0 ALT=""></TD>
114
      <TD CLASS=TABCOLOR2>Start with soldering the 7 bridges which save you from creating a 2-layer board. You can use the cutted legs of caps and resistors, before you throw them away after you finished all the modules! :-)</TD>
115
    </TR>
116
    <TR>
117
      <TD><IMG SRC="mbhp/mbhp_aout_lc_2.jpg" WIDTH=280 HEIGHT=172 BORDER=0 ALT=""></TD>
118
      <TD CLASS=TABCOLOR2>Mount all parts except for the ICs and check the power supply voltages (see <A HREF="mbhp/mbhp_aout_lc.pdf">schematic</A>)</TD>
119
    </TR>
120
    <TR>
121
      <TD><IMG SRC="mbhp/mbhp_aout_lc_3.jpg" WIDTH=280 HEIGHT=185 BORDER=0 ALT=""></TD>
122
      <TD CLASS=TABCOLOR2>Add the wire between pin #9 of IC2 and J2 at the bottom. Note that this wire is only required if the module should be chained with other MBHP_AOUT_LC modules.)</TD>
123
    </TR>
124
    <TR>
125
      <TD><IMG SRC="mbhp/mbhp_aout_lc_4.jpg" WIDTH=280 HEIGHT=192 BORDER=0 ALT=""></TD>
126
      <TD CLASS=TABCOLOR2>Mount the jumpers and the additional wire at J3 in order to select the resolution.</TD>
127
    </TR>
128
    <TR>
129
      <TD><IMG SRC="mbhp/mbhp_aout_lc_5.jpg" WIDTH=280 HEIGHT=180 BORDER=0 ALT=""></TD>
130
      <TD CLASS=TABCOLOR2>Stuff the ICs and check the power again. Now you can connect the module to your MIDIbox - the pinning depends on the application, see above.</TD>
131
    </TR>
132
  </TABLE></DD>
133
  </DD>
134
</DL>
135
 
136
<DL>
137
   <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Setup and Calibration </H2></DT>
138
   <DD>
379 tk 139
<P CLASS=DESC>Each channel provides a separate gain and offset trimmer which allow you to adjust the output voltage range.</P>
1149 tk 140
<P CLASS=DESC><A HREF="midibox_cv_v1.html">MIDIbox CV V1</A> users: just follow the instructions at the MIDIbox CV V1 page.</P>
141
<P CLASS=DESC><A HREF="midibox_cv_v2.html">MIDIbox CV V2</A> users: just follow the instructions at the MIDIbox CV V2 page.</P>
283 tk 142
<P CLASS=DESC><A HREF="midibox_sid.html">MIDIbox SID V1</A> users: open the "setup_*.asm" file of the application and set the "ENABLE_AOUT" switch to 2. Thereafter <A HREF="howto_tools_gpasm.html">rebuild</A> the project and upload the new .hex file to the core. Now you can control channel #1 with the filter knob, and channel #2 with the resonance knob. If you haven't built the control surface, then just send CC#46 (CutOff) and CC#47 (Resonance) to the MIDIbox.<BR>The fun begins once the filter output voltage is modulated by the envelopes and LFOs! :-)</P>
143
<P CLASS=DESC><A HREF="midibox_fm.html">MIDIbox FM</A> users: open the "setup_*.asm" file of the application and set the "ENABLE_AOUT" switch to 2. Thereafter <A HREF="howto_tools_gpasm.html">rebuild</A> the project and upload the new .hex file to the core. AOUT channel #1/#2 is assigned to Instrument #1, Channel #3/#4 to Instrument #2, Channel #5/#6 to Instrument #3, Channel #7/#8 to Instrument #4. LFO/Envelope Assignments and the Offset can be configured in the AOUT menu of the Control Surface.</P>
163 tk 144
<P CLASS=DESC><A HREF="midibox_sid.html">MIDIbox SID V2</A> users: open the "setup_*.asm" file of the application and set the "ENABLE_AOUT" switch to 2. Thereafter <A HREF="howto_tools_gpasm.html">rebuild</A> the project and upload the new .hex file to the core. You can control channel #1 with the filter knob, and channel #2 with the resonance knob with F2A option enabled (-> Ensemble Menu). With two chained MBHP_AOUT_LC modules, you can control CutOff and Resonance of the right channel SID the same way. With V2A, volume can be handled a similar way (4 chained AOUT_LC modules required for this case). With F2A and V2A option disabled, up to 8 channels can be controlled from the modulation matrix and within the EXT page. All these possibilities are documented in the <A HREF="midibox_sid_manual.html">MIDIbox SID Users Manual</A>.</P>
145
  </DD>
146
</DL>
147
 
148
<DL>
149
  <DT><H2> <IMG SRC="images/bullet.gif" ALT=""> Alternative solutions for CV outputs</H2></DT>
150
  <DD>
151
    <UL CLASS=CL>
152
      <LI><A HREF="mbhp_aout.html">MBHP_AOUT_LC module</A></LI>
153
      <LI><A HREF="http://www.midibox.org/dokuwiki/aout_ng">MBHP_AOUT_NG module</A></LI>
154
    </UL>
155
  </DD>
156
</DL>
157
 
158
FOOTER