User Tools

Site Tools


aout_ng

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aout_ng [2013/12/11 08:50]
seppoman added link to Eagle .sch
aout_ng [2018/03/15 17:29] (current)
goyousalukis Added some mouser parts numbers
Line 1: Line 1:
-     ==== AOUT_NG ====+====== AOUT_NG ​======
  
 {{seppoman:​aoutng.jpg}} {{seppoman:​aoutng.jpg}}
  
-=== Introduction ===+===== Introduction ​=====
  
 The AOUT_NG is a CV (control voltage) output module. It features 8 channels of 12 bit CV out and a selectable bipolar option. The AOUT_NG is a CV (control voltage) output module. It features 8 channels of 12 bit CV out and a selectable bipolar option.
Line 9: Line 9:
 This module is an officially supported MBHP module, created by Thomas Stoeckl (Seppoman). Note that the AOUT_NG is not supposed to replace the existing AOUT module. The AOUT will continue to be supported and co-exist with the AOUT_NG. The need for a new design originated from both the high price and the bad availability of the MAX525 DACs used on the AOUT. This module is an officially supported MBHP module, created by Thomas Stoeckl (Seppoman). Note that the AOUT_NG is not supposed to replace the existing AOUT module. The AOUT will continue to be supported and co-exist with the AOUT_NG. The need for a new design originated from both the high price and the bad availability of the MAX525 DACs used on the AOUT.
  
-=== License ===+===== License ​=====
  
 Like with everything else on uCApps/​Midibox,​ you are **not allowed to use** this PCB **in commercial designs** without express permission by TK (for firmware and other modules) and Seppoman (AOUT_NG)! Like with everything else on uCApps/​Midibox,​ you are **not allowed to use** this PCB **in commercial designs** without express permission by TK (for firmware and other modules) and Seppoman (AOUT_NG)!
  
-=== Who needs which? ===+===== Who needs which? ​=====
  
 There are 3 different AOUT modules to be chosen from, so which one do you need? There are 3 different AOUT modules to be chosen from, so which one do you need?
