{"id":96,"date":"2017-02-18T18:51:41","date_gmt":"2017-02-18T18:51:41","guid":{"rendered":"http:\/\/blog.petejefferson.co.uk\/?p=96"},"modified":"2017-02-18T18:51:41","modified_gmt":"2017-02-18T18:51:41","slug":"denon-dn-2000f-mk-ii-via-usb-part-2","status":"publish","type":"post","link":"https:\/\/blog.petejefferson.co.uk\/?p=96","title":{"rendered":"Denon DN-2000F MK II via USB : Part 2"},"content":{"rendered":"<h1>This project is still alive! \ud83d\ude42<\/h1>\n<p>I know it&#8217;s been a while since posting an update on this project. I&#8217;ve picked it back up and been working on it on and off for the past few months.<\/p>\n<p>The focus has still remained on the DN-2000F mk II model, and I believe I now have the hardware side of it finalised.<\/p>\n<h2>Hardware<\/h2>\n<p>After much research with various USB UART controllers, the SiLabs CP2102 seemed to be the best choice. You can pick them up for cheap from many eBay sellers and come on PCB boards that have a USB connector and breakout pins.<\/p>\n<p><a href=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/cp2102white.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-97 size-full\" src=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/cp2102white.png\" alt=\"\" width=\"300\" height=\"112\" \/><\/a>\u00a0&#8211;\u00a0<em>SiLabs CP2102 USB to UART<\/em><\/p>\n<p>There are 6 breakout pins:<br \/>\n&#8211; 3.3V<br \/>\n&#8211; RST<br \/>\n&#8211; TXD<br \/>\n&#8211; RXD<br \/>\n&#8211; GND<br \/>\n&#8211; 5V<\/p>\n<p>The Denon DN2000F mk II remote, the RC-35B, runs on 5 volts so we can power it from the 5V pin. This will only work if the USB port is capable of delivering ~150mA, which standard USB ports on a computer will be able to provide. If using a hub, ensure it&#8217;s a powered USB hub.<\/p>\n<p>Other required components:<\/p>\n<p>&#8211; 1x mini DIN male to male cable<br \/>\n&#8211; 1x MC3487 IC (DIP)<br \/>\n&#8211; 1x 10nF capacitor<br \/>\n&#8211; 2x 1K\u03a9 resistors<br \/>\n&#8211; Push-in terminal blocks<br \/>\n&#8211; Jump wires<\/p>\n<p>You&#8217;ll also need a\u00a0breadboard, I&#8217;m using a KandH AD-14.<\/p>\n<p>Cut one end off the 8 pin male to male mini DIN cable and strip back the wires. You&#8217;ll then need to note which colour corresponds\u00a0to which pin.<\/p>\n<p><a href=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/maledin-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-99 size-full\" src=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/maledin-1.png\" alt=\"\" width=\"146\" height=\"143\" \/><\/a>\u00a0&#8211; <em>Looking at the male mini DIN plug. Pins have been numbered.<\/em><\/p>\n<p>In the case of my cable:<\/p>\n<table class=\"easy-table easy-table-default \" border=\"0\">\n<thead>\n<tr>\n<th><strong>Pin<\/strong><\/th>\n<th>Colour<\/th>\n<th>Notes<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>1<\/code><\/td>\n<td>Brown<\/td>\n<td>Ground<\/td>\n<\/tr>\n<tr>\n<td><code>2<\/code><\/td>\n<td>Red<\/td>\n<td>5V<\/td>\n<\/tr>\n<tr>\n<td><code>3<\/code><\/td>\n<td>Black<\/td>\n<td>Ground<\/td>\n<\/tr>\n<tr>\n<td><code>4<\/code><\/td>\n<td>Purple<\/td>\n<td>RX<\/td>\n<\/tr>\n<tr>\n<td><code>5<\/code><\/td>\n<td>Orange<\/td>\n<td>5V<\/td>\n<\/tr>\n<tr>\n<td><code>6<\/code><\/td>\n<td>Blue<\/td>\n<td>TX<\/td>\n<\/tr>\n<tr>\n<td><code>7<\/code><\/td>\n<td>Green<\/td>\n<td>TX<\/td>\n<\/tr>\n<tr>\n<td><code>8<\/code><\/td>\n<td>Yellow<\/td>\n<td>RX<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Powering the RC-35B<\/h3>\n<p>Pins 1 and 3 are interconnected inside the RC-35B, as are pins 2 and 5. Pair (or twist) the brown and black wires together. Do the same with the red and orange wires.<\/p>\n<p>Connect the brown and black wires to GND and the red and orange wires to the 5V breakout pins.<\/p>\n<h3>MC3487<\/h3>\n<p>The MC3487 is used to convert between TTL and RS-422 signals.<\/p>\n<p><a href=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/alt_snls355c.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-102 size-medium\" src=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/alt_snls355c-300x279.gif\" alt=\"\" width=\"300\" height=\"279\" \/><\/a><\/p>\n<p>The MC3487 operates on a 5V supply. Connect VCC (pin 16) to the 5V breakout pin. You should also add a capacitor (10nF) between VCC and GND (pin 8). Connect GND to the GND breakout pin.<\/p>\n<p>Connect the inverting OUTPUTS C (pin 11) to the green wire and connect the non-inverting OUTPUTS C (pin 10) to the blue wire. Connect INPUT C (pin 9) to the TXD breakout pin.<\/p>\n<p>Connect INPUT A (pin 1) to the the yellow wire via a\u00a01K\u03a9 resistor and connect INPUT B (pin 7) to the purple wire, again via a 1K\u03a9 resistor. Connect OUTPUT A (pin 2) to the RXD breakout pin.<\/p>\n<h3>How it looks on a breadboard<\/h3>\n<p>Note that the edge terminals are connected to the following on the USB breakout:<\/p>\n<p>RED: 5V<br \/>\nBLACK: GND<br \/>\nBLUE: TXD<br \/>\nGREEN: RXD<\/p>\n<p>I started off with inserting the mini DIN cable wires in to terminals and plugged them in to the breadboard:<\/p>\n<p><a href=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-124 size-medium\" src=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb1-300x160.jpg\" alt=\"\" width=\"300\" height=\"160\" srcset=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb1-300x160.jpg 300w, https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb1.jpg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Then plugged in the MC3487:<\/p>\n<p><a href=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-125 size-medium\" src=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb2-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb2-300x225.jpg 300w, https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb2.jpg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Connected 5V to the MC3487 and added in the decoupling capacitor. I also connected the 5V to the red and orange wires:<\/p>\n<p><a href=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-127 size-medium\" src=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb4-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb4-300x225.jpg 300w, https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb4.jpg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Next, the GND is connected GND on the MC3487 and the black and brown wires:<\/p>\n<p><a href=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-128 size-medium\" src=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb5-300x220.jpg\" alt=\"\" width=\"300\" height=\"220\" srcset=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb5-300x220.jpg 300w, https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb5.jpg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Connected the OUTPUTS C of the MC3487 and INPUT C to the TXD breakout pin:<\/p>\n<p><a href=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-130 size-medium\" src=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb7-300x251.jpg\" alt=\"\" width=\"300\" height=\"251\" srcset=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb7-300x251.jpg 300w, https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb7.jpg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Plugged in 1K\u03a9 resistors for the yellow and purple wires:<\/p>\n<p><a href=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb8.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-123 size-medium\" src=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb8-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb8-300x225.jpg 300w, https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb8.jpg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Connected INPUT A and B on the MC3487 and connected OUTPUT A to the RXD breakout pin:<\/p>\n<p><a href=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb10.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-131 size-medium\" src=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb10-300x219.jpg\" alt=\"\" width=\"300\" height=\"219\" srcset=\"https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb10-300x219.jpg 300w, https:\/\/blog.petejefferson.co.uk\/wp-content\/uploads\/2017\/02\/bb10.jpg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>And that&#8217;s it.<\/p>\n<p>The next post will be around the software and looking how it can interact with the likes of Mixxx.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This project is still alive! \ud83d\ude42 I know it&#8217;s been a while since posting an update on this project. I&#8217;ve picked it back up and been working on it on and off for the past few months. The focus has still remained on the DN-2000F mk II model, and I believe I now have the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2,3,7],"class_list":["post-96","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-denon","tag-dn-2000f","tag-usb"],"_links":{"self":[{"href":"https:\/\/blog.petejefferson.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.petejefferson.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.petejefferson.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.petejefferson.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.petejefferson.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=96"}],"version-history":[{"count":0,"href":"https:\/\/blog.petejefferson.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/96\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.petejefferson.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.petejefferson.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.petejefferson.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}