{"id":230,"date":"2019-10-21T22:33:45","date_gmt":"2019-10-21T22:33:45","guid":{"rendered":"https:\/\/w3axl.com\/?p=230"},"modified":"2020-10-28T22:48:40","modified_gmt":"2020-10-29T03:48:40","slug":"diy-full-duplex-its-easier-than-you-think","status":"publish","type":"post","link":"https:\/\/w3axl.com\/?p=230","title":{"rendered":"DIY Full-Duplex? It&#8217;s easier than you think!"},"content":{"rendered":"\n<p>Well, it&#8217;s been a while. Between finishing out my EE degree, moving my life three states away, and setting up at a new job, I&#8217;ve barely had time to do <em>anything<\/em> ham related, let alone some DIY designs. Now that it&#8217;s been a few months, I&#8217;ve settled in and started busting out the Kicad skills and lab tools to get the wheels turning on a new and exciting long-term project here in the shack.<\/p>\n\n\n\n<p>After weeks of tinkering, tuning, and troubleshooting, I&#8217;m proud to reveal the pre-alpha version of what I&#8217;ve been toiling away at during my absence from the internet: an open-source, full-duplex 15W FM satellite rig that you can build <em>at home<\/em> using nothing more than a soldering iron and a multimeter!<\/p>\n\n\n\n<p>This post will be a very high-level overview of my current plan for the rig &#8211; how it will all work and what&#8217;s going on inside. Later posts will go into way more detail on the various systems and how they all mesh together, but I&#8217;m at a point now where I&#8217;m confident that this won&#8217;t be another one of those projects that never sees the light of day.<\/p>\n\n\n\n<p>I give you &#8211; the AXL-2715 (<strong>2<\/strong>m <strong>7<\/strong>0cm <strong>15<\/strong>-watt transceiver):<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/messy-bench-e1569982350438-1024x576.jpg\" alt=\"\" class=\"wp-image-233\" width=\"668\" height=\"375\" srcset=\"https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/messy-bench-e1569982350438-1024x576.jpg 1024w, https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/messy-bench-e1569982350438-300x169.jpg 300w, https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/messy-bench-e1569982350438-768x432.jpg 768w, https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/messy-bench-e1569982350438.jpg 1920w\" sizes=\"(max-width: 668px) 100vw, 668px\" \/><figcaption>Oooh, shiny! Pay no mind to the messy bench &#8211; I&#8217;m sure yours is no better.<\/figcaption><\/figure><\/div>\n\n\n\n<!--more-->\n\n\n\n<h4>For the Birds<\/h4>\n\n\n\n<p>During my last year at Purdue, I helped set up an absolutely bangin&#8217; satellite ground station for 2m\/70cm. After logging nearly 100 contacts on almost every transponder satellite that passes over the Midwest, I realized I was hooked on LEO communications. The downside? If you want to upgrade from your run-of-the-mill dual band, half-duplex HT for talking to the FM birds, you&#8217;re going to end up paying a pretty penny. Looking at what&#8217;s on the market today: the gold-standard full duplex HT would be the ubiquitous TH-D72A from Kenwood. At around $380, it&#8217;s definitely not a budget-friendly radio for someone fresh out of college &#8211; and that&#8217;s just for 5W of power. If you want to move up to the big boys  &#8211; for example the all-mode TS-790A (the rig we run at Purdue) &#8211; you&#8217;re looking at something upwards of $700 if you&#8217;re lucky on the used market. I wanted something a bit more reasonable, and a bit more&#8230;satisfying&#8230;to set up. Of course, I probably chose the most difficult route possible to get on the air with amsat, but there&#8217;s something rewarding about making your first QSO with a radio you built yourself.<\/p>\n\n\n\n<h4>Simple at Heart<\/h4>\n\n\n\n<p>When I first started the planning for this rig, I had to decide right away how deep I wanted to go down the hole of RF design. Some people would start from scratch, building an entire FM frontend from scratch &#8211; modulators and mixers galore. Truth be told, if I was going for a full-featured and multi-mode radio with the best performance possible I probably would&#8217;ve gone that route. However, I wanted a radio that I could use within a few days of getting the PCBs and not something that would require tinkering for months with the particulars of every RF block element until I got it working. The KISS approach is always a solid choice in situations like this.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/ft-530-vhf-sch-1024x655.png\" alt=\"\" class=\"wp-image-239\" width=\"504\" height=\"322\" srcset=\"https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/ft-530-vhf-sch-1024x655.png 1024w, https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/ft-530-vhf-sch-300x192.png 300w, https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/ft-530-vhf-sch-768x491.png 768w, https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/ft-530-vhf-sch.png 1083w\" sizes=\"(max-width: 504px) 100vw, 504px\" \/><figcaption>A small subsection of the Yaesu FT-530&#8217;s VHF unit. It&#8217;s not exactly what I would call &#8220;simple,&#8221; though some would argue it does have a certain nostalgic elegance.<\/figcaption><\/figure><\/div>\n\n\n\n<p>There&#8217;s an interesting module series that made some initial waves a few years ago when it was first released &#8211; the <a href=\"http:\/\/www.dorji.com\/products-detail.php?ProId=55\">DRA818<\/a> series of FM transceiver chips from <a href=\"http:\/\/www.dorji.com\/\">Dorji<\/a>, a chinese manufacturer of RF modules and radios. This module is advertised as a low-cost, all in one solution for building an FM radio with minimal external parts. They come in both VHF (136-174 MHz) and UHF (400-470 MHz) flavors, put out 1W*, and are only <a href=\"https:\/\/www.ebay.com\/itm\/144MHz-145MHz-146MHz-154MHz-174MHz-VHF-HAM-Radio-Module-Amateur-Radio-DRA818V\/191210888951\">$12.28 in quantity 1<\/a> from Dorji. So for $24 you&#8217;ve got the entire RF chain of a dual-band satellite rig covered. I bought a couple of each and so far they&#8217;ve been performing admirably with only a few quirks that I&#8217;ll go over in later posts.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/soldering-dra-step3-e1569985817639-1024x768.jpg\" alt=\"\" class=\"wp-image-235\" width=\"652\" height=\"488\" srcset=\"https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/soldering-dra-step3-e1569985817639-1024x768.jpg 1024w, https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/soldering-dra-step3-e1569985817639-300x225.jpg 300w, https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/soldering-dra-step3-e1569985817639-768x576.jpg 768w, https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/soldering-dra-step3-e1569985817639.jpg 1440w\" sizes=\"(max-width: 652px) 100vw, 652px\" \/><figcaption>Small and easy to solder &#8211; the perfect combination when I&#8217;m too lazy to bust out the reflow equipment.<\/figcaption><\/figure><\/div>\n\n\n\n<h4>Two Boards for Double the Fun<\/h4>\n\n\n\n<p>Of course, a measly 1W of power isn&#8217;t going to get you very far with satellites. There&#8217;s a second half to the RF journey for this rig &#8211; one that involves some actual <em>RF<\/em> <em>engineering<\/em> skills. Mating to each of these transceiver modules will be a 15W LDMOS power amplifier to give your signals a little extra kick on that long journey to low-earth orbit. And, to help out in the other direction, some low gain (~20dB or so) LNAs will be stuck on the RX path to give these budget modules a fighting chance at decent sensitivity.<\/p>\n\n\n\n<p>This has so far been the most difficult part of the design process &#8211; the RF board. I&#8217;ve been through five revisions of it since June and it&#8217;s still not in a state where I&#8217;m ready to send it to a fab. Every time I think I&#8217;ve got a solid design, I realize I could be doing something a different and simpler way. Cost optimization while still maintaining an easy-to-build design has definitely shown me why some people get their doctorate in amplifier design.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/rfdesign.png\" alt=\"\" class=\"wp-image-274\" width=\"343\" height=\"537\" srcset=\"https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/rfdesign.png 572w, https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/rfdesign-192x300.png 192w\" sizes=\"(max-width: 343px) 100vw, 343px\" \/><figcaption>Just a small subsection of my &#8220;RF Todo&#8221; card. Odds are I&#8217;ll be going back to the drawing board at least once more.<\/figcaption><\/figure><\/div>\n\n\n\n<h4>Oh-So-Fancy Full Color<\/h4>\n\n\n\n<p>After I had decided on the RF side of things, the wannabe graphic designer in me started going to work on concepts for a basic UI using a 320&#215;240 TFT LCD. I knew I wanted to make the radio as simple to operate as possible, while still maintaining all the features you&#8217;d need to work satellites as well as terrestrial repeaters. One thing was set in stone from day 1 &#8211; <strong>no menus!<\/strong> I can&#8217;t stand navigating through folders and sections trying to find the settings I need. On top of that, menus are annyoing to code in c++, especially when you&#8217;ve only got a limited amount of buttons to work with.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/ui.png\" alt=\"\" class=\"wp-image-246\" width=\"381\" height=\"286\" srcset=\"https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/ui.png 320w, https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/ui-300x225.png 300w\" sizes=\"(max-width: 381px) 100vw, 381px\" \/><figcaption>UI concepting is really fun. Translating all these fancy graphics to C++ code&#8230;not so much.<\/figcaption><\/figure><\/div>\n\n\n\n<h4>Knobs and Buttons and Switches, oh yeah!<\/h4>\n\n\n\n<p>The actual physical controls of the radio were another thing I wanted to keep simple &#8211; and this was a decision made out of necessity. The processor chosen to run everything, the STM32F103C, has a limited number of IO pins and I had to balance them among everything on the radio &#8211; serial communication between the DRA modules, hardware lines for PTT and T\/R relays, the SPI bus for the TFT &#8211; these all take up a good majority of the usable IO on the chip. I was left with just enough pin space for two rotary encoders with switches, two buttons, and a bi-color LED. Not exactly the front-panel overload of some rigs but it should (hopefully) be more than enough for all the features packed into this radio. Plus, I like to think that a minimal front panel makes the radio look nice and clean. That&#8217;s the idea anyway, once I get something a little bit more professional than holes dremeled out of a piece of plastic (that 3D printer can&#8217;t get here soon enough).<\/p>\n\n\n\n<h4>Getting a little bit specific<\/h4>\n\n\n\n<p>To wrap things up, I&#8217;m going to quickly present the current goals for this radio project and what the thing is going to be able to do when all is said and done. <\/p>\n\n\n\n<ul><li>15W full-duplex operation on 2m and 70cm, FM only with CTCSS\/DCSS<\/li><li>12V operating voltage with a max current draw of around 5A<\/li><li>2.5KHz VFO steps (limited by the DRA modules, for FM this should be perfectly fine)<\/li><li>Basic memory system and CAT controllable via USB for satellite tracking programs<\/li><li>Hand-solderable dual-layer PCBs able to be made in any fab house<\/li><li>Easy-to-obtain parts from any major vendor<\/li><li>Total cost of all parts &amp; boards under $150 &#8211; this is in quantities of 1<\/li><li>Completely open source &#8211; all schematics, board files, and code published for anyone to tinker with<\/li><\/ul>\n\n\n\n<p> There&#8217;s still a huge amount of design work, troubleshooting, and protoyping to be done before this gets anywhere near a usable, finished product. Hopefully I&#8217;ve done a decent job explaining my ideas and ambitions, and I&#8217;d love to hear your thoughts, suggestions, and snarky comments on how you&#8217;d do things differently. <\/p>\n\n\n\n<h4>Where I&#8217;m At Today<\/h4>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"343\" src=\"https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/full-board-1024x343.png\" alt=\"\" class=\"wp-image-275\" srcset=\"https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/full-board-1024x343.png 1024w, https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/full-board-300x100.png 300w, https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/full-board-768x257.png 768w, https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/full-board.png 1402w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>My Trello board as it stands right now. Still a lot to do!<\/figcaption><\/figure>\n\n\n\n<p>As I wrap up, you might be asking yourself &#8220;well how much of this thing is actually built?&#8221; Well, so far the first revision of the mainboard has been built and seems to be working fine. Other than a few changes to the power supply and some connectors it&#8217;s likely in a close-to-final state. I&#8217;ve got most of the UI and backend code built up as well &#8211; you can pretty much use the radio as a real radio right now. RF wise, I&#8217;ve got no filtering or amplification on the DRA modules and they&#8217;re just putting out the 300mW I&#8217;ve got them limited to at the moment. Great for local simplex and repeater contacts but nearly worthless for LEO stuff. Still, I&#8217;m sure some of you reading this understand the joy that comes with hitting that power switch and having everything <em>finally<\/em> work as you intended.<\/p>\n\n\n\n<h4>Bonus Content &#8211; Operational Video<\/h4>\n\n\n\n<figure class=\"wp-block-video aligncenter\"><video controls src=\"https:\/\/w3axl.com\/wp-content\/uploads\/2019\/10\/first-repeater-qso.mp4\"><\/video><\/figure>\n\n\n\n<p>Until next time, catch you on the air and go play some radio. 73!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, it&#8217;s been a while. Between finishing out my EE degree, moving my life three states away, and setting up at a new job, I&#8217;ve barely had time to do anything ham related, let alone some DIY designs. Now that it&#8217;s been a few months, I&#8217;ve settled in and started busting out the Kicad skills and lab tools to get the wheels turning on a new and exciting long-term project here in the shack. After weeks of tinkering, tuning, and troubleshooting, I&#8217;m proud to reveal the pre-alpha version of what I&#8217;ve been toiling away at during my absence from the<\/p>\n","protected":false},"author":1,"featured_media":227,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[1],"tags":[34,21,32,33],"jetpack_featured_media_url":"https:\/\/w3axl.com\/wp-content\/uploads\/2019\/09\/front-panel-enclosure-e1569981598515.jpg","_links":{"self":[{"href":"https:\/\/w3axl.com\/index.php?rest_route=\/wp\/v2\/posts\/230"}],"collection":[{"href":"https:\/\/w3axl.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/w3axl.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/w3axl.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/w3axl.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=230"}],"version-history":[{"count":19,"href":"https:\/\/w3axl.com\/index.php?rest_route=\/wp\/v2\/posts\/230\/revisions"}],"predecessor-version":[{"id":444,"href":"https:\/\/w3axl.com\/index.php?rest_route=\/wp\/v2\/posts\/230\/revisions\/444"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/w3axl.com\/index.php?rest_route=\/wp\/v2\/media\/227"}],"wp:attachment":[{"href":"https:\/\/w3axl.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/w3axl.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/w3axl.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}