{"id":176,"date":"2012-03-11T21:00:42","date_gmt":"2012-03-11T21:00:42","guid":{"rendered":"http:\/\/stompville.co.uk\/?p=176"},"modified":"2020-10-11T15:41:27","modified_gmt":"2020-10-11T15:41:27","slug":"piezo-di","status":"publish","type":"post","link":"https:\/\/stompville.co.uk\/?p=176","title":{"rendered":"Altoids piezo DI box"},"content":{"rendered":"<p><strong>There is an update<\/strong> to this article <a title=\"Altoids piezo DI revisited\" href=\"https:\/\/stompville.co.uk\/?p=245\">here<\/a>.<\/p>\n<p>As I mentioned in my post on the vagaries of <a title=\"Stompville - phantom power, it's spooky!\" href=\"https:\/\/stompville.co.uk\/?p=148\" target=\"_blank\" rel=\"noopener noreferrer\">phantom power<\/a>, I have been looking at designs for a compact self-contained box to connect an upright bass to the PA.\u00a0 The bass pick-up in question is a piezo jobbie integrated into the bridge like the <a title=\"http:\/\/www.fishman.com\/products\/view\/bp-100-classic-series-upright-bass-pickup\" href=\"https:\/\/www.fishman.com\/portfolio\/bp-100-classic-series-upright-bass-pickup\/\" target=\"_blank\" rel=\"noopener noreferrer\">Fishman BP-100<\/a>.\u00a0 Needless to say Fishman recommends a suitable pre-amp if using a cable longer than 10 feet (3m).\u00a0 Since starting the project, I mentioned it to another friend who has purchased an inexpensive pickup for her violin &#8211; similar to the one pictured below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-183\" title=\"P113SV\" src=\"http:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/P113SV.gif\" alt=\"Violin pickup\" width=\"292\" height=\"230\" \/><\/p>\n<p>The tone\/volume unit is passive &#8211; there is no amplifier and no battery &#8211; so again, major tone-suckage has been experienced.<\/p>\n<p>Whilst trawling the net looking for inspiration, I came across Scott Helmke&#8217;s &#8220;<a title=\"http:\/\/scotthelmke.com\/Mint-box-buffer.html\" href=\"http:\/\/scotthelmke.com\/Mint-box-buffer.html\" target=\"_blank\" rel=\"noopener noreferrer\">Mint Box Buffer<\/a>&#8221; project and the Altoids Piezo DI box was born.\u00a0 Let&#8217;s cut straight to the chase and show a photo of the finished item:<\/p>\n<p style=\"text-align: left;\"><a href=\"http:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/P114SV.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-185\" title=\"P114SV\" src=\"http:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/P114SV-300x264.jpg\" alt=\"Altoids Piezo DI Box\" width=\"300\" height=\"264\" srcset=\"https:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/P114SV-300x264.jpg 300w, https:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/P114SV.jpg 800w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>Not much to see from the outside.\u00a0 There&#8217;s a 3.5mm jack for the input, an illuminated switch to select battery or phantom power and a 6.35mm (TRS) jack for the balanced\/unbalanced output.\u00a0 Let&#8217;s have a look inside:<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/P115SV.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-186\" title=\"P115SV\" src=\"http:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/P115SV-300x280.jpg\" alt=\"Internal View\" width=\"300\" height=\"280\" srcset=\"https:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/P115SV-300x280.jpg 300w, https:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/P115SV.jpg 800w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>There&#8217;s a single-sided PCB with a JFET buffer and an op-amp balanced driver.\u00a0 The unit may be powered from battery or phantom power.\u00a0 For best performance the unit should be connected to to a P48 (i.e. 48Vd.c.) phantom-powered microphone input on a mixer but if necessary\u00a0 it can be battery powered and plugged into a balanced or unbalanced line input.\u00a0 The reason there is a 3.5mm jack (rather than 1\/4&#8243;) on the input is that players with small acoustic instruments (such as violin, mandolin or ukulele) will appreciate the smaller jack plug on the end of their passive pickup.\u00a0 In order to use the unit with a microphone input a special output cable will need to be made with a 3 pole TRS plug on one end and a male 3-pin XLR on the other end.\u00a0 Assuming the player keeps the DI box about their person, the special cable will only need to be about 2m or 6 feet long as &#8211; once it gets to the floor &#8211; it can be plugged into a conventional mic lead of any suitable length.<\/p>\n<p>Here&#8217;s the schematic:<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/115SV.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-192\" title=\"115SV\" src=\"http:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/115SV-1024x658.png\" alt=\"Altoids piezo DI schematic\" width=\"595\" height=\"382\" srcset=\"https:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/115SV-1024x658.png 1024w, https:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/115SV-300x193.png 300w, https:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/115SV.png 1100w\" sizes=\"(max-width: 595px) 100vw, 595px\" \/><\/a><\/p>\n<p>C1 is for RF immunity.\u00a0 R1 and C2 form a low-pass filter with a corner frequency of 34kHz again to (hopefully) eliminate RF interference.\u00a0 C3 blocks DC from the instrument.\u00a0 The input impedance is essentially set by bias resistor R2 at 10M ohm.\u00a0 Q1 forms a source follower with slightly less than unity voltage gain.\u00a0 Q2 forms a constant current source to bias Q1.\u00a0 R3 provides negative feedback to Q2 to improve its temperature stability and reduce the value of the constant current from Q2&#8217;s Idss to some smaller value (dependant on the specific JFET used for Q2).\u00a0 U1 forms a balanced driver.\u00a0 There is provision to add gain at the non-inverting stage of U1.<\/p>\n<p>For no (unity) gain (recommended):<\/p>\n<ul>\n<li>R5 short circuit (fit wire link in place of R5)<\/li>\n<li>R6 omitted<\/li>\n<\/ul>\n<p style=\"text-align: left;\">Alternatively, voltage gain =\u00a0 1 + Rf\/Rg.<\/p>\n<ul>\n<li>suggest R5 at 33k<\/li>\n<li>R6 at 10k<\/li>\n<\/ul>\n<p>to give a voltage gain of 4.3 or +12.7dB.<\/p>\n<p>The choice of op-amp is entirely up to you.\u00a0 I used an LM833 but a TL072 or RC4558 will also work.\u00a0 Note that the NE5532 will not work with phantom power because it requires too much current.\u00a0 Of the op-amps I tried (all of the above and from a test involving only one sample of each device), the TL072 requires marginally less current than the LM833 and therefore supply voltage will be higher and the driver will have more headroom.\u00a0 However the LM833 may well sound better than the TL072.<\/p>\n<p>D1, D2, D3, D4, R11 and R12 serve to protect the op-amp output stage.<\/p>\n<p>The battery is only connected when a plug is inserted in the output jack.\u00a0 If the switch is pushed in, the LED will illuminate to remind you that the unit is operating on battery power.\u00a0 Finally, there is 400uF of power buffering so the unit will take a few seconds to &#8220;warm up&#8221; if it has not been used for a while and the capacitors are fully discharged.<\/p>\n<p>The grounding scheme is important and should be followed carefully. A small wire should be soldered from the chassis connection on the pcb to the Altoids tin (which should have a sheet of thin cardboard in the bottom to prevent short circuits).\u00a0 Also, I drilled through and soldered a brass M3 nut to the inside of the box so that the lid can be screwed shut.<\/p>\n<p>Here are the PCB details:<\/p>\n<p><a href=\"http:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/P116SV.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 2px solid black;\" title=\"P116SV\" src=\"http:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/P116SV-150x150.png\" alt=\"pcb overlay\" width=\"150\" height=\"150\" \/><\/a> \u00a0 <a href=\"http:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/P117SV.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" style=\"border: 2px solid black;\" title=\"P117SV\" src=\"http:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/03\/P117SV-150x150.jpg\" alt=\"pcb pattern\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>Note that the PCB layout uses 1\/8W (0.125W) size resistors except for R15 which is a 1\/4W size.\u00a0 At the time of writing all components are available from <a title=\"http:\/\/www.rapidonline.com\" href=\"http:\/\/www.rapidonline.com\" target=\"_blank\" rel=\"noopener noreferrer\">Rapid Electronics<\/a> in the UK.<\/p>\n<p>Note that the presence of R3 in the circuit means that you shouldn&#8217;t need to match Q1 and Q2.\u00a0 However, matching is <a title=\"Stompville - testing and matching JFETS\" href=\"https:\/\/stompville.co.uk\/?p=112\" target=\"_blank\" rel=\"noopener noreferrer\">highly recommended<\/a> and you should select for similar Idss of about 2-3mA.\u00a0 The sample with the higher Idss should be used for Q1 and the lower for Q2.\u00a0 If your Idss values are substantially higher then you may need to alter the value of R3 to bring the quiescent current down to a suitably low value.\u00a0 <img loading=\"lazy\" decoding=\"async\" title=\"svfavicon.png\" src=\"http:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/02\/svfavicon.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/p>\n<p><strong>Errata &#8211; Added 18 March 2012<\/strong><\/p>\n<p>It turns out that I read the datasheet for the 1\/4&#8243; jack socket incorrectly and because the pinout of the jack socket is symmetric, I didn&#8217;t notice on the prototype. Consequently the PCB layout APDV2DS07 inverts the phase of the signal.\u00a0 If you are concerned about absolute phase (I&#8217;m not), you can work around this by crossing over the two links on the PCB.\u00a0\u00a0 <img loading=\"lazy\" decoding=\"async\" title=\"svfavicon.png\" src=\"http:\/\/stompville.co.uk\/wp-content\/uploads\/2012\/02\/svfavicon.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is an update to this article here. As I mentioned in my post on the vagaries of phantom power, I have been looking at designs for a compact self-contained box to connect an upright bass to the PA.\u00a0 The bass pick-up in question is a piezo jobbie integrated into the bridge like the Fishman\u2026 <span class=\"read-more\"><a href=\"https:\/\/stompville.co.uk\/?p=176\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/stompville.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/176"}],"collection":[{"href":"https:\/\/stompville.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stompville.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stompville.co.uk\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/stompville.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=176"}],"version-history":[{"count":4,"href":"https:\/\/stompville.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/176\/revisions"}],"predecessor-version":[{"id":1443,"href":"https:\/\/stompville.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/176\/revisions\/1443"}],"wp:attachment":[{"href":"https:\/\/stompville.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stompville.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stompville.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}