Line 21: Line 21:
 The [[http://​www.ucapps.de/​mbhp_aout_lc.html|AOUT_LC]] is the "​entry-level"​ option. Very cheap, only two channels, configurable to either 12 bit and 4 bit or both 8 bit resolution. It is suitable for e.g. adding a VCF to a MBSID with only one SID channel at the lowest cost. If you only need a few CV channels, you can choose this one. Cascading of up to 4 AOUT_LC modules for a total of 8 channels is possible with MBFM and MBSID V2 but leads to increased preformance load because all AOUT channels need to be updated with each CV value change. Be aware that matching and soldering all the resistors needs quite a lot of time and that the achievable precision is usually worse than that of the NG. Building more than one or two AOUT_LCs doesn'​t make much sense because the cost will be in the same league as one AOUT_NG and with the NG you'll have better performance,​ flexibility and less work. The [[http://​www.ucapps.de/​mbhp_aout_lc.html|AOUT_LC]] is the "​entry-level"​ option. Very cheap, only two channels, configurable to either 12 bit and 4 bit or both 8 bit resolution. It is suitable for e.g. adding a VCF to a MBSID with only one SID channel at the lowest cost. If you only need a few CV channels, you can choose this one. Cascading of up to 4 AOUT_LC modules for a total of 8 channels is possible with MBFM and MBSID V2 but leads to increased preformance load because all AOUT channels need to be updated with each CV value change. Be aware that matching and soldering all the resistors needs quite a lot of time and that the achievable precision is usually worse than that of the NG. Building more than one or two AOUT_LCs doesn'​t make much sense because the cost will be in the same league as one AOUT_NG and with the NG you'll have better performance,​ flexibility and less work.
  
-The **AOUT_NG** features very good performance and flexibility for a reasonable cost. As of now, it is the only module with a dual layered pro-made PCB (available from SmashTV, PCB only or as a full kit) that saves you from soldering any jumper wires. The bipolar option, although not very often needed, is a nice to have option and will e.g. be necessary for using [[ssm2044_pcb|Seppoman'​s SSM2044 module]]. The featured precision is perfect for controlling analog filters, VCAs etc. Despite the slightly inferior specs of the DAC, some [[http://​www.midibox.org/​forum/​index.php/​topic,​10453.0.html|real world tests]] confirmed that the precision is even sufficient to drive VCOs. So as long as you don't require extraordinary precision and saving a few bucks isn't your central aim, the NG will be the right choice. The only "​drawback"​ is that the used DAC is only available as SOIC SMD part, so soldering it is not for absolute beginners. Don't be afraid though - with the right technique, SMD is really no problem - a nice tutorial video can be found [[http://​curiousinventor.com/​guides/​Surface_Mount_Soldering/​101|here.]]+The **AOUT_NG** features very good performance and flexibility for a reasonable cost. As of now, it is the only module with a dual layered pro-made PCB (available from SmashTV, PCB only or as a full kit) that saves you from soldering any jumper wires. The bipolar option, although not very often needed, is a nice to have option and will e.g. be necessary for using [[ssm2044_pcb|Seppoman'​s SSM2044 module]]. The featured precision is perfect for controlling analog filters, VCAs etc. Despite the slightly inferior specs of the DAC, some [[http://​www.midibox.org/​forum/​index.php/​topic,​10453.0.html|real world tests]] confirmed that the precision is even sufficient to drive VCOs. So as long as you don't require extraordinary precision and saving a few bucks isn't your central aim, the NG will be the right choice. The only "​drawback"​ is that the used DAC is only available as SOIC SMD part, so soldering it is not for absolute beginners. Don't be afraid though - with the right technique, SMD is really no problem - a nice tutorial video can be found [[http://store.curiousinventor.com/​guides/​Surface_Mount_Soldering/​101|here.]]
  
-=== Where to buy? ===+===== Where to buy? =====
  
 [[http://​mbhp.avishowtech.com|SmashTV]] offers both the PCB and a full kit (including the DAC and the parts for bipolar option) in his shop. [[http://​mbhp.avishowtech.com|SmashTV]] offers both the PCB and a full kit (including the DAC and the parts for bipolar option) in his shop.
Line 29: Line 29:
 Other places to buy parts: Other places to buy parts:
  
-== TLV5630IDW ==+==== TLV5630IDW ​====
  
 this is the only difficult to get part - the rest is available at every good electronics shop.  this is the only difficult to get part - the rest is available at every good electronics shop. 
Line 44: Line 44:
 Note that Farnell only delivers to professional customers and university members. Note that Farnell only delivers to professional customers and university members.
  
-== Parts List ==+===== Parts List =====
 \\ \\
-^Name       ​^Part ​                   ^Value ​ ^Quantity ^Reichelt Order Code ^ + 
-|**Regular Parts** ​                                                     ||||| + 
-|C1,​C2 ​     |Electrolytic Capacitor |47uF    |2        |RAD 105 47/35       | +^Name       ​^Part ​                   ^Value ​ ^Quantity ^Reichelt Order Code ^Mouser
-|C3         ​|Electrolytic Capacitor |10uF    |1        |RAD 105 10/63       | +|**Regular Parts** ​                                                     ​|||||| 
-|C4-C10 ​    ​|Capacitor ​             |100nF ​  ​|7 ​       |Z5U-2,5 100N        | +|C1,​C2 ​     |Electrolytic Capacitor |47uF    |2        |RAD 105 47/35       |140-REA470M1CBK0511P ​
-|IC1        |D/A Converter ​         |TLV5630 |1        |not available ​      | +|C3         ​|Electrolytic Capacitor |10uF    |1        |RAD 105 10/63       |140-RGA100M1VBK0511G ​
-|IC3,​IC4 ​   |OpAmp ​                 |TL074 ​  ​|2 ​       |TL 074 DIL          | +|C4-C10 ​    ​|Capacitor ​             |100nF ​  ​|7 ​       |Z5U-2,5 100N        ​|594-A104K15X7RF5UAA  ​
-|           ​|Sockets for OpAmps ​    ​|14-pin ​ |2        |GS 14               | +|IC1        |D/A Converter ​         |TLV5630 |1        |not available ​      |595-TLV5630IDW ​      | 
-|J1,​J2 ​     |Pin Header Single Row  |none    |2        |see below           | +|IC3,​IC4 ​   |OpAmp ​                 |TL074 ​  ​|2 ​       |TL 074 DIL          ​|595-TL074IN ​         | 
-|J3,​J4 ​     |Pin Header Single Row  |none    |2        |see below           | +|           ​|Sockets for OpAmps ​    ​|14-pin ​ |2        |GS 14               |571-1-2199298-3 ​     ​
-|JP1,JP2,J5 |Pin Header Dual Row    |none    |3        |see below           | +|J1,​J2 ​     |Pin Header Single Row  |none    |2        |see below           |855-M20-9994045 ​     ​
-|LED1       |LED 3 mm               ​|none ​   |1        |LED 3MM GN          | +|J3,​J4 ​     |Pin Header Single Row  |none    |2        |see below           |855-M20-9994045 ​     ​
-|P1-P8 ​     |Precision Trimpot(64Y) |5k      |8        |64Y-5,​0k ​           | +|JP1,JP2,J5 |Pin Header Dual Row    |none    |3        |see below           |571-5-146254-8 ​      
-|R1-R8 ​     |Metal Film Resistor 1% |27k     ​|8 ​       |METALL 27,0K        | +|LED1       |LED 3 mm               ​|none ​   |1        |LED 3MM GN          ​|604-WP132XID ​        
-|R9-R16 ​    ​|Metal Film Resistor 1% |15k     ​|8 ​       |METALL 15,0K        | +|P1-P8 ​     |Precision Trimpot(64Y) |5k      |8        |64Y-5,​0k ​           ​|594-64Y502 ​          
-|R49        |Resistor |470     ​|1 ​       |METALL 470          | +|R1-R8 ​     |Metal Film Resistor 1% |27k     ​|8 ​       |METALL 27,0K        ​|594-MBB02070C2702FC1
-|           |(for R49, a standard resistor can also be used)             ​|||| +|R9-R16 ​    ​|Metal Film Resistor 1% |15k     ​|8 ​       |METALL 15,0K        ​|594-MBB02070C1502FC1
-|**Additional Parts for the Bipolar Option:​** ​                          ​||||| +|R49        |Resistor |470     ​|1 ​       |METALL 470          ​|71-CCF07470RGKE36
-|P9-P16 ​    ​|Precision Trimpot(64Y) |200     ​|8 ​       |64Y-200 ​            | +|           |(for R49, a standard resistor can also be used)             ||||| 
-|R17-R32 ​   |Metal Film Resistor 1% |10k     ​|16 ​      ​|METALL 10,0K        | +|**Additional Parts for the Bipolar Option:​** ​                          |||||| 
-|R33-R40 ​   |Metal Film Resistor 1% |2.2k    |8        |METALL 2,20K        | +|P9-P16 ​    ​|Precision Trimpot(64Y) |200     ​|8 ​       |64Y-200 ​            |594-64Y201
-|R41-R48 ​   |Metal Film Resistor 1% |1.5k    |8        |METALL 1,50K        |+|R17-R32 ​   |Metal Film Resistor 1% |10k     ​|16 ​      ​|METALL 10,0K        ​|594-MBB02070C1002FC1
 +|R33-R40 ​   |Metal Film Resistor 1% |2.2k    |8        |METALL 2,20K        ​|594-MBB02070C2201FC1
 +|R41-R48 ​   |Metal Film Resistor 1% |1.5k    |8        |METALL 1,50K        ​|594-MBB02070C1501FC1|
  
 **Other Parts:** **Other Parts:**
Line 81: Line 83:
 Feel free to add/update the above lists if you find other sources for the TLV or you've composed an order list for other shops (like Mouser, Digikey etc). Feel free to add/update the above lists if you find other sources for the TLV or you've composed an order list for other shops (like Mouser, Digikey etc).
  
-=== The PCB ===+===== The PCB =====
  
 In the center, there'​s the D/A converter and a power LED (signaling power on the 5V rail). The upper area contains the output amplifiers (TL074). Output gain can be adjusted with the trimmers P1-P8. On both sides of the DAC, there'​s the bipolar option. On JP1 and JP2, you can select unipolar or bipolar mode for each channel. The zero offset in bipolar mode is adjusted with P9-P16. In the center, there'​s the D/A converter and a power LED (signaling power on the 5V rail). The upper area contains the output amplifiers (TL074). Output gain can be adjusted with the trimmers P1-P8. On both sides of the DAC, there'​s the bipolar option. On JP1 and JP2, you can select unipolar or bipolar mode for each channel. The zero offset in bipolar mode is adjusted with P9-P16.
Line 91: Line 93:
 {{seppoman:​mbhp_aout_ng_r1_schematic.pdf|Schematic}} {{seppoman:​mbhp_aout_ng_r1_schematic.pdf|Schematic}}
  
-[[http://​www.seppoman.de/​aout_ng/​mbhp_aout_ng_r1.brd|Eagle layout]]+{{:​mbhp_aout_ng_r1.zip|Eagle layout ​and schematic}}
  
-[[http://​www.seppoman.de/​aout_ng/​mbhp_aout_ng_r1.sch|Eagle schematic]] 
  
-=== Software Support ===+===== Software Support ​=====
  
 Currently, the following application support the AOUT_NG: Currently, the following application support the AOUT_NG:
Line 104: Line 105:
 [[http://​www.ucapps.de/​midibox_cv.html|Midibox CV]] [[http://​www.ucapps.de/​midibox_cv.html|Midibox CV]]
  
-=== Options ===+===== Options ​=====
  
 The bipolar option is, like the name implies, optional. I'd recommend to add it anyway as the needed parts are not very expensive. If one needs it later, it's less hassle to only change a few jumpers than to disconnect and remove the board, start soldering again and reconnect everything. If you really don't want the bipolar option, you can leave out P9-P16 and R17-R48. But as long as you have bought SmashTV'​s kit, you've got the needed parts anyway. The bipolar option is, like the name implies, optional. I'd recommend to add it anyway as the needed parts are not very expensive. If one needs it later, it's less hassle to only change a few jumpers than to disconnect and remove the board, start soldering again and reconnect everything. If you really don't want the bipolar option, you can leave out P9-P16 and R17-R48. But as long as you have bought SmashTV'​s kit, you've got the needed parts anyway.
Line 110: Line 111:
 There are also pin- and software-compatible versions of the DAC with lower resolution. Although I don't recommend it, if you're definitely sure that lower resolution is sufficient for your needs, you can replace the TLV5630 with a TLV5631 (10 bit) or TLV5632 (8 bit). This change can be done without any other software/​hardware modifications and you can save 5-10 bucks by doing it. But normally I don't think the saved money should be worth the sacrifice in precision. With lower resolution, a noticeable steppiness in e.g. the VCF cutoff frequency will occur, so think twice before **not** using the (normal) TLV5630! There are also pin- and software-compatible versions of the DAC with lower resolution. Although I don't recommend it, if you're definitely sure that lower resolution is sufficient for your needs, you can replace the TLV5630 with a TLV5631 (10 bit) or TLV5632 (8 bit). This change can be done without any other software/​hardware modifications and you can save 5-10 bucks by doing it. But normally I don't think the saved money should be worth the sacrifice in precision. With lower resolution, a noticeable steppiness in e.g. the VCF cutoff frequency will occur, so think twice before **not** using the (normal) TLV5630!
  
-=== Connectors ===+===== Connectors ​=====
  
 **J1:** data connection to the core. The pin assignment is the same as on the AOUT module. For connection to MBSID, the blue lines on [[http://​www.ucapps.de/​midibox_sid/​mbsid_aout_interconnections.pdf|this link]] show the necessary connections. **J1:** data connection to the core. The pin assignment is the same as on the AOUT module. For connection to MBSID, the blue lines on [[http://​www.ucapps.de/​midibox_sid/​mbsid_aout_interconnections.pdf|this link]] show the necessary connections.
Line 120: Line 121:
 **J4:** auxiliary analog power out, e.g. for powering a connected VCF **J4:** auxiliary analog power out, e.g. for powering a connected VCF
  
-**J5:** CV out. Bottom row are the 8 control voltages, upper row is GND.+**J5:** CV out. Bottom row are the 8 control voltages, upper row is GND. \\
 {{:​connections_core_aout_ng.jpg|}} {{:​connections_core_aout_ng.jpg|}}
  
-//Can someone update the picture above to show connection to a modern core?  It's showing connection to a PIC core.  Also, could we use some color other than red on green?// 
  
-=== Soldering ===+For connecting to a 32-bit Core a special ribbon cable must be prepared when using standard 2*5 IDCs: 
 + 
 +{{:​seppoman:​aout_ng_end.jpeg?​direct&​600|}} 
 + 
 +Pin mapping: 
 +^ ^Core (STM/​LPC)^AOUT_NG^ 
 +^Pin|//J19 (top row)//​|//​J1//​| 
 +^1|Vs|Vs| 
 +^2|Vd|Vd| 
 +^3|SO|CS(=RC)| 
 +^4|SC|SI| 
 +^5|RC1|SC| 
 + 
 +Wire the Core end 1:1 and connect to J19. Note pin 1 is on the bottom left, on the same side as the polarising notch. Take wires 9 and 10 (red and brown in this image) and insert them between wires 4 and 5 (purple and blue in this image). Shift wires 5-8 over so 5->7, 6->8 etc. 
 + 
 +When clamping the connector shut, make sure the wires are straight with no unintended short circuits (0V, +5V and SC use two pins each). Check the Core schematic to be certain. 
 + 
 +[[http://​www.ucapps.de/​mbhp/​mbhp_core_stm32f4.pdf]] \\ 
 +[[http://​www.ucapps.de/​mbhp/​mbhp_core_lpc17.pdf]] 
 + 
 + 
 + 
 + 
 + 
 + 
 + 
 +===== Soldering ​=====
  
 Like with any other module, it is good practice to solder the components from flat to high. This means: First solder the TLV5630 (carefully inspect the IC that there are no shorts between the narrow legs! Use a magnifying glass if you have one). Then solder R49 and the LED, the 100nF capacitors, chip sockets, the other resistors, pin headers, trimmers and finally the electrolytic capacitors. When you're finished, carefully inspect the board for shorts, bad solder joints etc. Like with any other module, it is good practice to solder the components from flat to high. This means: First solder the TLV5630 (carefully inspect the IC that there are no shorts between the narrow legs! Use a magnifying glass if you have one). Then solder R49 and the LED, the 100nF capacitors, chip sockets, the other resistors, pin headers, trimmers and finally the electrolytic capacitors. When you're finished, carefully inspect the board for shorts, bad solder joints etc.
  
-=== Configuration ===+===== Configuration ​=====
  
 **Jumpers:​** \\ **Jumpers:​** \\
Line 135: Line 161:
 By setting jumpers on JP1 and JP2, you can select normal or bipolar operation for each CV channel. When setting two jumpers like on channel 1 of the picture above, the channel is in bipolar mode. Channel 2 in the picture is in normal mode. Please select one mode for every channel, even for channels you won't use! If you have left out the parts for the bipolar option, you can solder bridges instead of the horizontal jumpers. By setting jumpers on JP1 and JP2, you can select normal or bipolar operation for each CV channel. When setting two jumpers like on channel 1 of the picture above, the channel is in bipolar mode. Channel 2 in the picture is in normal mode. Please select one mode for every channel, even for channels you won't use! If you have left out the parts for the bipolar option, you can solder bridges instead of the horizontal jumpers.
  
-=== First Test ===+===== First Test =====
  
 As the most expensive part on the module (the DAC) is already soldered to the board, visual inspection before powering up is more important than on other modules! So double-check all solder joints again before proceeding. You can leave out the TL074s for a first test. Then connect J1 to the core. Power up your Midibox. If the LED doesn'​t light up, IMMEDIATELY switch off power and re-check all connections and soldering. If you've connected J1 the wrong way, the LED could still light up (dimmer than normal), and the TLV5630 start to get increasingly hot, possibly damaging it after a while. As the most expensive part on the module (the DAC) is already soldered to the board, visual inspection before powering up is more important than on other modules! So double-check all solder joints again before proceeding. You can leave out the TL074s for a first test. Then connect J1 to the core. Power up your Midibox. If the LED doesn'​t light up, IMMEDIATELY switch off power and re-check all connections and soldering. If you've connected J1 the wrong way, the LED could still light up (dimmer than normal), and the TLV5630 start to get increasingly hot, possibly damaging it after a while.
 If the LED is on, you can now connect analog power (+/- 12V) to J3. Make sure you have the right polarity or else you will blow up C1 and C2! If the analog PSU is the same as the one used for the rest of the Midibox (i.e. 5V and +/- 12V already have the same ground potential), don't connect ground to J3 to avoid ground loops. Then measure the voltages between pin 4 and GND (should be +12V) and pin 11 and GND (should be -12V) on the sockets of IC3 and IC4. When everything is ok, power down the box, install IC3 and IC4 to their sockets. Then power up again and recheck all voltages. Congratulations,​ your AOUT_NG is up and running :) If the LED is on, you can now connect analog power (+/- 12V) to J3. Make sure you have the right polarity or else you will blow up C1 and C2! If the analog PSU is the same as the one used for the rest of the Midibox (i.e. 5V and +/- 12V already have the same ground potential), don't connect ground to J3 to avoid ground loops. Then measure the voltages between pin 4 and GND (should be +12V) and pin 11 and GND (should be -12V) on the sockets of IC3 and IC4. When everything is ok, power down the box, install IC3 and IC4 to their sockets. Then power up again and recheck all voltages. Congratulations,​ your AOUT_NG is up and running :)
  
-=== Calibration ===+===== Calibration ​=====
  
 Calibration of the outputs is necessary to achieve good results and interchangeability. In unipolar mode, the output gain can be adjusted with the trimpots P1..P8. Additionally,​ in bipolar mode, P9..P16 are used to adjust zero offset. Calibration of the outputs is necessary to achieve good results and interchangeability. In unipolar mode, the output gain can be adjusted with the trimpots P1..P8. Additionally,​ in bipolar mode, P9..P16 are used to adjust zero offset.
Line 160: Line 186:
  
  
-**Midibox SEQ V4** +**Midibox SEQ V3** 
  
-First edit the config file on the SD Card to use the AOUT_NG (i.e. #define AOUT_INTERFACE_TYPE 3) and save it ! 
 //For Seq V3, recompile the MB-SEQ3 firmware to use the AOUT_NG (i.e. #define AOUT_INTERFACE_TYPE 3). The default .hex files in the firmware distribution may not have this setting.// //For Seq V3, recompile the MB-SEQ3 firmware to use the AOUT_NG (i.e. #define AOUT_INTERFACE_TYPE 3). The default .hex files in the firmware distribution may not have this setting.//
  
Line 217: Line 242:
 - -
  
-**Midibox CV** +**Midibox ​SEQ V4**  
 + 
 +Press the EXIT button, use the scroll wheel to enter the CV configuration page, and select the AOUT_NG interface. 
 + 
 +This page also allows you to calibrate the CV outputs. Select the AOUT channel you wish to calibrate (1-8) using the first encoder. Press the button underneath the Calibr. label and turn the encoder to select a calibration voltage. The options are: Min/​Middle/​Max/​1V,​ 2V, 4V, 8V. Turn the encoder until the 1V is selected. Measure the voltage at the channel you are calibrating. It should equal 1V. If it doesn'​t,​ adjust the trimpot P1(for the first channel) until the multimeter reads 1V. Follow the process for each voltage. It normally is not possible to get each voltage perfectly set. The goal is to get all of the voltages as close to the target as possible. 
 + 
 +Once the calibration is complete, turn the encoder until '​OFF'​ is showing.  
 + 
 +**Midibox CV V1** 
  
 Recompile the MB-CV firmware to use the AOUT_NG (i.e. #define AOUT_INTERFACE_TYPE 3). The default .hex files in the firmware distribution may not have this setting. Recompile the MB-CV firmware to use the AOUT_NG (i.e. #define AOUT_INTERFACE_TYPE 3). The default .hex files in the firmware distribution may not have this setting.
aout_ng.1386751840.txt.gz · Last modified: 2013/12/11 08:50 by seppoman