tag:blogger.com,1999:blog-77021842097051464692024-02-22T11:09:05.089-05:00DuWayne's PlaceA place for me to share information about my latest Ham Radio and electronics projects.DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.comBlogger113125tag:blogger.com,1999:blog-7702184209705146469.post-2207505959868715672023-03-08T23:13:00.001-05:002023-03-08T23:16:59.684-05:003D printed project boxes<p><span style="font-size: large;"> <span>I have been busy with some other things that have kept me away from electronics projects for quite a while. Now I can get back to them, but realize I need some boxes to put them in. I have 3D printed some simple ones a while ago, I will redo the design to make them fit the way I have been building my projects now. Most of my designs use modules that I etch or route. For these I buy copper clad boards that are usually 100 mm wide. This is one of the standard widths availibale cheaply through eBay or other suppliers. One standard size I use is 100 x 70 mm. Going with that as a default I designed a clam shell case, that has two identical parts, that you join together with a few screws. I want to be able to simply add modules without having to drill holes in the case. </span></span></p><p><br /></p><p><span style="font-size: large;"></span></p><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieaGlwbpqxMZj43H_us5-i_dTEQuPyC26-Dhs55h_Fb7gm-PAmA7-rXmkE7a9FrpDszmaGcHuHf_FiTe5u4nEXKsV3a-2JnCAV_VydXr_MvSg-NzXi2t0c1ifouhkVsQQGJs2XsjnI7pzGdZQrebBmfvv6pW6wyZ-qHN7zhA1BGTGDKfcnH9uKVUAPwQ/s671/project%20case%20w%20slots.png" style="margin-left: auto; margin-right: auto;"><img border="0" data-original-height="345" data-original-width="671" height="206" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieaGlwbpqxMZj43H_us5-i_dTEQuPyC26-Dhs55h_Fb7gm-PAmA7-rXmkE7a9FrpDszmaGcHuHf_FiTe5u4nEXKsV3a-2JnCAV_VydXr_MvSg-NzXi2t0c1ifouhkVsQQGJs2XsjnI7pzGdZQrebBmfvv6pW6wyZ-qHN7zhA1BGTGDKfcnH9uKVUAPwQ/w400-h206/project%20case%20w%20slots.png" width="400" /></a></td></tr><tr><td class="tr-caption" style="text-align: center;"></td></tr></tbody></table><span style="font-size: x-large;"> </span><span style="font-size: large;"><span>To do this I designed the </span><span>case half with slots to slide the modules in vertically. After printing a set of these I decided to also design another without the slots to use as a top, which makes it easier when trying to aligning </span><span>multiple</span><span> modules. </span></span><p></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAKgrmi-UTscVKpnedCuW6Pn7dTrQ2MimF64SMXtX8OK93rt1FIHheZ2m6Q0ulkK7JEQWwj7CBWf7ptsGdXvnI6tOkFJf0yeq9sX6yn6lPklj03jbYT5nT2HjMR3YoYMSbiRSvXf4v1daG_YNPyI_WiCPUWP_cYUnJEoszCLmdMzefQzU2TLJbqVH2_A/s568/project%20case%20no%20slots.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><span style="font-size: large;"><img border="0" data-original-height="345" data-original-width="568" height="121" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAKgrmi-UTscVKpnedCuW6Pn7dTrQ2MimF64SMXtX8OK93rt1FIHheZ2m6Q0ulkK7JEQWwj7CBWf7ptsGdXvnI6tOkFJf0yeq9sX6yn6lPklj03jbYT5nT2HjMR3YoYMSbiRSvXf4v1daG_YNPyI_WiCPUWP_cYUnJEoszCLmdMzefQzU2TLJbqVH2_A/w200-h121/project%20case%20no%20slots.png" width="200" /></span></a></div><span style="font-size: large;"> I decided on 7 internal slots for modules, along with slots on the ends for front and rear panels. I also made versions in three heights, mixing different height versions I could get an inside height from 40 to 80 mm. in 10 mm steps.<br /></span><p></p><p><span style="font-size: large;">I also made a set that fits one of the standard 50 x 70 mm perf boards I use sometime. This one only has 4 internal slots long with the ones on the ends.</span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9l8W09WqPgQIR47Nll23N8S5Djg2LhGoPQQ1X-r2fgDE4flhxK1oFs38nG8bVQMjcX1dIWOXtKQXK27ln7zti0dbOmNbkEKr8gvpt3ZhazHr_5WH3ldUiIJHDETQU5ItQjEtMOcN4s0KUcA7dPJT6f7mRcsXuF4YQ00pkFWxqMmzohuCfeBuIZ00sqw/s471/59%20x%2070%20case.png" style="margin-left: 1em; margin-right: 1em;"><span style="font-size: large;"><img border="0" data-original-height="430" data-original-width="471" height="292" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9l8W09WqPgQIR47Nll23N8S5Djg2LhGoPQQ1X-r2fgDE4flhxK1oFs38nG8bVQMjcX1dIWOXtKQXK27ln7zti0dbOmNbkEKr8gvpt3ZhazHr_5WH3ldUiIJHDETQU5ItQjEtMOcN4s0KUcA7dPJT6f7mRcsXuF4YQ00pkFWxqMmzohuCfeBuIZ00sqw/s320/59%20x%2070%20case.png" width="320" /></span></a></div><span style="font-size: large;">I made the mounting holes to fit 3 mm screws. They are tight but I was able to self tap without too much problem. Depending on printer settings and filament I might have to run a drill bit or a tap through the holes to clean them up.</span><p></p><p><span style="font-size: large;"><br /></span></p><p><span style="font-size: large;">For those interested I have added the .stl files to the dropbox I have for the storage boxes from a previous post.</span></p><p><span style="background-color: #fff2cc; font-size: large;">https://www.dropbox.com/sh/webi4nhd1a6kd6f/AAArBUSR40y3TQSZBHt8w-Cja?dl=0</span></p>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com0tag:blogger.com,1999:blog-7702184209705146469.post-80692434709228876602022-08-10T17:59:00.005-04:002022-08-11T16:19:07.353-04:00Farhans' DAYLIGHT Radio<p><span style="font-size: medium;"> Unfortunatly I was not able to make it to FDIM this year, but was able to watch the streamed presentations. All of themwere good, but the one tht interested me the most was Farhans' DAYLIGHT RADIO. The design is interesting because the input and ouput impedances of the different stages were not all designed to be at 50 ohms. This can make the design a little easier in some cases.</span></p><p><span style="font-size: medium;">Farhans' design is for an all analog system including the VFO. Not sure if I will go that way or use a micro-controller and a SI 5351 instead. There are some ideas I want to try that would require the micro-controller. But if everything is in modules, they can be swapped out with the analog stages as desired. If I went with the Analog VFO I still have enough parts to use one of the small frequency counter boards I built up years ago.</span></p><p><a href="http://kv4qb.blogspot.com/2015/03/dl4yhf-frequency-counter-re-package.html"><span style="font-size: medium;">http://kv4qb.blogspot.com/2015/03/dl4yhf-frequency-counter-re-package.html</span></a><br /></p><p><span style="font-size: medium;">Farhan resently uploaded a hard-copy of his presentation to his web site. <a href="https://www.vu2ese.com/index.php/2022/08/04/daylight-an-all-analog-radio/">https://www.vu2ese.com/index.php/2022/08/04/daylight-an-all-analog-radio/</a> This has a lot of good information about some of the considerations that went into the design.</span></p><p><span style="font-size: medium;">Lets start with the AF Filter and amplifier. Farhan has a nice desription in his presentation so I will just ashow his schematic. Everything is the same except I am using seperate opamps for the AF amplifier, and the product detector. Because of this I shorted the unused opamp + input to the common reference used by the AF amplifier, and the - input to the output . This is left to float, and as just a precaution to prevent any possible instability of the unused opamp from affecting the AF amp.</span></p><p><span style="font-size: medium;"><br /></span></p><div class="separator" style="clear: both; text-align: center;"><span style="clear: left; float: left; font-size: medium; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="268" data-original-width="909" height="188" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR9d3y3NgXksCpi8I9E0OCvnW2h_CuycwpDUWqVn1JoHb_yL6MnGq0_cWC4EdRxsATry8qgt1n3pI-mxhTw2lFEiA6MtkXSz_VOFtXVJ4SAx4E6xMRvEvAHu5PdJW6DbbHxRlSXkeyyvw3O2FX5WK6OmIRS6T5i9tOVpIgOFOaMo_ZdRYh867lzuVzyQ/w640-h188/image_2022-08-10_171746763.png" width="640" /></span></div><span style="font-size: medium;"><br /></span><p></p><p><span style="font-size: medium;">I laid out the board using through hole components, but I might make another using MUPPET style, or shrink it down even more and use SMD components.</span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm-QKCLTb4TtuYm-WPFOU4Nprdm034cChuTbEuZjT_v2emLFvQK4mUtmFH8xP-XLIHli_uCwmDn-PwZ2qpJYyMI143QqbZVqgVI833zpKYL5jaMYPIlPzZCt2QJCpJvBlm8aqUcRqzYnf6OkD2vO4VMVFsLfiU9miujKAcj3_Wne84bU19_sXvAzOAAA/s1252/image_2022-08-10_173143593.png" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: medium;"><img border="0" data-original-height="629" data-original-width="1252" height="161" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm-QKCLTb4TtuYm-WPFOU4Nprdm034cChuTbEuZjT_v2emLFvQK4mUtmFH8xP-XLIHli_uCwmDn-PwZ2qpJYyMI143QqbZVqgVI833zpKYL5jaMYPIlPzZCt2QJCpJvBlm8aqUcRqzYnf6OkD2vO4VMVFsLfiU9miujKAcj3_Wne84bU19_sXvAzOAAA/s320/image_2022-08-10_173143593.png" width="320" /></span></a></div><span style="font-size: medium;">I will etch the board using Toner Transfer, but since I also have a CNC I can use it to pre-drill all the holes. Then it is very quick to align the toner image to the board using the holes as s guide. This makes the whole process very quick and easy. </span><p></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrn3Nj9vXuY1oBu-9z-cZ8h2gUrCXo13zzfG7SQuaXb8JkJ1e3T3QEOjMg2T_QsBwqOUkvNyZFVYdBGBenzQrgfaN1RT35Pf3vnXZ2x-tEehaDkGGOfDp1bqWNaZwKSTBrFjDba7gEcb8yVKcY8VntytWZGw7ZU7s4YlxPjOXf1yFhSz9KjZjInpRq5g/s1499/image_2022-08-10_173810751.png" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: medium;"><img border="0" data-original-height="743" data-original-width="1499" height="159" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrn3Nj9vXuY1oBu-9z-cZ8h2gUrCXo13zzfG7SQuaXb8JkJ1e3T3QEOjMg2T_QsBwqOUkvNyZFVYdBGBenzQrgfaN1RT35Pf3vnXZ2x-tEehaDkGGOfDp1bqWNaZwKSTBrFjDba7gEcb8yVKcY8VntytWZGw7ZU7s4YlxPjOXf1yFhSz9KjZjInpRq5g/s320/image_2022-08-10_173810751.png" width="320" /></span></a></div><span style="font-size: medium;">Since the board is fairly siimple I decided not to bother with doing a silk-screen . If wanted I could just print it on a laser printer, and iron this on the same way as you apply the toner image for etching.</span><p></p><p><span style="font-size: medium;">This board turned out pretty nice, so now I can finish the layout of the product detector and balanced modulator board, and get them built.</span></p><p><span style="font-size: medium;"><br /></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3zjqZJqyrB0cFH7pFUauAQxSuYEc_LgX-MNSuIqUn2INWmNATjaKf345lmxh82M2Vh7GAUng8Oug0-jdetztiscv4PmSkf9StQp2WsdbR_iDGkMs-eSEnlZGecFgShQor-pakYHB-IOItbPIfC1-gPpGuGEFqZbZ7ZOI010lO0cPt5QKNOy-zwc0D9A/s1920/WIN_20220809_21_04_39_Pro.jpg" style="margin-left: 1em; margin-right: 1em;"><span style="font-size: medium;"><img border="0" data-original-height="1080" data-original-width="1920" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3zjqZJqyrB0cFH7pFUauAQxSuYEc_LgX-MNSuIqUn2INWmNATjaKf345lmxh82M2Vh7GAUng8Oug0-jdetztiscv4PmSkf9StQp2WsdbR_iDGkMs-eSEnlZGecFgShQor-pakYHB-IOItbPIfC1-gPpGuGEFqZbZ7ZOI010lO0cPt5QKNOy-zwc0D9A/w400-h225/WIN_20220809_21_04_39_Pro.jpg" width="400" /></span></a></div><span style="font-size: medium;"><br /></span><p></p><p><span style="font-size: medium;">With as long as it takes to get some of the components these days, it is nice to have several home brew projects going. at the same timr. And speaking of home brew, I have a two gallon batch of beer ready to bottle.. Thats always handy to have on hand when it takes toooooo long for the electronic components to arrive.</span></p><span style="font-size: medium;"><br /></span><p></p><p><br /></p>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com0tag:blogger.com,1999:blog-7702184209705146469.post-39849159771872069522022-08-10T16:35:00.000-04:002022-08-10T16:35:29.118-04:00VWS DC Receiver Low Noise Amplifier<p><span style="font-size: large;">Getting back to working</span> <span style="font-size: large;">on the VWS DC Receiver, I decided to combine the AF mplifier and the low noise amplifier on the same board to cut down on size. Because I have been thinking about having separate Low Pass filters for SSB and CW, I will put them on another circuit board instead of with the LNA.</span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfL-fbwABuSgftD6MCZD2r04A1diPPeRTdjeVimUZsPCH0DT5g4oqKKuU3ExFgDQCuVquXSQvrAG8-N2rq1RDDxFloBYjMvGKu364wQp8QPgxXYr6Yxt-Urv3WlZqdDA9dnjtOmp599srZqqhkmyHFZ4VzmZsZkrCwjJ9628vQhVqXu_LJwnsM3UUt2Q/s1659/LNAF%20PREAMP.jpg" style="clear: left; display: inline; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="821" data-original-width="1659" height="317" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfL-fbwABuSgftD6MCZD2r04A1diPPeRTdjeVimUZsPCH0DT5g4oqKKuU3ExFgDQCuVquXSQvrAG8-N2rq1RDDxFloBYjMvGKu364wQp8QPgxXYr6Yxt-Urv3WlZqdDA9dnjtOmp599srZqqhkmyHFZ4VzmZsZkrCwjJ9628vQhVqXu_LJwnsM3UUt2Q/w640-h317/LNAF%20PREAMP.jpg" width="640" /></a></p><p><br /></p><p><span style="font-size: large;">To better match the low impedance of the of the Low Pass filter, the LNA uses a common base amplifier feeding a common emitter stage. </span><span style="font-size: large;">To provide power supply decoupling, Q2 and the associated components are commonly called a cpacitance multiplier. This provides a capacitance value to the input stage of approximatly the value of C3 times the gain of Q2.</span></p><p><span style="font-size: large;"><span></span><span>This configuration along with the LM-386 stage has over 90 dB. total gain, therefore a separate gain adjustment is added to prevent possible overload distorton. </span></span></p><p><span style="font-size: large;"><br /></span></p><p><span><span style="font-size: large;">I decided to make the board MUPPET style, instead of using through hole. To reduce the board size I installed the resistors vertically. </span><span style="font-size: medium;"> I </span><span style="font-size: large;"></span></span></p><div class="separator" style="clear: both; text-align: center;"><span><span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0-NyW5S4hNbPzRzVaIYhUKpaO6qv1fqaFagDUMcSu1QpgKM3-b2BKKZx2LGJUMlap7Prsm6-U_O5EToK5tBmS_BfcWS52vYTw8GACGbPU064MVbwOh8uKh0mLAZxztBRxOwD0pMbFfl5IJ3uPV_Z8LzFQ1ILKWt5kzOIA39sgZK9sMzF8w_H26-2exA/s827/lna-386%20muppetpng.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="475" data-original-width="827" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0-NyW5S4hNbPzRzVaIYhUKpaO6qv1fqaFagDUMcSu1QpgKM3-b2BKKZx2LGJUMlap7Prsm6-U_O5EToK5tBmS_BfcWS52vYTw8GACGbPU064MVbwOh8uKh0mLAZxztBRxOwD0pMbFfl5IJ3uPV_Z8LzFQ1ILKWt5kzOIA39sgZK9sMzF8w_H26-2exA/w400-h230/lna-386%20muppetpng.png" width="400" /></a></span></span></div><span><span style="font-size: large;">etched a board using toner transfer, and dipped it in some 'liquid tin' to provide a better soldering surface than just bare coppper. One of these days I will try one using the CNC router to see if there is much of a difference in the quality I can get.</span></span><p></p><p><span style="font-size: large;"><br /></span><span><span style="font-size: large;"></span></span></p><div class="separator" style="clear: both; text-align: center;"><span><span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvajIID4G-fU5YmLpM4tmazXEqFQ5GIMXUW0TlNLUZZdEGgaO3l_BS-9cYrypVezsnk4rxI0t-fwd6BJtkTTl3tToWU5oLEjU2RwWj9ygT0IkpwA0us8rt-p1uucVv2Q4AUGyVaRBSkFrhP0wlkQe_gHJoMmXFr0DKZzfQHgJf9iPLdRJ2k37ho-WS8w/s1657/lna_lm386_amp.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="895" data-original-width="1657" height="216" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvajIID4G-fU5YmLpM4tmazXEqFQ5GIMXUW0TlNLUZZdEGgaO3l_BS-9cYrypVezsnk4rxI0t-fwd6BJtkTTl3tToWU5oLEjU2RwWj9ygT0IkpwA0us8rt-p1uucVv2Q4AUGyVaRBSkFrhP0wlkQe_gHJoMmXFr0DKZzfQHgJf9iPLdRJ2k37ho-WS8w/w400-h216/lna_lm386_amp.jpg" width="400" /></a></span></span></div><span><span style="font-size: large;">Waiting on an assortment of inductors, that seem to be taking forever to get here so I can finish the LowPass filter board.</span></span><p></p><p><span style="font-size: x-large;"><br /></span></p><p></p><br /><span style="font-size: x-large;"><br /></span><p></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfL-fbwABuSgftD6MCZD2r04A1diPPeRTdjeVimUZsPCH0DT5g4oqKKuU3ExFgDQCuVquXSQvrAG8-N2rq1RDDxFloBYjMvGKu364wQp8QPgxXYr6Yxt-Urv3WlZqdDA9dnjtOmp599srZqqhkmyHFZ4VzmZsZkrCwjJ9628vQhVqXu_LJwnsM3UUt2Q/s1659/LNAF%20PREAMP.jpg" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfL-fbwABuSgftD6MCZD2r04A1diPPeRTdjeVimUZsPCH0DT5g4oqKKuU3ExFgDQCuVquXSQvrAG8-N2rq1RDDxFloBYjMvGKu364wQp8QPgxXYr6Yxt-Urv3WlZqdDA9dnjtOmp599srZqqhkmyHFZ4VzmZsZkrCwjJ9628vQhVqXu_LJwnsM3UUt2Q/s1659/LNAF%20PREAMP.jpg" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><br /></a></div><p></p>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com0tag:blogger.com,1999:blog-7702184209705146469.post-35187950693604781092022-03-21T14:07:00.005-04:002022-04-04T21:07:36.033-04:00VWS Direct Conversion Receiver Project<p style="text-align: justify;"><span style="font-size: medium;">I have been working on several projects, most of them not related to electronics. The main electronic related one has made me look back on some code I wrote 6 years ago when I first started learing C++ and the Arduino IDE. Still wonder what I was thinking of, and how did I ever get anything to work. Looking at some of the code made me think it was written in a write-only languge. Almost as bad as looking at some of the things written in FORTH. </span></p><p style="text-align: justify;"><span style="font-size: medium;">I had been following the Vienna Wireless Society makers group and their Simple SSB transceiver. They finished that with around 10 units up and running. Many built by members that had no building expereience. I had started to build a version of this, but they had mostly finished with the project when I started joining their Zoom meetings. I had some ideas of how I would like to change this, and then other things came up that postponed my doing this. They just started a new project, to try to get more of their club members into home brewing (electronic kind not liquid kind). This one is a Direct Conversion Receiver which should be easier for the first time builders.</span></p><p style="text-align: justify;"><span style="font-size: medium;">I am going to try to follow along with their progress, and build each module as they are presented. Probably make a few changes as they progress to reflect some things I already have on hand. They have a Zoom meeting about every other week, to present info on the next stage in the project, keep up with build progress, and provide assistance as needed.</span></p><p style="text-align: justify;"><span style="font-size: medium;">This is a fairly conventional DC Receiver. The interesting thing is that they plan on using a home made Diode Ring Double Mixer, instead of a ADE-1, SBL-1. or an active mixer like the NE602.</span></p><p style="text-align: justify;"></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEio5m-_aCN8OJJ_uBNTkc53gBp2EmDq86yh-UpDCH9G-XjiSPQA83_240Qr27afwQGPAdqQe9Ez-PnwQ2qXKFAeadx_qfpAczfI2EcMmpCTg8EC8HidK9Yc_lcPPEb3tw8ScmnR2GHS8-jaNiwIQBeVR7uwa2vNV83PZcgO6iifSsqQZXvd7Uf_D23sNg=s1299" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="973" data-original-width="1299" height="300" src="https://blogger.googleusercontent.com/img/a/AVvXsEio5m-_aCN8OJJ_uBNTkc53gBp2EmDq86yh-UpDCH9G-XjiSPQA83_240Qr27afwQGPAdqQe9Ez-PnwQ2qXKFAeadx_qfpAczfI2EcMmpCTg8EC8HidK9Yc_lcPPEb3tw8ScmnR2GHS8-jaNiwIQBeVR7uwa2vNV83PZcgO6iifSsqQZXvd7Uf_D23sNg=w400-h300" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><span style="font-size: medium;">Here is the block diagram of the receiver, with each block being built as a separate module. Many of these blocks are similar or the same as used in their SSSB project. so there should be plenty support for the first timers available if needed. They plan on using an Arduino and SI5351 as the VFO, but one of the members has already built an analog PTO that could be used instead.</span><div><span style="font-size: medium;"><br /></span></div><div><a href="https://blogger.googleusercontent.com/img/a/AVvXsEgFprXEVb4JSYS1-JVsAqdURMSpbBqMYw4xkPU0zJVJ6zFD2e93SvPYb5M3AUna5mIGPP3hzfQ7M85g_UL4vSzB67XllskbFplH1gPCSD-qt8ujihCKqyNLtvLdhfgjFh0q6hH1CkVEoq6oK5cyMdYq3q69l7mD6YMrSt0tfYOgmkpGwU1DmmtQ5qwcig=s1301" style="clear: right; float: right; font-size: medium; margin-bottom: 1em; margin-left: 1em; text-align: center;"><img border="0" data-original-height="965" data-original-width="1301" height="237" src="https://blogger.googleusercontent.com/img/a/AVvXsEgFprXEVb4JSYS1-JVsAqdURMSpbBqMYw4xkPU0zJVJ6zFD2e93SvPYb5M3AUna5mIGPP3hzfQ7M85g_UL4vSzB67XllskbFplH1gPCSD-qt8ujihCKqyNLtvLdhfgjFh0q6hH1CkVEoq6oK5cyMdYq3q69l7mD6YMrSt0tfYOgmkpGwU1DmmtQ5qwcig=s320" width="320" /></a><span style="font-size: medium;"><span><br /></span><span>Their last Zoom meeting went over the block diagram. And, a gain distrabution diagram to define the gain or loss in each stage to get up to the required overall system gain. </span></span></div><div><br /></div><div><span style="font-size: medium;"><br /></span></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEitBmh4Cw4mQnveKegj-jDcXemezSP9liLNmMF3N1VmnD6CMuP_PIX-3bzuOjUoQaDsDbnvxNpj_6IgLsJCN-Su39TkTLtnr0itWoipyNj9awZsEDtG9RCggPA1bH4Un7k5IUwhto98DdPmbhTaTO7RZEBQmMVj6aWZ0bo3vKM4Bqq2EQ9bFKtGDE3ARw=s1103" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><span style="font-size: medium;"><img border="0" data-original-height="685" data-original-width="1103" height="199" src="https://blogger.googleusercontent.com/img/a/AVvXsEitBmh4Cw4mQnveKegj-jDcXemezSP9liLNmMF3N1VmnD6CMuP_PIX-3bzuOjUoQaDsDbnvxNpj_6IgLsJCN-Su39TkTLtnr0itWoipyNj9awZsEDtG9RCggPA1bH4Un7k5IUwhto98DdPmbhTaTO7RZEBQmMVj6aWZ0bo3vKM4Bqq2EQ9bFKtGDE3ARw=s320" width="320" /></span></a></div><span style="font-size: medium;">Then went into the first module to be built. This is a basic LM386 AF amplifier circuit taken directly from the LM386 datasheet. Nearly the same as used in most all simple receivers. The only thing that is slightly different, is a variable resistor in series with the gain determining feed back capacitor. Since almost all of the overall gain is in the AF amplifier stage, this resistor allows you to set the final stage gain to prevent clipping on strong signals with the volume control all the way up.</span><p></p><p style="text-align: justify;"></p><p></p><p style="text-align: justify;"><span style="font-size: medium;">Most of the modules will be built manhatten style using MePads, but any other type of construction would be fine. Since this is all at audio frequencies, a ground plane is not necessary and it could easily be built using perf bard. This would be similar to the final stage of the version in my previous post. </span></p><p style="text-align: justify;"><span style="font-size: medium;"><br /></span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAxPl6RF8g3X6dbkuHwK8KxukGW8dK3ptxRVdRQiJtDNSgTzwZY0MQ0RTymYgqrkcVnZjs1odwNBQt0w_1O47s4m6K3dS6gB9RLVwmijnXsYhEGCHXGWOscqdTwUPKB4W3PgPbq22Qil8D/s640/AF+Amp.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em; text-align: center;"><span style="font-size: medium;"><img border="0" data-original-height="480" data-original-width="640" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAxPl6RF8g3X6dbkuHwK8KxukGW8dK3ptxRVdRQiJtDNSgTzwZY0MQ0RTymYgqrkcVnZjs1odwNBQt0w_1O47s4m6K3dS6gB9RLVwmijnXsYhEGCHXGWOscqdTwUPKB4W3PgPbq22Qil8D/w200-h150/AF+Amp.jpg" width="200" /></span></a></p><p style="text-align: justify;"><a href="https://kv4qb.blogspot.com/2021/06/simple-ssb-xcvr-mic-amp-build-d-mp.html"><span style="font-size: medium;">https://kv4qb.blogspot.com/2021/06/simple-ssb-xcvr-mic-amp-build-d-mp.html</span></a></p><p></p><br /><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJfoINHV7UHfsDYVqrjmn8oDVZcXFZQdtQ7RH_A9YQInKI64jUtBGcGAEs1ad3LVoGPJ3U_XvmUPmp9fJpTVVaXuV0KupswLbq7B-0x_ZnDgeepj4BtZEErnuMHiCniZ5pPrZ6JY-kdazUvFDJVdx9f9mYPWrBNNQ_NBhZsaXr4XfutpdkBiNZt_Hr_w/s827/lm386%20amp%20MePad%20layout.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="506" data-original-width="827" height="196" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJfoINHV7UHfsDYVqrjmn8oDVZcXFZQdtQ7RH_A9YQInKI64jUtBGcGAEs1ad3LVoGPJ3U_XvmUPmp9fJpTVVaXuV0KupswLbq7B-0x_ZnDgeepj4BtZEErnuMHiCniZ5pPrZ6JY-kdazUvFDJVdx9f9mYPWrBNNQ_NBhZsaXr4XfutpdkBiNZt_Hr_w/s320/lm386%20amp%20MePad%20layout.jpg" width="320" /></a></div><br /></div><span style="font-size: medium;"><div style="text-align: justify;">I used some simple PCB layout software to position all the parts for easy building either with the pads, or to route or etch a board instead. This allows me to make a smaller bard than just eye-balling the parts placement on a bare bard. One thing that I did different from the diagram is swap connections to the plus and minus pins (2,3) on the LM386 That just made layout a little simpler. Since the LM386 has a differential input it will not change operation.</div><div style="text-align: justify;"><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/a/AVvXsEi4Anu48Lic1bvV5NajQevgDxKl-h6Db4DeNL9Q-bAK7hYmo_2eqZsspIz760Q-ozmhVCmJfWceGtNJxm6c4m7aE0crQ1yIpJ1iexQl_wLfNX2hxTBjE_b54Blg8CdyBpYQF7y4APrlq_nuvw3nv1JwMzYSdSCSaasOFPVwALXAiGWeyzPaWc4uF-q2vQ=s640" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="480" data-original-width="640" height="240" src="https://blogger.googleusercontent.com/img/a/AVvXsEi4Anu48Lic1bvV5NajQevgDxKl-h6Db4DeNL9Q-bAK7hYmo_2eqZsspIz760Q-ozmhVCmJfWceGtNJxm6c4m7aE0crQ1yIpJ1iexQl_wLfNX2hxTBjE_b54Blg8CdyBpYQF7y4APrlq_nuvw3nv1JwMzYSdSCSaasOFPVwALXAiGWeyzPaWc4uF-q2vQ=s320" width="320" /></a></div>The board turned out very nice. Not as small as could be done by using proto board, or doing a through hole PCB. But, was faster than either of those two metnods, and should be fairly easy for the first time builder. When I get a little time, I will do some testing on the board and see what the actual stage gain is, and how much it can be varried with the resistor.</span></div><div><span style="font-size: medium;"><br /></span></div><div><span style="font-size: medium;">Should be another group meeting later this week to see how everyone is coming along. Will keep you updated on the next stage in the project.<br /><div style="text-align: justify;"><br /></div></span><p></p><br /></div>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com3tag:blogger.com,1999:blog-7702184209705146469.post-71933986406127020122021-10-27T14:24:00.004-04:002021-10-27T14:26:23.609-04:00Arduino controller VFO/BFO Test Set<div class="separator" style="clear: both; text-align: justify;"><span style="font-size: medium; text-align: left;">I have done several versions of VFO/BFO circuits using differentmicrocntrolers. Any of these would work for the Simple SSB transceiver. Looking at these, you can see that they are also very similar to some of the test equipment I have previously built. I know that some people who are interested in building this transceiver, have very little in the way of RF test equipment. So why not build something that can be used to test the modules as they are being built, and then as the Controller,VFO/BFO to finish off the project.</span></div><p></p><p style="text-align: justify;"><span style="font-size: medium; text-align: left;">Doing something similar to the test gadget from a couple years ago, I went with a basic Arduino Nano, the SI5351 module, and a TFT Display. To this I added header pins to bring out pins for a Rotary encoder and other controlls. To an expansion header I brought out DC power, analog, I2C , and the SI5351 clock lines. Since some of the TFT Display modules require 3.3 volt logic levels instead of the 5 volt out of the Nano, I added 1K resistors in the control lines to provide current limit for the display if using a 3.3 v module. </span></p><p></p><p><span><span style="font-size: medium;"></span></span></p><div class="separator" style="clear: both; text-align: center;"><span><span style="font-size: medium;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4pA-GNJxwPXyoQh7q0Pj5ag52W-w65fY01oKX2fDso4qhT2a2Y-Poh0TwQeOx-EtoP64ob5MWdkKfXO1wKmMszFQVQtKSCe9A6o5PtXKODsiS_eIEh0opS4LRdBDzX6ioxZ8fovFHoSSa/s997/vfo+bfo+layout.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="737" data-original-width="997" height="237" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4pA-GNJxwPXyoQh7q0Pj5ag52W-w65fY01oKX2fDso4qhT2a2Y-Poh0TwQeOx-EtoP64ob5MWdkKfXO1wKmMszFQVQtKSCe9A6o5PtXKODsiS_eIEh0opS4LRdBDzX6ioxZ8fovFHoSSa/s320/vfo+bfo+layout.jpg" width="320" /></a></span></span></div><span style="font-size: medium;"><div style="text-align: justify;"><span>This also helped make the layout a little easier. </span><span> After a number of tries I was able to get the layo</span><span>ut to fit on one of the 50 x 70 mm perfboard in the kit I purchased. When building this module I found that it worked quite well to bring the wired up from the bottom of the board and run them across the top and back down to connect at the other end. Doing this kept the board fairly neat. The only insulated jumpers I had to install were to bring the 5V line across the expansion header. This layout would also work well for etching or routing a single sided circuit board.</span></div></span><p></p><p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaN_BN8qLaXpkq3C1REdKjLPqut2T0hXPn0HilUyQgeCHbnaA_emeoT8EGDgpw2lM59V_aIp7vDcYCoHW-0UNZsaHiTE1HC7t5LS8zx8YzvJN5F3iU4XNJtcHp9xnKn4QaG_5mf9U5LEOS/s665/vfobfo+built.jpg" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;"><span style="font-size: medium;"><img border="0" data-original-height="371" data-original-width="665" height="179" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaN_BN8qLaXpkq3C1REdKjLPqut2T0hXPn0HilUyQgeCHbnaA_emeoT8EGDgpw2lM59V_aIp7vDcYCoHW-0UNZsaHiTE1HC7t5LS8zx8YzvJN5F3iU4XNJtcHp9xnKn4QaG_5mf9U5LEOS/s320/vfobfo+built.jpg" width="320" /></span></a><span style="font-size: medium;"></span></p><div style="text-align: justify;"><span style="font-size: medium;"><span>After building the board, the only thing I had to do to </span><span>one of the early Arduino sketches I had for a simple VFO/BFO was to change a couple pin definitions for the SPI lines going to the TFT display. This made a fairly compact board that can be easily mounted, with a connecting cable going to the rotary encoder and several switches on the control panel.</span></span></div><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitDTx0bRJBLoUn1M5KGCmHYsR3ZggEF1icXwEBB6lBNdOpPdzMQcoLhzzHPohiJ8bX23IbuzVie5l__-gDH26W6uxDm089K7J_xPrFbHemq90gZ2fxgPlhI0X-Da2rS6T9CaWbKIyJjoCw/s604/RE-SWITCH+BOARD.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: medium;"><img border="0" data-original-height="328" data-original-width="604" height="174" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitDTx0bRJBLoUn1M5KGCmHYsR3ZggEF1icXwEBB6lBNdOpPdzMQcoLhzzHPohiJ8bX23IbuzVie5l__-gDH26W6uxDm089K7J_xPrFbHemq90gZ2fxgPlhI0X-Da2rS6T9CaWbKIyJjoCw/s320/RE-SWITCH+BOARD.jpg" width="320" /></span></a></div><p style="text-align: justify;"><span style="font-size: medium;"><span><span>Since I also want to be able to use this as a test_set during construction of the RF stages. I built up a small board with a rotary encoder and 3 push button switches that plugs on to the control header pins on the Arduino controller board. </span></span></span></p><p style="text-align: justify;"><span style="font-size: medium;"><span><span> Looking back at the Sweepering Jr., and different versions of the SNA Jr. projects, I decided to go with much of the original SNA Jr. design. I built a simple add on module that can be used as</span><span> </span></span><span>a Sig.Gen., SNA, RF voltmeter.</span></span></p><span style="font-size: medium;"><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjeFhqb85o1-6N-JXuWeBgz7Wl3YR03OPmTrlic_xnMI57CwiKPEqSohWjTmJdI4pkOJ2gr0IroQXaJB5drcmnelnmAgWxVOEWyD4smj9QrdhYBil343VdaGKFcxe43hg15kw59ndE8BXY/s621/sg-sna+MODULE.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em; text-align: justify;"><img border="0" data-original-height="621" data-original-width="582" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjeFhqb85o1-6N-JXuWeBgz7Wl3YR03OPmTrlic_xnMI57CwiKPEqSohWjTmJdI4pkOJ2gr0IroQXaJB5drcmnelnmAgWxVOEWyD4smj9QrdhYBil343VdaGKFcxe43hg15kw59ndE8BXY/s320/sg-sna+MODULE.jpg" width="300" /></a></div></div><div style="text-align: justify;"><span>I bring out two of the SI5351 clock outputs throughs DC locking capacitors, one of them has a 50 ohm load placed across the output. This can be used as a two channel signal generator. There is limited level control, but you can build very simple attenuators to take care of that issue. Instead of using an AD8307 Log amplifier for RF measurements, it used a 1N60P shunt diode detector feeding a MCP6002 operatinal amplifier. This two channel op-amp is very nice to work with in microcontroller circuits. It only requires a single ended power supply, and works well at 5 volts. It has rail to rail output, so you can use the whole 5 volt input range of the Arduino Nano. They are readily available in 8 pin DIP and SMD versions, and are less than $1 through most suppliers. </span><span>This circuit does not have the sensitivity or dynamic range of an AD8307. But, for use as a RF voltmeter or in a SNA over the range of voltages expected in testing the transceiver it will be very adequate. One of the detectors has a 50 ohm load on the input for power measurements or use as an input for the SNA function. The other is configured as a remote RF probe with a x1/x10 voltage divider, for basic RF level checking</span><span>. </span></div><div style="text-align: justify;"><br /></div><div style="text-align: justify;">Just like other parts of the project,<br /></div></span><div><span style="font-size: medium;"><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_b1nqa2ldgravySoYZbD2IWrCS6n20zDZR-Md5TFLFCEMGNnb6BoDN5RbKgH6Xe8ae6AkdZL5gT08O2fycJLieV6YCMakTdwzTITSgWzFoD1l4wvsSV0C3gr8r1XOuUXaqgm4CW4Gio6g/s798/sg-sna-layout.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="573" data-original-width="798" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_b1nqa2ldgravySoYZbD2IWrCS6n20zDZR-Md5TFLFCEMGNnb6BoDN5RbKgH6Xe8ae6AkdZL5gT08O2fycJLieV6YCMakTdwzTITSgWzFoD1l4wvsSV0C3gr8r1XOuUXaqgm4CW4Gio6g/s320/sg-sna-layout.jpg" width="320" /></a></div></div></span><div style="text-align: justify;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2gvsHo7l87yX9CpchGOZaoklSu70SEzvQiGPlXibAoeel3pRg8Ph1RjQldVOzYk6oJxIjSjzIHUQ6AI3GHwBzrF-4leWZNaXcIGhQvppdyPbM3_T06c3pCXxtezvQxVBqcbU_XcwJ55C2/s671/sg-sna-module.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em; text-align: center;"><span style="font-size: medium;"><img border="0" data-original-height="538" data-original-width="671" height="161" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2gvsHo7l87yX9CpchGOZaoklSu70SEzvQiGPlXibAoeel3pRg8Ph1RjQldVOzYk6oJxIjSjzIHUQ6AI3GHwBzrF-4leWZNaXcIGhQvppdyPbM3_T06c3pCXxtezvQxVBqcbU_XcwJ55C2/w200-h161/sg-sna-module.jpg" width="200" /></span></a><span style="font-size: medium;"><span><span>the </span><span>test set options will be </span><span>built as simple modules.</span><span> </span><span>The test set modules will plug onto the 18 pin expansion header on the VFO/BFO board. It is built on one of the 50x70 mm. boards in the kit I purchased. You can use edge mount SMA connectors for all, but I substituted 3 pin right angle heder pins for the RF probe connection, so I could use it for other possible functions.</span></span><span> A 3 pin keeps the layout the same for either, and makes a more solid feeling connection. </span></span></div><div style="text-align: justify;"><span style="font-size: medium;"><br /></span></div><div style="text-align: justify;"><span style="font-size: medium;"><br /></span></div><div style="text-align: justify;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiywnswD-Eo_5bwE2xctzvWR2BBeQ2bX_QnQCcirYYkgVsRPXLqLsJqyuH45WuiXvkQfWubWX4N1GE-ZnL-gdG1BqxJrLMXdP9tXglzOqhnDXxckZ9Yiup-dJJ963ISZc4Q3Gu_GAkR01fv/s820/test+set.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em; text-align: center;"><span style="font-size: medium;"><img border="0" data-original-height="506" data-original-width="820" height="197" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiywnswD-Eo_5bwE2xctzvWR2BBeQ2bX_QnQCcirYYkgVsRPXLqLsJqyuH45WuiXvkQfWubWX4N1GE-ZnL-gdG1BqxJrLMXdP9tXglzOqhnDXxckZ9Yiup-dJJ963ISZc4Q3Gu_GAkR01fv/w320-h197/test+set.jpg" width="320" /></span></a><span style="font-size: medium;"><span> Adding an adapter board for the TFT display and making a simple 3D printed sleve to hold everything, </span><span>the modules plugged together make a</span><span>fairly compact test set.</span><span> </span></span></div><div style="text-align: justify;"><span style="font-size: medium;"><br /></span></div><div style="text-align: justify;"><span style="font-size: medium;">Now to finish the software. It will have parts from the SNA Jr., 2 channel signal generator, and Sweeperino Jr. projects, plus a couple more if I can fit them all in the Nano.</span></div><div><p><span style="font-size: medium;"> I hope to have several other modules that such as an antenna nalyzer. SWR power meter. measurement receiver, and possibly a very simple Spectrum Analyzer for up to about 60 MHz. These will be added as the transceiver project progresses</span><span style="font-size: large;">.</span></p><p><span style="font-size: medium;"><br /></span></p><p><span style="font-size: large;"><br /></span></p></div></div>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com5tag:blogger.com,1999:blog-7702184209705146469.post-25500102177614250022021-07-28T18:13:00.003-04:002021-07-28T18:18:32.145-04:00Testing Audio Amplifiers<p><span style="font-size: medium;"> <span>After finishing the microphone amplifier and the AF amplifier modules, it is time to test them. For the experienced builder with scope and signal generator available it is no problem. If you are new to building, and don't have these available, there is a very inexpensive option that may even work better. </span></span></p><p><span style="font-size: medium;">I spent more than 25 years working as a field service technician. During this I spent more time than I want to think of dragging scopes, and other pieces of test euipment around. During the last years before I retired, I found several useful pieces of software that allowed you to use PC sound cards as scopes and or signal generators. Although they were not suitable for calibrating the equipment I worked on. They were more than adequate for trouble shooting, and verifying basic system operation</span></p><p><a href="http://i.ebayimg.com/images/g/2LMAAOSwl8NVVVbp/s-l400.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: medium;"><img alt="New-Mini-USB-2-0-3D-Virtual-12Mbps-External-7-1-Channel-Audio-Sound-Card-Adapter" border="0" class="img img400" height="158" id="icImg" itemprop="image" src="http://i.ebayimg.com/images/g/2LMAAOSwl8NVVVbp/s-l400.jpg" width="258" /></span></a><span style="font-size: medium;"></span></p><p><span style="font-size: medium;">Although these worked better with actual sound cards, they also work quite well with the very inexpensive USB sound cards that are available simular to this one. </span></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI0iF0uF-7W4jHFz-oyc1nC-9AwlqnaflA2C_x9zvxQMrsLzo9b9IqUaIEidRQMvDunwbc9PPAllxQH7m0Z4YIbwAw4G43BlVBZRftv5tklzTF07YKNMxvA59mrzD4iai98DlndZOfmMPM/" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: medium;"><img alt="" data-original-height="1207" data-original-width="1500" height="161" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgI0iF0uF-7W4jHFz-oyc1nC-9AwlqnaflA2C_x9zvxQMrsLzo9b9IqUaIEidRQMvDunwbc9PPAllxQH7m0Z4YIbwAw4G43BlVBZRftv5tklzTF07YKNMxvA59mrzD4iai98DlndZOfmMPM/w200-h161/image.png" width="200" /></span></a></div><span style="font-size: medium;"> Other USB sound cards will give more options such as dual channel input, but are more expensive. </span><p></p><p><span style="font-size: medium;"><br /> Only prblem I have found with the USB card is that sometimes there are higher frequency signals found because of traffic on the USB bus. This has normally been higher than the 5 KHz. I think of as the upper limit for frequency response in comunication equipment.</span></p><p></p><p><span style="font-size: medium;"><span>They only requite a simple interface to provide usable results. I have tried several, from basically just DC blocking capacitors,</span><span>to ones with internal amplification. </span></span></p><p><span style="font-size: medium;"></span></p><div class="separator" style="clear: both; text-align: center;"><span style="font-size: medium;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0SMNbBh_z4pIlYxy3PDAip35NV1YE97a6EXe-fLq1wL1ZnIsgEaIO7QOr9Z2jUKs6FJ0r93F6iirofqeH7CO9zPEfGkYJf3LxGoskfIa24sUNBce1hx2cCtaffALF8FJnz6-tLMfNNVx4/s626/SCScope+interface.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="451" data-original-width="626" height="289" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0SMNbBh_z4pIlYxy3PDAip35NV1YE97a6EXe-fLq1wL1ZnIsgEaIO7QOr9Z2jUKs6FJ0r93F6iirofqeH7CO9zPEfGkYJf3LxGoskfIa24sUNBce1hx2cCtaffALF8FJnz6-tLMfNNVx4/w400-h289/SCScope+interface.png" width="400" /></a></span></div><span style="font-size: medium;">The one I use most of the time uses a simple X1, X10 voltage divider along with DC blcking capacitors on the output to the MIC input on the sound card. If you use an internal sound card with a Line Input, you can build a two channel version of the interface. </span><div><span style="font-size: medium;"><br /></span></div><div><span style="font-size: medium;"><span>If you use Line Input you can </span><span>elminate the DC blocking capacitor going into the sound card.</span><span> It is there to remove the DC voltage out of the MIC input used to power Electoret microphones and provides protection for the sound card. I like having some protection for the sound card from DC voltages in the circuit being tested. Espically if you use this to test Tube circuits, with their higher voltages. To add this place a pair of back to back diodes 1N4148 orsimilar across the input to the sound card to ground.</span></span></div><div><span style="font-size: medium;"><br /></span><div><span style="font-size: medium;">For the Signal generator output, I capacitivly couple the sound card stereo channels to a 1K pot. This couples the L and R channels , and lets you ballance the output levels so you can use this to generate a two tone audio signal for testing transmitter out settings. The combined output then goes to a Pot. for level adjustment and a DC blocking capacitor to the output connector.</span><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi9_J0nL_DJQ6Z7Jd2ZQ9eNUDxXsQOdQmn5AR10TmrDZ5QlLc9i2H7TwJGHUKQPA56wP-F73a9MupN8qO78rb0lUNwCow-krvnm1gkRUIrVns_lhlfBbJtniillyifDxQ563kryqcpKvbn/s672/SCscope+intweface.jpg" style="margin-left: 1em; margin-right: 1em;"><span style="font-size: medium;"><img border="0" data-original-height="378" data-original-width="672" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi9_J0nL_DJQ6Z7Jd2ZQ9eNUDxXsQOdQmn5AR10TmrDZ5QlLc9i2H7TwJGHUKQPA56wP-F73a9MupN8qO78rb0lUNwCow-krvnm1gkRUIrVns_lhlfBbJtniillyifDxQ563kryqcpKvbn/w400-h225/SCscope+intweface.jpg" width="400" /></span></a></div><span style="font-size: medium;"><br /></span><div class="separator" style="clear: both; text-align: center;"><span style="font-size: medium;"><br /></span></div><p><span style="font-size: medium;"><br /><span>This is also built with perf board, and use right angle header pins as output connectors. The header pins let me use JST jumpers to connect to modules being tested or to build simple fixtures for making testing easier. Instead of a switch I use a 3 pin header and jumper to selecdt voltage level. You could also replace the voltage divider with a 1 Meg. Pot. to make construction even easier. I used some 3.5 mm. jacks for the signals going to the sound card. You could elminate them and use a 3.5 mm stereo cable cut in half and wired directly to the circuit.</span></span></p><p><span style="font-size: medium;"><span>There are two different software packages under Windows 10 that I use. One is </span><a href="https://www.zeitnitz.eu/scms/scope_en?mid=4.01" target="_blank">Soundcard Oscilloscop</a> <span> </span><span>and the other is </span><a href="http://www.sillanumsoft.org" target="_blank">Visual Analyzer</a>.</span></p><p><span style="font-size: medium;">They have similar basic functions </span></p><p><span style="font-size: medium;"> 2 channel scope with XY display</span></p><p><span style="font-size: medium;"> FFT based frequency spectrum display</span></p><div style="text-align: left;"><span style="font-size: medium;"> 2 Channel signal generator</span></div><div style="text-align: left;"><span style="font-size: medium;"><br /></span></div><div style="text-align: left;"><span style="font-size: medium;">Visual analyzer has additional functions among them a Voltmeter, Frequency Meter, with additional hardware a ZLRC meter. </span></div><div style="text-align: left;"><span style="font-size: medium;">Both free for non commercial use, a commercial license or donation available.</span></div><div style="text-align: left;"><span style="font-size: medium;"><br /></span></div><div style="text-align: left;"><span style="font-size: medium;">I am only going to use Soundcard Oscilloscope for this post. After doing the install you get the main screen.</span></div><div style="text-align: left;"><span style="font-size: medium;"><br /></span></div><div style="text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9LRuDta8z3hyphenhyphenv4iFLaz-E8zZp1n408vJHfeHIUlfVj0PaLsDddT8OdDhFbE0vyBpeVfdUIHmyCCWtbBENZFHbaNOPaNpZXiy_5k3KF20dumbMMtu1lfntp6aa5tGdH_LL-H5e0qTJHEj2/" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><span style="font-size: medium;"><img alt="" data-original-height="917" data-original-width="1283" height="286" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9LRuDta8z3hyphenhyphenv4iFLaz-E8zZp1n408vJHfeHIUlfVj0PaLsDddT8OdDhFbE0vyBpeVfdUIHmyCCWtbBENZFHbaNOPaNpZXiy_5k3KF20dumbMMtu1lfntp6aa5tGdH_LL-H5e0qTJHEj2/w400-h286/image.png" width="400" /></span></a></div><span style="font-size: medium;"><br /><br /></span></div><div style="text-align: left;"><span style="font-size: medium;"><br /></span></div><p><span style="font-size: medium;"><br /></span></p><p><span style="font-size: medium;"><br /></span></p><h2 style="background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom: 4px solid lightgrey; border-top-left-radius: 7px; border-top-right-radius: 7px; color: steelblue; font-family: Arial, Helvetica, sans-serif; line-height: 40px; margin: 0px -10px 10px; padding: 0px 0px 0px 10px; zoom: 1;"><span style="font-size: medium;"><br /></span></h2><p><span style="font-size: medium;"><br /></span></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQCHeBAk_ULr_Dpc6rxhmLgs_Bh7B_co2OsFwXwTkIbhyphenhypheng9pST58IlWAoHs_qxVZghvpsL62g5w5HirJIqFmPGP44N1Zl8uG4kYCx_kbw0_ewiBUJMn-KSKd8Us58r4DyB_gE_dFb9EWYp/" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: medium;"><img alt="" data-original-height="917" data-original-width="1283" height="229" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQCHeBAk_ULr_Dpc6rxhmLgs_Bh7B_co2OsFwXwTkIbhyphenhypheng9pST58IlWAoHs_qxVZghvpsL62g5w5HirJIqFmPGP44N1Zl8uG4kYCx_kbw0_ewiBUJMn-KSKd8Us58r4DyB_gE_dFb9EWYp/w320-h229/image.png" width="320" /></span></a></div><span style="font-size: medium;">Functions are selected from a set of tabs above the scope display. First thing you need to do is select your input and output device, and set the scope paramateurs. Amplitude calibration can be done later. For ease of learning the interface select scope loopback for input and output device<br /></span><p></p><div class="separator" style="clear: both; text-align: center;"><span style="font-size: medium;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUiwL-M7LdhV6J_5NsHmKAbusp3K-S2kEGBLnNqVnecb3xOiDeKPRiVgb7ZgTsXd_9lmgXMQTiIVQhpDPmtrmNxPViI3Ezk30UodsgGtyFYIAt-HQWfBk1l592odRjq0I4aaJ51UlWj6D0/" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img alt="" data-original-height="909" data-original-width="1283" height="227" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUiwL-M7LdhV6J_5NsHmKAbusp3K-S2kEGBLnNqVnecb3xOiDeKPRiVgb7ZgTsXd_9lmgXMQTiIVQhpDPmtrmNxPViI3Ezk30UodsgGtyFYIAt-HQWfBk1l592odRjq0I4aaJ51UlWj6D0/" width="320" /></a></span></div><span style="font-size: medium;">First function to check out is the Oscilloscope function selected by clicking on the first tab. To the right you have controls for setting the voltage range per channel and the timebase for the sweep. There are also options for setting trigger type , slope, and threshold. </span><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghM9GgcP2V1dSRVPbh8N7bwHZodcAYC3kIdIYuLgzfmkkHKm_AQzdAeST9q9uwW3hAILVbXTmcZbPTgc0WUWanJDHAO5pMz9eOInPzhi-GW9pzJF6-zJfegVlzPuJGjDzY05HAhGsvljcY/" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: medium;"><img alt="" data-original-height="920" data-original-width="1283" height="229" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghM9GgcP2V1dSRVPbh8N7bwHZodcAYC3kIdIYuLgzfmkkHKm_AQzdAeST9q9uwW3hAILVbXTmcZbPTgc0WUWanJDHAO5pMz9eOInPzhi-GW9pzJF6-zJfegVlzPuJGjDzY05HAhGsvljcY/" width="320" /></span></a></div></div></div><div><span style="font-size: medium;">Just below th display area there is a button to set the type of measurement you can make. You can set cursors for both amplitude and time. For both there is a display value for the reference cursor and the difference between it and the second.</span></div><div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: medium;"><br /></span></div><span style="font-size: medium;"><br /></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXCWkwfdUWGsx52mUxc3pvLJaXbI3_Q9MpJg4jbY7w-wQhyawPxPOah8zWK1zUTbdfooH8PvSL_6nhR_NHzTfyGQzmnA4geEDXsrsFI7Dqb3J4lNRBB-bJUVhgnhyfxwTBoYhivOnDHUq1/" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: medium;"><img alt="" data-original-height="815" data-original-width="579" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXCWkwfdUWGsx52mUxc3pvLJaXbI3_Q9MpJg4jbY7w-wQhyawPxPOah8zWK1zUTbdfooH8PvSL_6nhR_NHzTfyGQzmnA4geEDXsrsFI7Dqb3J4lNRBB-bJUVhgnhyfxwTBoYhivOnDHUq1/" width="171" /></span></a></div></div><div><span style="font-size: medium;">The next thing to look at is the</span></div><div><span style="font-size: medium;">signal generator tab. This allows you to select the type of signal generated, frequency and amplitude for each channel. It also allows you to set up frequency sweeps that are very handy for checking frequency response of amplifiers. This can be brought out as a separate window to make it easier to use.</span></div><div><span style="font-size: medium;"><br /></span></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi66LTHd-S_c6J6HUffw1oOOyLRwJpY6YUrL1rb9ebugGBcQc6F0zE9Z3FsvnH6mVcsbJebQZKn2B4Cp59-43sDYaHfhhNuDo8kCBeiIwv5IyIyUH54xtiUuxnfxHqg7mD3i3rerjIWbciK/" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: medium;"><img alt="" data-original-height="909" data-original-width="1283" height="227" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi66LTHd-S_c6J6HUffw1oOOyLRwJpY6YUrL1rb9ebugGBcQc6F0zE9Z3FsvnH6mVcsbJebQZKn2B4Cp59-43sDYaHfhhNuDo8kCBeiIwv5IyIyUH54xtiUuxnfxHqg7mD3i3rerjIWbciK/" width="320" /></span></a></div></div><div><span style="font-size: medium;">The last function I commonly use is the frequency display. This uses a FFT to compute a spectrum display of the input signal in the frequency domain, instead of the time domain. This is very useful for measuring the frequency response of a audio amplifier or filter, when used with the signal generator. You can place a cursor on a signal to get the frequency of the signal. Along with the cursor you can use the zoom function and position to look at a signal in more detail. Unfortunatly there is no vertical cursor, so you have to turn on the grid and reference signal levels to a scale on the side. Some of the other useful options in this function is the ability to look at the levels in dB, and usea peak hold when sweeping to plot the frequency response of a amp or filter.</span></div><div><span style="font-size: medium;"><span><br /></span><span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1ZEJbgxFAF1zs08JkHsZ2XWUPmj5GXseSGylobsCAQ8PFNO3-Ce8O2gN7V1L1SjmqjaMsucuuLTb5eHSwcGf5topCipQOtrhAd5VRmXIJXHPKj7FoGNz6uDyBQM72kW8bNLz5ZGxcDgzQ/" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img alt="" data-original-height="891" data-original-width="1160" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1ZEJbgxFAF1zs08JkHsZ2XWUPmj5GXseSGylobsCAQ8PFNO3-Ce8O2gN7V1L1SjmqjaMsucuuLTb5eHSwcGf5topCipQOtrhAd5VRmXIJXHPKj7FoGNz6uDyBQM72kW8bNLz5ZGxcDgzQ/" width="312" /></a></div></span><span>One common way to </span><span>check frequency response, is to set the signal generator start frequency, turn on sweep and set the end frequency and sweep time. I usually set the end frequency to about twice the highest frequency response I am trying to measure. Then on the frequency display set peak hold and set to dB and auto scale. Let it run a few passes and you have a good indication of the frequency response of the amp or filter. Do this with two different signal levels and you can find the gain or loss of the device being tested.</span></span></div><div><span style="font-size: medium;">Another method to measure frequency response is to select White Noise as the signal being generated. On the frequency display panel everything is set the same. After a few passes the frequency response shold be clearly seen. Make sure you use White Noise and not Pink Noise. White Noise has a constant amplitude over the whole audio frequency range, where with Pink Noise the amplitude fall off as frequency increases. For checking frequency response it can show a incorrect result at higher frequencies.</span></div><div><span style="font-size: medium;"><br /></span></div><div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: medium;"><br /></span></div><span style="font-size: medium;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1vWA__uIfw1lp1ea3GDs80Ky3AoS6Z5KM9BglWD5L-FOg0pTkAy-iah2bxWMDFoR2I286pada84P78h79-vJz6lIfYXldzkys4oIIIXmLORFIyTfqOuxYHtIt6jSoW65D5o4lOXxlc_tI/s803/m+a+sig+level.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="753" data-original-width="803" height="188" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1vWA__uIfw1lp1ea3GDs80Ky3AoS6Z5KM9BglWD5L-FOg0pTkAy-iah2bxWMDFoR2I286pada84P78h79-vJz6lIfYXldzkys4oIIIXmLORFIyTfqOuxYHtIt6jSoW65D5o4lOXxlc_tI/w200-h188/m+a+sig+level.jpg" width="200" /></a></div>Now lets switch to the sound card input and output, and connect to the microphone amplifier. After setting the signal to a 1KHz Sine wave and a level just before the output started to distort.</span></div><div><span style="font-size: medium;"><br /></span></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivsIJJTIuSe_ZIUr0ZHGMEvZXFLypNXTJxg1WU10AjIwhAd44GezfTmcsiJ18KpAuXHjiPJxsJrsoAfMCxfZ2sNMJvdk48yxcoXnmXV_fy_7IW0qxdHJmOCiReXWhNuzHgubEo709dv40t/s786/freq+response.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: medium;"><img border="0" data-original-height="409" data-original-width="786" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivsIJJTIuSe_ZIUr0ZHGMEvZXFLypNXTJxg1WU10AjIwhAd44GezfTmcsiJ18KpAuXHjiPJxsJrsoAfMCxfZ2sNMJvdk48yxcoXnmXV_fy_7IW0qxdHJmOCiReXWhNuzHgubEo709dv40t/s320/freq+response.jpg" width="320" /></span></a></div><span style="font-size: medium;"> I switched to the frequency mode and set the signal generator to sweep from 20HZ. to 20KHz. With the display in dB and max hold, you can see the frequency response is flat from 100 Hz to over 10KHz. </span></div><div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-M_PbfQwgyO0T4e5Y1plhsYaELF35g5D-MbHmd-Ms2nH_N87dfQWFoLuIqL0lV3HAR2NPn4tyqtOBJzbyWAapoFhdvUQU1TJ4Pffi1hRw6VFoMJSAoc_PuDzFHXZuD9d5TZ56p0QSBhgw/s792/freq+response+linear.jpg" style="clear: right; display: inline; float: right; margin-bottom: 1em; margin-left: 1em; text-align: center;"><span style="font-size: medium;"><img border="0" data-original-height="396" data-original-width="792" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-M_PbfQwgyO0T4e5Y1plhsYaELF35g5D-MbHmd-Ms2nH_N87dfQWFoLuIqL0lV3HAR2NPn4tyqtOBJzbyWAapoFhdvUQU1TJ4Pffi1hRw6VFoMJSAoc_PuDzFHXZuD9d5TZ56p0QSBhgw/s320/freq+response+linear.jpg" width="320" /></span></a><span style="font-size: medium;"> The log display makes it look noisier at the higher frequencies. But, if you look at the response you see that the noise level is fairly constant across the whole range.</span></div><div><span style="font-size: medium;"><br /></span></div><div><span style="font-size: medium;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYHeg6Z-8eN5a1_0pR4zCTC9NycwI8ImMcVrc_SWWGJIQi-tRx8Xz8e7_gL8lnhzy1kv8wO4kbe-TcrV-HjfAjaXk5a3jkqnZqOPr1d66NaDflc-52o9Iv_kgpvDypLXMj8U6TDJhQZ3lq/s789/2+TONE+BALANCE.jpg" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="408" data-original-width="789" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYHeg6Z-8eN5a1_0pR4zCTC9NycwI8ImMcVrc_SWWGJIQi-tRx8Xz8e7_gL8lnhzy1kv8wO4kbe-TcrV-HjfAjaXk5a3jkqnZqOPr1d66NaDflc-52o9Iv_kgpvDypLXMj8U6TDJhQZ3lq/s320/2+TONE+BALANCE.jpg" width="320" /></a></div>There is one alignment of the test fixture that should be made, that is to adjust the balance between the two channels. This signal will be used later to do a two tone test for setting the microphone level. A good Youtube video by W2AEW <a href="https://www.youtube.com/watch?v=3DxBg6h4Fc8" target="_blank">Two-tone test of SSB transmitter output</a> explains the test quite well. The two frequencies should be non-harmonically related and adjust the balance for equal levels. I used 750 and 1250 Hz. and set the cursor at 1000Hz. Then use the zoom control to spread the traces apart. Then just adjust the balance pot for equal amplitude. Make sure you have peak hold turned off while doing this.</span></div><div><span style="font-size: medium;"><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAxPl6RF8g3X6dbkuHwK8KxukGW8dK3ptxRVdRQiJtDNSgTzwZY0MQ0RTymYgqrkcVnZjs1odwNBQt0w_1O47s4m6K3dS6gB9RLVwmijnXsYhEGCHXGWOscqdTwUPKB4W3PgPbq22Qil8D/s640/AF+Amp.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="480" data-original-width="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAxPl6RF8g3X6dbkuHwK8KxukGW8dK3ptxRVdRQiJtDNSgTzwZY0MQ0RTymYgqrkcVnZjs1odwNBQt0w_1O47s4m6K3dS6gB9RLVwmijnXsYhEGCHXGWOscqdTwUPKB4W3PgPbq22Qil8D/s320/AF+Amp.jpg" width="320" /></a></div></span></div><div><span style="font-size: medium;"><span>Testing the audio amplifier module is the same as the mic. amplifier. </span><span> </span><span>Only thing different is that you need a load between 4 to 32 ohms on the output. </span><span>The first stage of the audio amp. is nearly identical to the mic. amp., it is followed with a LM386 AF amp IC. The volume control should be a audio taper pot, but I only had linear taper in my parts box. You can approximate an audio taper by adding a resistor between the wiper and ground terminals on the pot. You need to use a larger value pot. to compensate for the final parallel resistance. Normally the added resistor value is around 20% of the pot. value. I ended up using a 20K pot and a 3K9 resistor.</span></span></div><div><span style="font-size: medium;"><span><br /></span></span></div><div><span style="font-size: medium;"><span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOMrUEXbISG0vT74ZD7zvLt-YRxiKk4zqV7Tf-aP6CF6PRf7jtfSiS9ZZWoHBpjrinE_a6KnVpPHJZlWAvv3Vu5villXAw6W2L-lCv8EnhFMYiG5TjS-jc9gSyzVYX9OV5WaebfVxhQMri/s798/FREQUENCY+RESPONSE.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="499" data-original-width="798" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOMrUEXbISG0vT74ZD7zvLt-YRxiKk4zqV7Tf-aP6CF6PRf7jtfSiS9ZZWoHBpjrinE_a6KnVpPHJZlWAvv3Vu5villXAw6W2L-lCv8EnhFMYiG5TjS-jc9gSyzVYX9OV5WaebfVxhQMri/w400-h250/FREQUENCY+RESPONSE.jpg" width="400" /></a></div>Setting things up the same as for the mic. amp., 1 KHz. sine wave set the input level and volume control to just below the point of distortion on the output signal. This is kind of tricky because of the gain of the LM386 is set quite high and you can get the output to distort very easily. I turned on the sweep from 200 Hz. to 20 KHz. and let it run for a while with peak hold turned on. I got a linear response from 200 to just over 8 KHz. where it started to drop off a little. Overall the AF stage has quite a bit of gain, that can start to distort fairly quickly, but has a flat response over the frequency range of interest for communications equipment. Gain on the LM386 can be reduced by decreasing the value of th capacitor between pins 1 and 8 of the IC, if desired. </span><span>Thats it for testing audio amplifier stages. AF filter response can be tested iin the same way. </span></span></div><div><span style="font-size: medium;"><br /></span></div><div><span style="font-size: medium;"> Next I will work on the VFO-BFO oscillator, based on a SI5351 module and Arduino. I have done several versions of these before, but will layout a simple version that can easily be built on the same style perf boards. I plan on bringing pins out that will allow the module to be used for testing RF stages in the transceiver. Hopefully I can get this to work similar to the original SNA Jr. or Sweeperino from my earlier posts. This should be very helpful for those who do not have anything in the way of RF test equipment.</span></div><div><span style="font-size: medium;"> </span></div><div><span style="font-size: medium;"><br /><br /> </span></div><div><span style="font-size: medium;"><br /> </span></div><div><span style="font-size: medium;"><br /></span></div><div><span style="font-size: medium;"><br /></span></div><div><span style="font-size: medium;"><div><div class="separator" style="clear: both; text-align: center;"><span style="text-align: left;"></span></div></div><div><br /><span><br /><br /></span></div><div><span><br /></span></div><div><span>.</span></div></span></div>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com2tag:blogger.com,1999:blog-7702184209705146469.post-69788925921730867022021-06-24T23:24:00.010-04:002021-06-26T17:52:05.606-04:00Simple SSB Xcvr Mic Amp build & AF amp layout<p><span style="font-size: large;"> <span style="font-family: inherit;">I had decided to build most of the transceiver using perf board. I prefer the double sided plated through hole variety to the bare variety. For me it just makes it easier to solder the part in place, and then route the leads as needed. Also if you have to replace a part, you can usually just clip it off on the top and solder in a replacement without changing the connections on the bottom. </span></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlTzyLofzMymhl4yM3NvUEmI8XgQhUNOqLzI7ZtH-uls2QbhUQ0J-BhCeaY7q-708U3-4xyWsyGY_tEv9jv3jV_AX3bTTkYUo3K6Jz4k5W2ruNOK-j1StlInt2dNKCuE8_0mI26cdz62vy/s593/perf+board+kit.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: large;"><img border="0" data-original-height="522" data-original-width="593" height="216" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlTzyLofzMymhl4yM3NvUEmI8XgQhUNOqLzI7ZtH-uls2QbhUQ0J-BhCeaY7q-708U3-4xyWsyGY_tEv9jv3jV_AX3bTTkYUo3K6Jz4k5W2ruNOK-j1StlInt2dNKCuE8_0mI26cdz62vy/w245-h216/perf+board+kit.jpg" width="245" /></span></a></div><p></p><p><span style="font-family: inherit; font-size: large;">This type is available in various sizes. You can find small kits with several small sizes for around $10. You can also get larger size boards and cut to the size desired.</span></p><p><span style="font-family: inherit; font-size: large;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFxaStGLU2TPY7qa_T7EiK-N16zPZTdNUVvjWRhomtimaV_w-STH78dUtg-ksT0blrbrZ9XF26EXo2_jThTRXMb7oCVMMzGgPmeV5p9L2G3hyphenhyphenDfdv4o2qvLajOVr8HiG1H4D-OxVAeG2tw/s976/mic+amp+perf+tempate.jpg" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><span style="font-size: large;"><img border="0" data-original-height="671" data-original-width="976" height="138" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFxaStGLU2TPY7qa_T7EiK-N16zPZTdNUVvjWRhomtimaV_w-STH78dUtg-ksT0blrbrZ9XF26EXo2_jThTRXMb7oCVMMzGgPmeV5p9L2G3hyphenhyphenDfdv4o2qvLajOVr8HiG1H4D-OxVAeG2tw/w200-h138/mic+amp+perf+tempate.jpg" width="200" /></span></a></div><span style="font-size: large;">After I received the kit, I changed the layout to fit one of the sizes in the kit. <span style="font-family: inherit;">The extra time spent making an exact layout template really saves time, and frustration in the long run. I also did the layout in ME Pad and Muppet format, and all are available at</span></span><p></p><p><span style="background-color: #fff2cc; font-size: medium;">https://www.dropbox.com/sh/v9rr5cqg9a788qe/AADuZN4t4wCLGh8orBzdFUwTa?dl=0</span></p><p><span style="font-size: large;"><span style="background-color: white;">When I first started building some of my projects, I used many components I had salvaged from junked equipment, or surplus supliers. Anyone remember 'PolyPacks' ? Because of this I got into the habit of always measuring the value of the components as I used them. </span><span style="background-color: white;">Time spent doing this also paid for itself many times over. Now I use better quality parts, but still test them before use. Getting harder to read the values on these small parts for some reason. </span></span></p><p><span style="background-color: white; font-size: large;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1jnJ3Tg8HC-gzTW4rIeAm4pCzl4p09Mlp-iASjzwHLDEZubUnrUyYPMoI3qRVO9qxFAuo-JO667cTW_ohkV8Shty17Hy1ZNks9vfmn2moq7ggGNtR0nTMkaOSOio80CUof7yelp-X58Cv/s550/component+tester.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: large;"><img border="0" data-original-height="425" data-original-width="550" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1jnJ3Tg8HC-gzTW4rIeAm4pCzl4p09Mlp-iASjzwHLDEZubUnrUyYPMoI3qRVO9qxFAuo-JO667cTW_ohkV8Shty17Hy1ZNks9vfmn2moq7ggGNtR0nTMkaOSOio80CUof7yelp-X58Cv/s320/component+tester.jpg" width="320" /></span></a></div><span style="font-size: large;">For this I use one of the inexpensive component testers available through the usual suppliers. The one usually use is similar to this one, and has pads for use in testing SMC components. They are available with or without cases for $10 - $20. Most of them measure R,L,C, along with diodes, transistors and FETs. For the seimconductors, they give pinout along with values such as gain and internal capacitance depending on type being tested. The first one I bought did not have a case so I found the design for a 3D printed one.</span><p></p><p><span style="background-color: white; font-size: large;">Following the template, it only took a little while to do the actual construction. For audio and digital boards I use either straight or right angle header pins for connectors. This allows me to use JST style jumpers for wiring for DC and control signals. You can also add connectors to shielded cable if needed. Or, you can easily solder wires directly to the pins if desired. For much of my test gear, I have adapters made up so I can use JST jumpers for ease of testing modules.</span></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLk-6iVihRa_akAsGosexs74DE52T5Rv1GyjheLkq5JLhjOkgmxSBQs9DSmPVlWq-qKWF5GGkXdoosjh4DAm3qYAWn6TkzvqnxK4kvsueBMFgG64hSQbTjUrXogP-OnZ6HnSnDi3fy-Ths/s1864/MIC+AMP.png" style="margin-left: 1em; margin-right: 1em;"><span style="font-size: large;"><img border="0" data-original-height="968" data-original-width="1864" height="208" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLk-6iVihRa_akAsGosexs74DE52T5Rv1GyjheLkq5JLhjOkgmxSBQs9DSmPVlWq-qKWF5GGkXdoosjh4DAm3qYAWn6TkzvqnxK4kvsueBMFgG64hSQbTjUrXogP-OnZ6HnSnDi3fy-Ths/w400-h208/MIC+AMP.png" width="400" /></span></a></div><p></p><p><span style="background-color: white; font-size: large;">Now that this module is finished, I did a layout template for the AF amplifier. Since the premap half of the AF amp is nearly identical to the Mic amp, I could just move components over a little to make room for the LM-386 and associated components. </span></p><p><span style="background-color: white; font-size: large;"></span></p><div class="separator" style="clear: both; text-align: center;"><span style="background-color: white; font-size: large;"><br /></span></div><span style="background-color: white; font-size: large;"><br /><br /></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix1KVEUZ7eR144DEGLVcZ0-qIT3FmHmf2OSA7WoaGeOHkox5D4ghI9f0md8NINP_kmLT2v5Oqj4aiCihE1aLMgn7nEFYXzh6t1kNHU8iHkYIYZI6wFf6NUA5YWZt3N0jL5bGADUBU4nPyH/s857/image_2021-06-26_175035.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="615" data-original-width="857" height="288" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix1KVEUZ7eR144DEGLVcZ0-qIT3FmHmf2OSA7WoaGeOHkox5D4ghI9f0md8NINP_kmLT2v5Oqj4aiCihE1aLMgn7nEFYXzh6t1kNHU8iHkYIYZI6wFf6NUA5YWZt3N0jL5bGADUBU4nPyH/w400-h288/image_2021-06-26_175035.png" width="400" /></a></div><br /><p></p><p><br /></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNaSiaa_HEiMGlNLxX4U8wvFEPGo803lSqGYHnuaBMknFkNGb5SWrBH-Iki8z7VGFTElnQ0WJ1-nVoGfUg9_1J1YwKTn9dsmGNNitK79Q12JkqEC_KpMne4nYeZt1Hq0UaDj6yf9i3KZCJ/s978/AF+Amp+perf+board.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: large;"><img border="0" data-original-height="442" data-original-width="978" height="145" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNaSiaa_HEiMGlNLxX4U8wvFEPGo803lSqGYHnuaBMknFkNGb5SWrBH-Iki8z7VGFTElnQ0WJ1-nVoGfUg9_1J1YwKTn9dsmGNNitK79Q12JkqEC_KpMne4nYeZt1Hq0UaDj6yf9i3KZCJ/w320-h145/AF+Amp+perf+board.jpg" width="320" /></span></a></div><p><span style="background-color: white; font-size: large;">It turned out like this. This was fairly crowded on this size board, so I did another template using a slightly larger board in the kit. This one allows plenty of room for components. Either version will work. Just up to the builder to choose the one they prefer.</span></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisQ4vNEuW6J3UHy0m4VQEMU3lKcXr8-JE4i27pcseuo7O82fs-MYrdmS6Mhc6VqSXB_waHzvQd9EpwcWY0549wtc4gKvO2mGnDweCVWGwH2Le5Vx8kuQPtfhCbyskNaCkD8uRzmoDX_CFU/s883/AF+Amp+perf+board+-2.jpg" style="margin-left: 1em; margin-right: 1em;"><span style="font-size: large;"><img border="0" data-original-height="582" data-original-width="883" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisQ4vNEuW6J3UHy0m4VQEMU3lKcXr8-JE4i27pcseuo7O82fs-MYrdmS6Mhc6VqSXB_waHzvQd9EpwcWY0549wtc4gKvO2mGnDweCVWGwH2Le5Vx8kuQPtfhCbyskNaCkD8uRzmoDX_CFU/s320/AF+Amp+perf+board+-2.jpg" width="320" /></span></a></div><span style="font-size: large;">I also did a ME Pad template for those that like that construction method. but only for the smaller size board. They are available at</span><p></p><p><span style="background-color: #fff2cc; font-size: medium;">https://www.dropbox.com/sh/ia55ghqyibs5iur/AAAlbEp8ARKuvKQ38VONz5zMa?dl=0</span><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4HISAGWz6aihd-pssvaMC-YROh_Z2vqWLLaFtk-_BViQ64spFkvJITaMgcZZZD2y_tz8hzF3WFJ1PCuE7YHIKZqaONX4ErFUX5b3q830rH7t34OonLZ5I6JZOn_ppVx5f_UFR2J5jlDWX/s904/AF+Amp+me+pad.jpg" style="margin-left: 1em; margin-right: 1em;"><span style="font-size: large;"><img border="0" data-original-height="412" data-original-width="904" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4HISAGWz6aihd-pssvaMC-YROh_Z2vqWLLaFtk-_BViQ64spFkvJITaMgcZZZD2y_tz8hzF3WFJ1PCuE7YHIKZqaONX4ErFUX5b3q830rH7t34OonLZ5I6JZOn_ppVx5f_UFR2J5jlDWX/s320/AF+Amp+me+pad.jpg" width="320" /></span></a></div><span style="font-size: large;"><br /><span>Next time I will have the AF Amp board finished, and will describe the simple test gear and software I use for checking audio frequency stages.</span><br /><br /><span style="background-color: white;"><br /><br /></span></span><p></p><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><br /></span></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><br /></span></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><br /></span></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><br /></span></div><span style="font-size: large;"><br /></span><p></p><p><span style="background-color: #fff2cc; font-size: medium;"><br /></span></p>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com1tag:blogger.com,1999:blog-7702184209705146469.post-55359529214820820392021-05-27T15:40:00.435-04:002021-05-28T00:30:21.752-04:00Simple SSB Xcvr Mic Amp layout<div class="separator"><span style="font-size: medium;"><br /></span></div><div class="separator"></div><div class="separator" style="clear: both; text-align: center;"><span style="font-family: inherit;"><span style="font-size: medium;"><br /></span></span></div><br /><span style="font-family: inherit;"><span style="font-size: medium;"><div class="separator" style="clear: both; text-align: justify;"><span style="font-family: inherit; text-align: left;">Normally I would start with the audio amplifier board,</span><span style="font-family: inherit; text-align: left;"> but in this case I will start with the microphone amplifier for two reasns. </span><span style="font-family: inherit; text-align: left;">First it is the simpelest to build, and second almost all the other circuits in the transceiver are just a variation of the same common emitter amplifier. Values have been changed to provide different gains, or frequency response. For the RF stages. compnents have been added to provide impedance transformation to make it easier to connect to the next stage. If you look, the bi-directional amplifiers in the IF stage are basically two common emitter amplifiers on top of each other. Switching power to the desired amplifier changes the direction of signal flow.</span></div><div class="separator" style="clear: both; text-align: justify;"><span style="font-family: inherit; text-align: left;"></span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghqZPKl4FILCVsTga1H3XZIzg8g_V7arIa96F0FnYP-6UyTZad-mhKLmMPyx8L_zAQXOXCUY0wmddERSRLAUeMdTSqMQW3EMA2O82fEIwI3R1Cm0zHQJBND7-UmIQebnk6zqWFyFocBqoO/s689/mic+amp+schematic.jpg" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="352" data-original-width="689" height="204" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghqZPKl4FILCVsTga1H3XZIzg8g_V7arIa96F0FnYP-6UyTZad-mhKLmMPyx8L_zAQXOXCUY0wmddERSRLAUeMdTSqMQW3EMA2O82fEIwI3R1Cm0zHQJBND7-UmIQebnk6zqWFyFocBqoO/w400-h204/mic+amp+schematic.jpg" width="400" /></a></div><div class="separator" style="clear: both; text-align: justify;">The schematic and values are directly from the LT Spice simulation by Pete, with the exception of an added 100K resistor that can be jumpered in if you need to power an electoret micrphone. For a lot more informationon how the values are determained check this YouTube by Charlie ZL2CTM on <a href="https://www.youtube.com/watch?v=4B10vgQk44E">Common Emitter Amplifier design</a> If you have not already checked Charlie's YouTube channel you are missing out on a huge amunt of information. He has built a variety of both hardware and software defined radios. He goes into the the math required for the design in a lot more detail than I even want to think about.</div></span></span><p style="text-align: justify;"><span style="font-size: medium;">I have tried many different construction methods over the year, and have found that time spent doing the inital layout, can save much more time and effort in the actual build. I have tried 'Ugly' or 'Dead Bug' , I find that it quickly turns into something that is impossible to modify if necessry. At least for me, I have seen some fantastic builds that others have done. I perfer using a Perf-board for one off AF or RF circuits, and for almmost all Digital circuits. </span></p><p style="text-align: justify;"><span style="font-size: medium;"><span>I started just doing the layout with pencil and paper, but still ended up running out of room or </span>needing to use a lot of jumpers. A few years ago I started using PCB design software, and now use it no mattr what method of construction I will be doing. There are two main types of PCB design software. One ties the PCB layout directly to a schematic. This offers more assurance that the layout will be correct according to the schematic. The disavantage is that if you want to make a change to a component or value on the layout you will have to go and make the change in the schematic first. The other type is more of just a graphic design program that allows you to add or change components in the layout as you want. This means that the entire correctness of the layout is up to you. </span></p><p style="text-align: justify;"><span style="font-size: medium;">But depending on the software, this method has some major advantages. The software I usually use allows me to take part of an existing layout and save the entire section as a component in the library. Most of the other programs I have tried allow you to make new components, but will not allow you to save a part of a layout as a component. </span></p><p style="text-align: justify;"><span style="font-size: medium;">One of the design programs sometimes I use is ExpressPCB+. It is free but tied to a single board house. You do not have to option to export as a Gerber file that can be sent to any PCB house. For those who make their own PCBs using the toner transfer or other metods can use the printed output of the program to make the transfer image. My favorite proram is Sprint Layout, not free but only around $50. It has all the options of ExpressPCB+, and the ability to generate Gerber files along with many other features.</span></p><p style="text-align: justify;"><span style="font-size: medium;">First thing I do is design the board as if I was going to make a simple through hole PCB. I can easily move components around to fit the size board I want, simplify layout, and elminate as many corssing lines as possible. I could generate the image to use for toner transfer and etch a board, use a cnc router to mill the board If I set the grid size to be .1" (2.54mm) I can use it as the layout template for a perf-board build. They will look something like this. </span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5v_ln5q8S59ZL_s0Etcn7J5_S_yVRdtNLTgOCH62AFibIUtPtkFrHkgXIa2EOjxN46WkskDfwDKesxAZ0KMmQk2wxOVHiMv0P82jxdMBPwi-WqMOTDwdXQqF-eG0F600aIzkAhknYKDeO/s754/mic+amp+pcb.png" style="margin-left: 1em; margin-right: 1em; text-align: center;"><span style="font-size: medium;"><img border="0" data-original-height="352" data-original-width="754" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5v_ln5q8S59ZL_s0Etcn7J5_S_yVRdtNLTgOCH62AFibIUtPtkFrHkgXIa2EOjxN46WkskDfwDKesxAZ0KMmQk2wxOVHiMv0P82jxdMBPwi-WqMOTDwdXQqF-eG0F600aIzkAhknYKDeO/s320/mic+amp+pcb.png" width="320" /></span></a></div><p style="text-align: justify;"></p><p style="text-align: justify;"><span style="font-size: medium;">For RF and digital circuits it is often desired to have a large ground plane on the board. In this case the software allows you to fill the board with a copper pour, and isolate the traces and component pads that are not connected to ground. This can be either etched or isolation routed. In this example I show the ground trace just as reference, It is really through the copper pour that the grounds are connected. On more complicated boards this can be a problem if component and trace layout isolate ground from one area of the board to another. In this case jumpers may be necessary, or a double sided board with 'vias' to connect the ground sections together.</span></p><p style="text-align: justify;"></p><div class="separator" style="clear: both; text-align: center;"><span style="font-size: medium; margin-left: 1em; margin-right: 1em;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb4OQCCDqAq2LK4aCtZt7Oqfz2DPYNwAd1lEU_oOLWChKC2m9C1M1uOx1Jw3vrddHTvLFDjX5zP6ohE4kFVDGo4EMqC3Ya5tilLxBrrP8ejt2bfjMHVzM2XpOJYzImBpk2QRqTl3hiOhRo/s755/mic+amp+th+gp.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="352" data-original-width="755" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb4OQCCDqAq2LK4aCtZt7Oqfz2DPYNwAd1lEU_oOLWChKC2m9C1M1uOx1Jw3vrddHTvLFDjX5zP6ohE4kFVDGo4EMqC3Ya5tilLxBrrP8ejt2bfjMHVzM2XpOJYzImBpk2QRqTl3hiOhRo/s320/mic+amp+th+gp.png" width="320" /></a></span></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: medium;">These two examples use through hole components, and for the hobbiest that means a lot of drilling. To make this simpler for the another method called 'MUPPET' has been developed. this moves the copper traces from the bottom of the board to the top. Instead of pads around the through holes, a large solder pad is placed at the end of each component lead. It is fairly easy to bend the component lead sso it can be soldered to the board. Ground connections go directly to the copper .</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: medium;"><br /></span></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: medium;"><img border="0" data-original-height="395" data-original-width="759" height="166" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieVikNYmgVAPz9BnXFb656820rhKW-jDF3NQNUOp71sCh2KExzYc0mgEjHQaFgQ3thap4DyTFG8jLk470Ou4AzaIy4EOd_rjInXuixYOxiskkx_0fU0ALu6XZGNKruNbfQv7u7fCfpsG82/w320-h166/mic+amp+muppet.png" style="text-align: left;" width="320" /></span></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: medium;"><br /></span></div><span style="font-size: medium;">For those who do not want to take itme to etch boards, another method called the 'Manhatten Method' is very common. It uses small pads made from copper clad circuit board gluded to a piece of bare copper PCB material. These pads may be home made, or a commercial product called 'ME Pads' are available.The things you have to watch for is that any adjoing pads are properly jumpered, and that connected pads should be jumpered with insulated wire to prevent shorting to the ground plane. This method has the advantage of being very quick and the template looks something like this.</span><div><span style="font-size: medium;"><br /></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6w1IJc2lFUVovUIgUDsVHH5HzAJ9macQHRtCrNWfNfGfNS4zW1KrH3DFZUdH2D7yVNQbkuH9d_3sC47zFI8SbKM8NTog_-mjKjvCzuN0LIjrUaJJTlgVxNMiXucsfUBJ-A6lLhtYfley5/s762/mic+amp+mepad.png" style="margin-left: 1em; margin-right: 1em; text-align: center;"><span style="font-size: medium;"><img border="0" data-original-height="361" data-original-width="762" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6w1IJc2lFUVovUIgUDsVHH5HzAJ9macQHRtCrNWfNfGfNS4zW1KrH3DFZUdH2D7yVNQbkuH9d_3sC47zFI8SbKM8NTog_-mjKjvCzuN0LIjrUaJJTlgVxNMiXucsfUBJ-A6lLhtYfley5/s320/mic+amp+mepad.png" width="320" /></span></a></div><p><span style="font-size: medium; margin-left: 1em; margin-right: 1em; text-align: center;"></span></p><p><span style="font-size: medium;">Another common method used is to create 'islands' on the bare copper PCB material witha CNC router, or manually by using a tool such as a 'Plexiglass cutter' to scrape lines through the copper PCB material. The most important thing if done manyally is to make sure all the copper material is cleared away, and there is no connection between the islands. This could also be etched if desired. Again the traces are shown only for reference, the components are soldered directly to the PCB 'islands'.</span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5nh7FTu38vmeMzHbbEM9jPH5g_2UA_ymDLlcC0bovdze1tP94m3b-RsUNKWlJrq_kCJ27tOM464tEVV69UADymNayBMcSZTJU1L3_mrB2pU3F9VXhxAD9Cg53K5j3G5xP0zLg_L2_q_2k/s761/mic+amp+routed.png" style="margin-left: 1em; margin-right: 1em; text-align: center;"><span style="font-size: medium;"><img border="0" data-original-height="361" data-original-width="761" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5nh7FTu38vmeMzHbbEM9jPH5g_2UA_ymDLlcC0bovdze1tP94m3b-RsUNKWlJrq_kCJ27tOM464tEVV69UADymNayBMcSZTJU1L3_mrB2pU3F9VXhxAD9Cg53K5j3G5xP0zLg_L2_q_2k/s320/mic+amp+routed.png" width="320" /></span></a></div><p><span style="font-size: medium; margin-left: 1em; margin-right: 1em; text-align: center;"></span></p><p><span style="font-size: medium;">From these simple examples, you can see that the same layout can be used as a template no matter which method you want to use. There are several other methods using things like strip boards that are used by very successful builders . Look around on YouTube, and you can get more information on many of these methods. Some of my earlier posts cover toner transfer PCBs and might be helpful. </span></p><p><span style="font-size: medium;">So no matter what method you want to use for the project, my reccomendation is to play with the layout using whatever PCB design program you want and simplify the layout as much as possible before you heat up a soldering iron.</span></p><p><span style="font-size: medium;">Now I have a useable template for a perf-board version, and a package of parts just arrived yesterday so I can get started on the mic amp. Next post will look at how it is built and some simple ways to test it and the AF amplifier module that comes next.</span></p><p><span style="font-size: medium;"><br /></span></p><p><br /></p></div>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com0tag:blogger.com,1999:blog-7702184209705146469.post-25552505171685898692021-05-14T00:01:00.001-04:002021-05-14T00:03:06.786-04:00The N6QW Simple SSB Transceiver<p><span style="font-size: large;"> <span>Those that have been following my blog for a while, know that I am a fan of Pete Juliano,</span><span> </span></span><span style="font-size: large;">N6QW, and his MANY transceiver projects. Recently on the SolderSmoke blog, there was a post about one of Pete's project being built by group of amateurs belonging to the </span><span style="background-color: white; color: #333333;"><span style="color: #222222;"><span style="font-family: inherit; font-size: large;">Vienna Wireless Society in Virginia.</span></span></span></p><p><span style="background-color: white;"><span style="color: #222222; font-size: large;"><a href="http://soldersmoke.blogspot.com/2021/04/homebrew-lives-twenty-n6qw-simple-ssb.html">http://soldersmoke.blogspot.com/2021/04/homebrew-lives-twenty-n6qw-simple-ssb.html</a></span></span></p><p><span style="font-size: large;"><span style="background-color: white;"> A member of my local QRP club posted this to our groups.io page, and there were several people that were interested in building one. I contacted Pete, and he put me in touch with Dean </span></span><b style="background-color: white; color: #333333; font-family: "Trebuchet MS", Verdana, Arial, sans-serif; font-size: 12.61px;"> </b><span style="background-color: white; color: #333333;"><span style="font-family: inherit; font-size: large;">KK4DAS. Dean is the one leading the group at VWS through the construction of around twenty SSB transceivers. As of now almost half of the group have their project up to a working receiver.</span></span></p><p><span style="background-color: white; color: #333333;"><span style="font-family: inherit; font-size: large;">The other evening I was able to join their group in a Zoom meeting. They went over their progress. and shared information on the next stage in the build. </span></span><span style="background-color: white; color: #333333;"><span style="font-family: inherit; font-size: large;">I have also spent a lot of time going through the documentation they have been creating </span></span><span style="font-family: inherit; font-size: large;"><span style="background-color: white; color: #222222;">on the</span></span><span style="background-color: white; color: #222222; font-family: inherit; font-size: x-large;"> </span><a href="http://bit.ly/VWSSimpleSSB" style="background-color: white; color: #cc6611; font-family: inherit; text-decoration-line: none;"><span style="color: #0563c1;"><span style="font-size: large;">VWS Makers Group SimpleSSB Project</span></span></a><span style="background-color: white; color: #222222; font-family: inherit;"><span style="font-size: large;"> page. Some of the information there covers the module layout they used, some simple test equipment needed, and software developed. Dean has added to the oritional software, to provide support for different display types, and added features like CAT control.</span></span></p><p><span style="background-color: white; color: #222222; font-family: inherit;"><span style="font-size: large;">Several of the members of my local club interested in this project have only experience building some of the kits available through the common QRP sites. They feel that they would need quite a bit of detailed information to build something from just parts. I decided I will start working on a series of blog posts that will document the build in a detailed way that can fairly easily be copied by someone with very little or no experience. I know that most of these members have very little in the way of the test equipment that would be helpful in a project of this type. In these posts I also plan on describing some very inexpensive or easy to build test equipment. And, I plan on adding some test functions into the transceiver itself. A lot of the test equipment information will be a reference to or revisions to what I have covered previously in this blog.</span></span></p><p><span style="background-color: white; color: #222222; font-family: inherit;"><span style="font-size: large;">Most of the design is based on the work of Pete N6QW and can be reffenced at the links in his blog</span><span><span style="font-size: medium;">. <a href="https://n6qw.blogspot.com/2021/04/2021-time-to-be-pissed-off.html">N6QW.BLOGSPOT.COM</a></span></span></span></p><p><span style="background-color: white; color: #222222; font-family: inherit;"><span style="font-size: large;">Some of the minor mods I have made are based on some of the things I learned watching</span><span style="font-size: medium;"> <a href="https://www.youtube.com/c/CharlieMorrisZL2CTM/playlists">Charlie Morris ZL2CTM</a> </span><span style="font-size: large;">YouTube Videos.</span><span style="font-size: large;"> For those who have not </span></span><span style="background-color: white; color: #222222; font-family: inherit; font-size: x-large;">seen any of Charlie's videos, he goes through in great detail the math involved in the design of his circuit design. </span><span style="background-color: white; color: #222222; font-family: inherit; font-size: x-large;">Also incorporating the info from Dean and the VWS group, and some of my own ideas and preferences.</span></p><p><span style="background-color: white; color: #222222; font-family: inherit; font-size: x-large;">There are several options commonly used for buildiing a project of this type. Manhatten or MePad, Perf-board, CNC Routing, and the one I use quite a lot Toner transfer etching. For this I will use perf-board for most of the modules. My preference is using double sided boards with plated through holes. There are several inexpensive kits available with an assortment of sizes for a very reasonable price. These small boards are ideal for building individual modules. The probem many new builders find is getting the layout so it is easy to build. I perfer to use a PCB design program with the layout grid set to the .1" of the perf-board. This makes it easy to move things around to get a nice neat layout that is easy to duplicate. Then it is easy to transfer this to the perf-board for the actual construction. With this layout I can also generate files for Toner Transfer etching, or CNC routing. Even Gerber files if one desires to have boards made by one of the inexpensive board hoses in China.</span></p><p><span style="background-color: white; color: #222222; font-family: inherit; font-size: x-large;">These are my plans for the next few posts. If anyone else would be interested in this project contact me directly at duwayne@kv4qb.us. With most people now familiar with Zoom and Jitsi meetings, it would be possible to schedule meetings for everyone to get together and work as a group.</span></p><p><span style="background-color: white; color: #222222; font-family: inherit; font-size: x-large;">Not I need to go check my parts bins and see what extra stuff if any I need to order.</span></p><p><span style="background-color: white; color: #222222; font-family: inherit; font-size: x-large;"><br /></span></p><p><span style="background-color: white; color: #222222; font-family: inherit; font-size: x-large;"><br /></span></p><p><span style="background-color: white; color: #222222; font-family: inherit;"><span style="font-size: large;"><br /></span></span></p><p><span style="background-color: white; color: #222222; font-family: inherit;"><span style="font-size: large;"><br /></span></span></p><p><span style="background-color: white; color: #222222; font-family: inherit;"><span style="font-size: large;"><br /></span></span></p><p><span style="background-color: white; color: #222222; font-family: inherit; font-size: x-large;"><br /></span></p><p><span style="background-color: white; color: #333333;"><span style="font-family: inherit; font-size: large;"><br /></span></span></p><p><span style="background-color: white;"><br /></span></p>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com0tag:blogger.com,1999:blog-7702184209705146469.post-37722097596655102332021-02-23T22:06:00.007-05:002021-02-25T18:51:27.471-05:00Instrument storage boxes updated<p></p><div class="separator" style="clear: both; text-align: center;"><div style="text-align: left;"><br /></div><span style="font-family: inherit; text-align: left;"><div style="text-align: left;"><span style="font-size: large;"><span style="font-family: inherit;">While getting some equipment off a shelf I knocked some thing </span><span style="font-family: inherit;">down and they landed on a nanoVNA, cracking the screen.</span></span></div></span></div><div class="separator" style="clear: both; text-align: justify;"><span style="font-family: inherit; font-size: large;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"><tbody><tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd_alxdEn7I29gFZvUif_rB82UCC7TfdbDThj_eu5-mAZIWmnyfOcRqsYx66iH3V6Dbf_4urvQbZD6MQx2dxts66GhO0U_wlteLy1wjk74TeMBL2MqNs4AYWKaRcu6r93wnynaW1-SvdiB/s1055/FROG-BOX.jpg" style="clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;"><span style="font-size: large;"><img border="0" data-original-height="826" data-original-width="1055" height="157" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgd_alxdEn7I29gFZvUif_rB82UCC7TfdbDThj_eu5-mAZIWmnyfOcRqsYx66iH3V6Dbf_4urvQbZD6MQx2dxts66GhO0U_wlteLy1wjk74TeMBL2MqNs4AYWKaRcu6r93wnynaW1-SvdiB/w200-h157/FROG-BOX.jpg" width="200" /></span></a></td></tr><tr><td class="tr-caption" style="text-align: center;"><div class="ThingPage__modelName--3CMsV" style="background-color: white; color: #555555; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; letter-spacing: -0.2px; line-height: 22px; margin-left: 10px; position: relative; text-align: start;"><br /></div><div class="ThingPage__createdBy--1fVAy" style="background-color: white; color: #555555; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 16px; margin-left: 10px; position: relative; text-align: start;"><span style="font-size: large;"><br /></span></div></td></tr></tbody></table><span style="font-family: inherit; font-size: large;"><div style="text-align: left;"><span style="font-family: inherit;">I think it is time to make some protetive cases for the equipment when not in use. Looking around on Thingiverse I found a small case that is similar to to a Pelian Case. I printed one and fund it to be exatly what I wanted. It is very strong with a nice latch system that closes very tightly. It has a seal that can be made watertight if I run a small bead of silicon tub sealant in the grove in the bottom part of the box. Or there is a seal that can be printed using flexible filament.</span></div></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: inherit; font-size: large;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0iaz5knPRi_vx8-QI8JVRBOM0oJpHPxtXdQlVx855njm98qH26di-HHdDXKLKuSq9KOdCVpfaP1y4cpRiXuNdwQgHYJgD-qfJnFLjOJiCm-8-Z_pnGxDFO7ijmpGvyB-eQEllU7xU4MY8/s721/box+cad.jpg" style="clear: left; float: left; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: large;"><img border="0" data-original-height="668" data-original-width="721" height="185" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0iaz5knPRi_vx8-QI8JVRBOM0oJpHPxtXdQlVx855njm98qH26di-HHdDXKLKuSq9KOdCVpfaP1y4cpRiXuNdwQgHYJgD-qfJnFLjOJiCm-8-Z_pnGxDFO7ijmpGvyB-eQEllU7xU4MY8/w200-h185/box+cad.jpg" width="200" /></span></a></div><span style="font-size: large;"><span style="font-family: inherit;">Using this basic design and dimensins for the hinge and latch mounts, I designed several more boxes of the sizes I need for some of my other instruments. </span><span>With this design I can use the same lacth and hinge parts as the original design.</span><span style="font-family: inherit;"> </span></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: large;"><span style="font-family: inherit;"><br /></span></span></div><div class="separator" style="clear: both; text-align: left;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivLcGI7nP3qVc1BxCV0VrGaBqXjk0zOcvwwcGOjLxf3oIqnHmiMAt0cx1H0Zk9pp4sdAgRkaWGXTb68QVepbzmw8pL9bhhyzWFHMN5H4FF-3ubZWcfcrwhglpUkqdCIPOpyAxncD86QoLM/s2048/3D+PRINTED+BOXES.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: large;"><img border="0" data-original-height="1550" data-original-width="2048" height="303" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivLcGI7nP3qVc1BxCV0VrGaBqXjk0zOcvwwcGOjLxf3oIqnHmiMAt0cx1H0Zk9pp4sdAgRkaWGXTb68QVepbzmw8pL9bhhyzWFHMN5H4FF-3ubZWcfcrwhglpUkqdCIPOpyAxncD86QoLM/w400-h303/3D+PRINTED+BOXES.jpg" width="400" /></span></a><span style="font-size: large;"><span style="font-family: inherit;">I printed these up using some HIPS, PLA or PETG for the case top and bottom. These all worked quite well, with the PETG probably providing a little tighter seal. </span><span style="font-family: inherit;">I found that PETG worked best for the hinge and latch parts. Since it is slightly flexible </span><span>it holds the two parts of the case tighger than ones I printed with of PLA.</span></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: inherit; font-size: large;"><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">I lined the inside of a case with some mediam density foam to hold the instruments in place and provide quite a bit of protection.</div></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: large;"><br /></span></div><div class="separator" style="clear: both; text-align: center;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5hLKB_2McyCGflZcnc5YTgGhx9Z7bANjfHwwUk55vttoxt81MZxkB4gNkCmpeTVL6nGqjUOXVCoGvXbjPh2n67xyx-xNQgQ7u_2YPF2PRYc4au6Hzww4MsxPzBcdWNjtPe_5gbasc5WCr/s2048/IMG_20210223_180055.jpg" style="margin-left: 1em; margin-right: 1em;"><span style="font-size: large;"><img border="0" data-original-height="2048" data-original-width="1536" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5hLKB_2McyCGflZcnc5YTgGhx9Z7bANjfHwwUk55vttoxt81MZxkB4gNkCmpeTVL6nGqjUOXVCoGvXbjPh2n67xyx-xNQgQ7u_2YPF2PRYc4au6Hzww4MsxPzBcdWNjtPe_5gbasc5WCr/w480-h640/IMG_20210223_180055.jpg" width="480" /></span></a></div><span style="font-size: large;"><br /></span></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: large;">I am going to try to design some printed inserts for some of my other instruments instead of making them out of foam.</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: large;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: large;">After I clean up some of the cad fies I will post all of then for anyone interested.</span></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: large;">Original box design on thingiverse </span></div><div class="separator" style="clear: both; text-align: left;"><span style="background-color: #fcff01; font-size: large;">https://www.thingiverse.com/thing:4094861</span></div><div class="separator" style="clear: both; text-align: left;"><span style="background-color: white; font-size: medium;">Use the latch and hinge components for all other designs</span></div><div class="separator" style="clear: both; text-align: left;"><span style="background-color: white; font-size: medium;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="background-color: white; font-size: medium;">Update</span></div><div class="separator" style="clear: both; text-align: left;"><span style="background-color: white; font-size: medium;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="background-color: white; font-size: medium;">Designed and printed a new box bottom for a NanoVNA. This has built in compartments to hold the VNA , cables, and cal standards. I use connector savers on my VNA, so had to make the compartment a little longer. This gives me room to also store my printed torque wrench. Will have to print one for my other nanoVNA. With a piece of foam in the topccover, everything stays in place.</span></div><div class="separator" style="clear: both; text-align: left;"><span style="background-color: white; font-size: medium;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="background-color: white; font-size: medium;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="background-color: white; font-size: medium;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDwpKuR3LRE-68jEBZo-xGLVMRr1cdXGzbCp0szLNwufVcRWNGDIhXy8oF_axM31Dr3CvKrRrxpLbPzpgmliB57nNQApKeBL4pJblSaWMMWu0-pNgypiMu1x-bTkDKCRSxtJNKFnIfYqkR/s2048/IMG_20210225_180811.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1536" data-original-width="2048" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDwpKuR3LRE-68jEBZo-xGLVMRr1cdXGzbCp0szLNwufVcRWNGDIhXy8oF_axM31Dr3CvKrRrxpLbPzpgmliB57nNQApKeBL4pJblSaWMMWu0-pNgypiMu1x-bTkDKCRSxtJNKFnIfYqkR/s320/IMG_20210225_180811.jpg" width="320" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div> Still need to play with some of the printer settings. So far it looks like I need to use about 15% simple grid infill to keep the weight down. And 3 perimiter layers and 5 top and bottom layers.<br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="background-color: white; font-size: medium;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="background-color: white; font-size: medium;">Still checking and cleaning up the CAD files. Since I am using a fairly old commercial CAD program that does not use a standard file format for the raw file I will be exporting them to .stl format. As I check the CAD files I will store the .stl to this dropbox folder.</span></div><div class="separator" style="clear: both; text-align: left;"><span style="background-color: #fcff01; font-size: large;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="background-color: #fcff01; font-size: large;">https://www.dropbox.com/sh/5culi2oajisapdr/AAB_u4oxVUge0kJR0sVSVp3Ra?dl=0</span></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><br /></span></div><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><br /></span></div><span style="font-size: large;"><br /></span><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><br /></span></div><span style="font-size: large;"><br /><br /></span> <p></p>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com2tag:blogger.com,1999:blog-7702184209705146469.post-69195091440062723992020-12-02T17:51:00.004-05:002021-02-23T20:45:54.052-05:00Easy Tracking Generator + for the TinysA Updated 12/04<p><span style="font-size: large;"> <span>Well it has been a while since I did an update post for the TinySA or anything else. It has been a combination of some computer problems that I had to correct along with the associated data recovery. I also made a mistake and bought a FireStick for my TV. With all the streaing channels available it is WAY TOO EASY to spend a lot of time watching some of the older movies and TV shows. I have also been doing a little bit of another type of Home Brewing. Just finished up the 2nd. generation batch of UJSSM, and starting on the 3rd. generation.</span></span></p><p><span style="font-size: large;">So, lets get back to the TinySA. There has been quite a bit of information by way of groups.io, and several YouTube channels with coverage of the unit. Because of these the developer has released several updates to the firmware. These have corrected some of the problems fund in the early versions, and some added features. Because of these updates, I have been more impressed with the TinySA.</span></p><p><span style="font-size: large;">The one thing it is missing is a tracking generator. But, since I have a NanoVNA it was not an immediate issue. I finally decided I would build a very simple from available eBay or other outlet modules. The most basic tracking generator is just a RF source at the first IF of the SA and a mixer. The RF from this source is mixed with the LO of the SA to give you a signal that tracks the sweep frequency of the SA. I looked around at some of the PLL modules, and planned on doing something with an Arduino. Then I found several versions of ADF4351 modules that were complete RF generators. There were 3 versions that differed mainly in the type of display and controls. I went for one that has a full graphics display touch-screen controls, instead of the ones with text only display and push-buttons.</span></p><p></p><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><br /><br /></span><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9mqlQRrnQRiVOIj07N9l3bwraAEJE09tYBAmoa0Uvv4OJd-2f2aSNGRHsM0e4HuwaucmpqYNkFkrewpbFudwUs0WUEr9MTa0wMgUQi-tcWVYRS15gP-YLfXRbE26-xZonm8xMmTY-ozxb/s590/RF+GEN.jpg" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><span style="font-size: large;"><img border="0" data-original-height="401" data-original-width="590" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9mqlQRrnQRiVOIj07N9l3bwraAEJE09tYBAmoa0Uvv4OJd-2f2aSNGRHsM0e4HuwaucmpqYNkFkrewpbFudwUs0WUEr9MTa0wMgUQi-tcWVYRS15gP-YLfXRbE26-xZonm8xMmTY-ozxb/s320/RF+GEN.jpg" width="320" /></span></a></div><span style="font-size: large;"><br /><span>This is a self contained unit only needing 5 volts supplied through a USB connector. Along with fixed frequency output, it also has a sweep function. There is also a connector that brings out the 25 MHz reference used by the PLL. With a frequency range of </span><span>35 MHz. to </span><span>4.4 GHz. it is quite a impressive for the $35-$50 they sell for depending on the supplier. The other versions are available for around $20 to $30.</span></span><p></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMhBCgXRsehBE1ikd-uxR8CZwKa8jNOCJ9dILF71axti63A-2t_04L9_Pr6abMnqD3RmrEAoro9lEMxkYMExWNIuY2-Drn23xXEfWwr5gPr-lMDYl60DtRD8DsMgsPy2ykoKIbhdXkzTB5/s607/MIXER.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: large;"><img border="0" data-original-height="510" data-original-width="607" height="234" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMhBCgXRsehBE1ikd-uxR8CZwKa8jNOCJ9dILF71axti63A-2t_04L9_Pr6abMnqD3RmrEAoro9lEMxkYMExWNIuY2-Drn23xXEfWwr5gPr-lMDYl60DtRD8DsMgsPy2ykoKIbhdXkzTB5/w279-h234/MIXER.jpg" width="279" /></span></a></div><p></p><div style="text-align: left;"><span style="font-size: large;"><span> </span><span>Along with this I needed a RF Mixer. </span><span> I found a small passive DBM module </span><span>using an ADE25 for around $12. </span><span> They both use SMA connectors, </span><span>so it should be easy to wire-up and test. Total of around $50 for the tracking generator with nearly zero development time sounds good.</span></span></div><p><span style="font-size: large;"></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVdZnxY8IFk3XASh7Aa_lUh5g23HnG4V3QT_E-nI2PpkF2DWRQpPx2UOWOeW4W8aI1LQU2Od9WVXdHcQKMcG6xIuP0zT4DNbvNMH6jaRecd9i9tjY6VOEEiwJDWin-ay4asjc_f0V3McOW/s503/RF+TEST+BOARD.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: large;">I<img border="0" data-original-height="466" data-original-width="503" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVdZnxY8IFk3XASh7Aa_lUh5g23HnG4V3QT_E-nI2PpkF2DWRQpPx2UOWOeW4W8aI1LQU2Od9WVXdHcQKMcG6xIuP0zT4DNbvNMH6jaRecd9i9tjY6VOEEiwJDWin-ay4asjc_f0V3McOW/s320/RF+TEST+BOARD.jpg" width="320" /></span></a></div><p></p><p><span style="font-size: large;">I had previously ordered a RF test board to use with the NanoVNA. The filters included on this fixture should work well for checking the tracking generator. Since this also comes with SMA connectors on the test cables everything should be realy easy to test. </span></p><p><span style="font-size: large;">Now the hard part of the whole project was waiting for the parts to come in. With the whole Covid mess parts delivery times for anything from the Far-East have been greatly increased. Most of these have gone from 1 to 2 weeks to 5 or 6. Although I had ordered these parts over a 2 week period they all came in with 2 days of each other.</span></p><p><span style="font-size: large;">After powering the RF generator from a 5 volt USB power pack, I connected it to the Low input cnnector and set it for 100 MHz. output. There is a slider control for setting the output level, so I set that for around 50%. </span></p><div class="separator" style="clear: both; text-align: center;"><span style="font-size: large;"><br /></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3E4BiOPSfGpbQGw6YWM2ymVBWY7kqQsJN6J5mwDTygYrFPHtwfePZuO7cTry83URdg8eSkApBvMJsPsI6fvBSy4MJNzCRpXThK95wr-9m_i1mSQeAGLuOX9qtlTwx8h-5vbTqBrwgciXh/s320/100M+10M+SPAN.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: large;"><img border="0" data-original-height="240" data-original-width="320" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3E4BiOPSfGpbQGw6YWM2ymVBWY7kqQsJN6J5mwDTygYrFPHtwfePZuO7cTry83URdg8eSkApBvMJsPsI6fvBSy4MJNzCRpXThK95wr-9m_i1mSQeAGLuOX9qtlTwx8h-5vbTqBrwgciXh/w200-h150/100M+10M+SPAN.jpg" width="200" /></span></a></div></div><span style="font-size: large;"><span>Looking at the signal it was on frequency, with what looks like some phase-noise. This would not be unusual for a PLL generated signal. </span><span>Amplitude level is very usable, with this at 50% output, there should be plenty of drive for the ixer.</span></span><div><span style="font-size: large;"><br /></span></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGFlKYYVrXx96lEUIQwSWbdy7rqNXvF3xZrEagFDLootpCXNgL-SMUCAg7ydmJtM2ThbI_d7SNSwAjvGWnFUsCUd9nNoyevweJffdsqQDxWfFhf2GbXqTFQHDGl7818QbLJ9edmY5ipt6_/s320/100+MEG+DIRECT.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: large;"><img border="0" data-original-height="240" data-original-width="320" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGFlKYYVrXx96lEUIQwSWbdy7rqNXvF3xZrEagFDLootpCXNgL-SMUCAg7ydmJtM2ThbI_d7SNSwAjvGWnFUsCUd9nNoyevweJffdsqQDxWfFhf2GbXqTFQHDGl7818QbLJ9edmY5ipt6_/w200-h150/100+MEG+DIRECT.jpg" width="200" /></span></a></div><span style="font-size: large;"><span>Looking at a wider sweep, you can see that the output is a square wave, with strong odd harmonics, and there is a fairly high level of the 25MHz. </span><span>reference</span><span> signal showing up in the output</span><span> wavefrm.</span></span></div><div><span style="font-size: large;"><br /></span><div><p></p></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7BRLCSrkBr4g3sZ8RGyY6ZqgGeODCh7IgSO1aJW3jMrlrCEUWtO8Kgh09nd7XkY7rRdzXuGLs4EbpLWaxG9lE25avlOSq3dZtWkm-X6JYq6O-7jUIRnEBlJOvIX17vyqNmiewK3t3GS40/s320/30M+LOW+PASS.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: large;"><img border="0" data-original-height="240" data-original-width="320" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7BRLCSrkBr4g3sZ8RGyY6ZqgGeODCh7IgSO1aJW3jMrlrCEUWtO8Kgh09nd7XkY7rRdzXuGLs4EbpLWaxG9lE25avlOSq3dZtWkm-X6JYq6O-7jUIRnEBlJOvIX17vyqNmiewK3t3GS40/w200-h150/30M+LOW+PASS.jpg" width="200" /></span></a></div><span style="font-size: large;">Now that I know I have output from the RF generator, it was time to connect everything up as a tracking generator. I connected the output of the RF gen. to the LO connector on the Mixer, and the High output on the TinySA to the RF connector on the Mixer. I connected the cables on the RF test board to the 30 MHz. Low pass filter. One of the cables went to the</span></div><div><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBuSBmsNuOX97CUokrAhFzXCEG8cO7389zEKrQpp5hnt8keanF2Oo5iPRA3Q5DHmssb9mqBhoYppqpb81_Wt_kXJUVo5_xvcG1f36GJp7C3zApgXc9rYEUDh4Z7Uruc_tB9HX9fkGJKxNi/s320/100M+HP.jpg" style="clear: right; display: inline; float: right; margin-bottom: 1em; margin-left: 1em; text-align: center;"><span style="font-size: large;"><img border="0" data-original-height="240" data-original-width="320" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBuSBmsNuOX97CUokrAhFzXCEG8cO7389zEKrQpp5hnt8keanF2Oo5iPRA3Q5DHmssb9mqBhoYppqpb81_Wt_kXJUVo5_xvcG1f36GJp7C3zApgXc9rYEUDh4Z7Uruc_tB9HX9fkGJKxNi/w200-h150/100M+HP.jpg" width="200" /></span></a><span style="font-size: large;"><span>IF </span><span>connector on the Mixer and the other to the LO</span><span> input on the </span><span>TinySA. </span><span> I set the TinySA for a 100 MHz. scan, and enabled the LO output in the expert config menu. On the RF Generator, I set the output frequency 433.9 MHz., which looked like it gave the best results. I was very happy with the response , so I connected the 100 MHz. high pass filter on the test board. Setting the sweep range up to 150 MHz. I also saw a very nice looking waveform.</span></span></div></div><div><span style="font-size: large;"><br /></span></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJk_BFu-G_oxF445zY22xnIHOU9IiKg8RqWJsLDYw2Tr3Z4I3LyFFgj7pU-vUVh1cABPEDEwWEyK1hMov8AhfzRJJ_tiwNPTntM2IVO3f0USRhlL-uNZRtExt8U1Fyp5mUyW8IvwTuBjv6/s320/6%252C5M+NOTCH.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span style="font-size: large;"><img border="0" data-original-height="240" data-original-width="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJk_BFu-G_oxF445zY22xnIHOU9IiKg8RqWJsLDYw2Tr3Z4I3LyFFgj7pU-vUVh1cABPEDEwWEyK1hMov8AhfzRJJ_tiwNPTntM2IVO3f0USRhlL-uNZRtExt8U1Fyp5mUyW8IvwTuBjv6/s0/6%252C5M+NOTCH.jpg" /></span></a></div><span style="font-size: large;">These looked very nice, but they were fairly wideband filter responses. I wondered what a much narrower band filter would look like. The test board has a 6.5 MHz. notch filter that would make a very nice test of a narrower bandwidth filter.</span></div><div><span style="font-size: large;">Connecting it up, and adjusting the sweep paramaters, I was very happy to see that a narrower bandwith filter response also looked very nice. Since I have a NanoVNA, I will probably just use that for checking filters, but it is nice to have an option if needed.</span></div><div><span style="font-size: large;"><br /></span></div><div><span style="font-size: large;">The TinySA has a High frequency input that does not have the filtering of the Low frequency input. This is much more likley show spurs and other unwanated signals. I wondered if I could use the sweep fnction of the RF generator to provide a signal that could be used for checking higher frequency filter networks. For this I setup the test bard for its 433MHz bandpass filter. I disconnected the RF Mixer, and connected the PBF directly between the RF generator and the TinySA High connector. I set the RF generator to sweep about 20 MHz on each side of the 433MHz . I set the TinySA center frequency to 433MHz. and a span of 50MHz. Because the RF generator sweep is not tracking the TinySA sweep, I turned on max hold in the display calc menu. Then let everything run for a couple minutes.<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_uhn4DuEfLHwFju6nJt9pXTHyTaiXqRQPPVMkds6x-90AKYHfjBRg0mriYKPs45e0DuwNB-CDMP5ze3PkZRIaS-wo-fHjMmgEwiO1pqRgjA80ZNn3HdpUGb8FGwauFpUr9gq3nSOJwOkO/s320/433MEG+BP.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="240" data-original-width="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_uhn4DuEfLHwFju6nJt9pXTHyTaiXqRQPPVMkds6x-90AKYHfjBRg0mriYKPs45e0DuwNB-CDMP5ze3PkZRIaS-wo-fHjMmgEwiO1pqRgjA80ZNn3HdpUGb8FGwauFpUr9gq3nSOJwOkO/s0/433MEG+BP.jpg" /></a></div><br /></span></div><div><span style="font-size: large;">It isn't very pretty, but it did plot the response of the filter. Since this looks like it is a SAW filter with no impedance matching, the respnse could be fairly accurate. I have to connect to the NanoVNA and compare some time.</span></div><div><span style="font-size: large;"><br /></span></div><div><span style="font-size: large;">Another thing I had seen in a YouTube video was using a RF gen and mixer to extend the frequency range of an SA. Since the Mixer mdule I have should be good to 2.5GHz. and the RF generator will go even higher, I want to see if I can look at the WIFI signals in the house. I connected the RF generator output to the Mixer LO and the Mixer IF output to the TinySA Low input. I connected the small whip antenna that came with the TinySA to the Mixer RF connector. The 2.4 Gig WIFI frequency range is around 2410 to 2480 MHz, so I set the TinySA for a sweep of 1 to 100 MHz. I then set the RF generator to 2400MHz. fixed frequency. I also set the TinySA display to max hold. I played a short YouTube video on my computer to make sure I had WIFI activity from my computer to monitor. After a couple minutes I saw the presence of the WIFI signal on the TinySA. Checking the frequency, I can see it coresponds to the WIFI channel I have my network configured for.</span></div><div><span style="font-size: large;"><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjih-dJdiZmmFKUbnijyevlBNPaA2hj_LhADxoxFKhDBr6owsmgnY3IwGoNHg9koMjBi2z8qjPYkGWIP6vgJrEmtbSPkYnWX0jmZilgMEC0wHRIhl5OTKgwBp5R7himc9ddeXg0XRfxzRdv/s320/WIFI.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="240" data-original-width="320" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjih-dJdiZmmFKUbnijyevlBNPaA2hj_LhADxoxFKhDBr6owsmgnY3IwGoNHg9koMjBi2z8qjPYkGWIP6vgJrEmtbSPkYnWX0jmZilgMEC0wHRIhl5OTKgwBp5R7himc9ddeXg0XRfxzRdv/w400-h300/WIFI.jpg" width="400" /></a></div>It looks like using the mixer and RF generator it is fairly easy to extend the range of the TinySA if needed. There is a fair amunt of attenuation through this passive DBM, so I might try using one of the small LNA modules to see if I can improve the sensitivity at these higher frequencies. </span></div><div><span style="font-size: large;"><br /></span></div><div><span style="font-size: large;">I am very happy with the results I have seen so far. I will probably design and 3D print a little case for the RF generator, and possibly add some mounting for the mixer on the case. This and some shorter cables would make it easier to use. I had thought about making some connecting couplers, but after using it I think I like the versatility I get with just using connecting cables.</span></div><div><span style="font-size: large;"><br /></span></div><div><br /></div><div><span style="font-size: large;"><br /></span></div><div><span style="font-size: large;">Update 12/04</span></div><div><span style="font-size: large;"><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7fXLemCAX63I-Crc0wFED7a0i_NMN-zxWF6brY8P-eGys-_hNjhIm7wJaSE0dIo2yqnZxzeRmGCHms6pPoOSWwr1XbpP-W-33pem_5nBdczzJxoMwm9rKYBfy_MLb6DGXmTom_Acd_j4J/s615/back+design.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="308" data-original-width="615" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7fXLemCAX63I-Crc0wFED7a0i_NMN-zxWF6brY8P-eGys-_hNjhIm7wJaSE0dIo2yqnZxzeRmGCHms6pPoOSWwr1XbpP-W-33pem_5nBdczzJxoMwm9rKYBfy_MLb6DGXmTom_Acd_j4J/s320/back+design.jpg" width="320" /></a></div>I designed and 3D printed a simple case for the RF generator, and added a raiser on the back to mount the Mixer. It is high enough to allow easy connection of the SMA connectors.<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPHPjpTgS4APQd-CnyIy3nK5csAp7GYKEsYZn36S9P9TPq5PE8nhA1VNi2GndkTwmcKAn5vxcdmv87_sB-WEzVW3Mesf4Fip9g4Mqg5Gyp_8DHo6B3DXwlZAzR0eYxtRA18dp9Lie9bsEV/s1204/BACK+VIEW.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="820" data-original-width="1204" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPHPjpTgS4APQd-CnyIy3nK5csAp7GYKEsYZn36S9P9TPq5PE8nhA1VNi2GndkTwmcKAn5vxcdmv87_sB-WEzVW3Mesf4Fip9g4Mqg5Gyp_8DHo6B3DXwlZAzR0eYxtRA18dp9Lie9bsEV/s320/BACK+VIEW.jpg" width="320" /></a></div><br /></span></div><div><span style="font-size: large;">Here is a shot of it assembled and the cables connected for use as a tracking generator. The cables I have are a little long, so I coiled the LO cable just to make it neater. </span></div><div><span style="font-size: large;"><br /></span></div><div><span style="font-size: large;"><br /></span></div><div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXPOwNjvzoVKMKiD0T7rjYj6wueyiTWKVOcT5YG63eEbdYiQC29g6IwD_YCrrEPyVF5MIAjRCYtCmdfVkfBX3ynhOCPVRqT2lrT9Ux5HQFMBEWyR55u4O2j7bUUUhzAmQ36xvIc1cUkZsF/s1184/IN+USE.jpg" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="456" data-original-width="1184" height="123" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXPOwNjvzoVKMKiD0T7rjYj6wueyiTWKVOcT5YG63eEbdYiQC29g6IwD_YCrrEPyVF5MIAjRCYtCmdfVkfBX3ynhOCPVRqT2lrT9Ux5HQFMBEWyR55u4O2j7bUUUhzAmQ36xvIc1cUkZsF/w320-h123/IN+USE.jpg" width="320" /></a></div><span style="font-size: large;">And finallly a picture of it connected to the TinySA, ready for use. I cropped the picture, so you can't see the small coax cable that would go to the DUT.</span></div><div><span style="font-size: large;">It makes a nice small configuration when used as a tracking generator, or to expand the range of the TinySA. Now I guess I will have to design a small box to house the units when not in use.</span></div><div><span style="font-size: large;"><br /></span></div><div><span style="font-size: large;">For best dynamic range I should probably put an attenuator in the LO line to provide the correct LO drive level. I can put my step attenuator on the IF port so I can adjust the output level. If needed I might make a Low Pass filter for the output. Since I have a NanoVNA for filter alignment and testing this is mostly an experiment. I think I will probably use it more to extend the frequency range of the tinySA</span></div><div><span style="font-size: large;"><br /></span></div><div><span style="font-size: large;">I have a couple other little add-ons for the TinySA that I hope to finish shortly. That is depending on how long it takes for the parts to get here.</span></div><div><span style="font-size: large;"><br /></span></div><div><span style="font-size: large;"><br /></span></div><div><span style="font-size: large;"><br /></span></div><div><span style="font-size: large;"><br /></span></div><div><span style="font-size: large;"><br /></span></div><div><br /></div>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com3tag:blogger.com,1999:blog-7702184209705146469.post-65629446882830263042020-08-16T13:48:00.001-04:002020-08-16T20:49:48.011-04:00A little about the TinySA<p><span style="color: #444444; font-family: inherit; font-size: x-large;">I have received several questions about the TinySA. So, j</span><span style="color: #444444; font-family: inherit; font-size: x-large;">ust a little history and overview of the hardware of the TinySA before I get into the settings and actual use. </span></p><p><span style="color: #444444; font-family: inherit; font-size: x-large;"><br /></span></p><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto;"><tbody><tr><td style="text-align: center;"><img border="0" data-original-height="240" data-original-width="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVuv_pa0d3Lp8EOfUbCIkq-GwHV-_IaRLgcCBW44rTIal97eMrV1-4S6Qu2l_Czg29-_j6nYmdiD4MxPc6TFlYzxikT5BciYFqt8ZChLmHTrL3uI8wwdyRElSGW5qWU2mFSp0yibIDzuKS/s0/main+mnu.jpg" style="margin-left: auto; margin-right: auto;" /></td></tr><tr><td class="tr-caption" style="text-align: center;">TinySA Main Menu<br /><br /><br /><br /><br /></td></tr></tbody></table><p><span style="color: #444444; font-family: inherit; font-size: x-large;">After I joined Home</span><span style="color: #444444; font-family: inherit; font-size: x-large;"> Brew Test</span><span style="color: #444444; font-family: inherit; font-size: x-large;"> Equipment in Groups.io, I became interested in a series of posts by Erik Kaashoek detailing a Spectrum</span><span style="color: #444444; font-family: inherit; font-size: x-large;">Anayzer he was building using mostly small modules that are available on E-Bay.</span><span style="background-color: white; box-sizing: border-box; color: #444444; font-family: inherit; font-size: x-large;"> The original version covered up to around 2GHz. One of the hardest parts of this build was a simple to construct 1st IF filter. Erik then came up with a simpler design that would cover up to a couple hundred Megahertz, using inexpensive, readly available parts. It is based on a couple SI4432 wireless transceiver modules. </span></p><p><span style="background-color: white; box-sizing: border-box; color: #444444; font-family: inherit; font-size: x-large;"><a href="https://www.silabs.com/documents/public/data-sheets/Si4430-31-32.pdf">https://www.silabs.com/documents/public/data-sheets/Si4430-31-</a></span><a href="https://www.silabs.com/documents/public/data-sheets/Si4430-31-32.pdf" style="font-family: inherit; font-size: x-large;">32.pdf</a></p><p><span style="background-color: white; color: #444444; font-family: inherit; font-size: x-large;">These are basically a complete SDR transceiver in an about 1 cm. square IC, and cover a frequency range of 240 to 960 Mhz. They are designed for digital data transmission in applications such as remote time pressure monitors, therefore very inexpensive. There are several different modules, with support circuitry available for well under $5. The other thing that simplifies the design, is using a 433 MHz. 1st. IF, where Erik could use readily available 433 MHz SAW filters to obtain required selectivity. I had attempted to copy portions of the design, but without much experience or equipment suitable for use above the HF range, I ran into several problems. I decided to just wait and see what others finally came up with. And, I am really glad that I did. When I saw the unit was prduced by Hugen, I jumped at the first production run. Hugen has done a fantastic job with his several versions of the NanoVNA, and I am very satisfied with the units I have from him.</span></p><p><span style="color: #444444; font-family: inherit; font-size: x-large;"><span style="background-color: white; box-sizing: border-box; text-decoration-line: none;">The easiest way to describe a Spectrum Analyzer is a wide band receiver with a visual diaplay of signal strength over a selected frequency range. In most simpler designs, they use a 1st. IF higher than the range of the instruent to reduce problems with images. In the case of the TinySA this is 433MHz. The primary frequency response of the TinySA is .1 to 350MHz. It also has an additional range of 240 to 960 Mhz. , but with several major limitations. Here is a block diagram of the basic TinySA RF stages. In the description of operation, I am going to indicate menu selections by using the format [MENU ITEM] .</span></span></p><span class="fa fa-user fa-3x" face="" style="-webkit-font-smoothing: antialiased; background-color: white; box-sizing: border-box; color: #333333; display: inline-block; font-family: "font awesome 5 pro"; font-size: 3em; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 1; text-rendering: auto;"></span><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN6GbgCS21MLpSNhXnsSOetYoblYZEGuEk1Ub1xT_xZGx1SD1jLCRvcw9b2xg9dG43s4BRtVPrzwt-YowyHEkcCL-QTkKi6sXO6Oza_l2eppR0SPz78uxLNU7_x-9hb9YUad9cWMtlBGZh/s608/TinySA+RF+block+dia.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="239" data-original-width="608" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN6GbgCS21MLpSNhXnsSOetYoblYZEGuEk1Ub1xT_xZGx1SD1jLCRvcw9b2xg9dG43s4BRtVPrzwt-YowyHEkcCL-QTkKi6sXO6Oza_l2eppR0SPz78uxLNU7_x-9hb9YUad9cWMtlBGZh/s0/TinySA+RF+block+dia.png" /></a></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;">For the default SA [LOW input] mode the signal comes in the LOW connector and goes through a low pass filter and variable attenuator to a mixer. The first SI-4432 is now configured as a transmitter and produces the correct local oscillator signal to produce the desired 433 MHz. IF. This signal to go to the band pass filter. The second SI-4432 is configured as a receiver tuned to 433 MHz. Its internal DSP can be configured to different bandwiths from around 2.6 kHz. to over 600 kHz. , this can be set through the Resolution Band Width [ RBW ] menu. In receiver mode the SI-4432 also produces a Receiver Signal Strength Indicator value (</span><span style="font-size: x-large;">RSSI) whcih is read by the microcontroller. This is converted to the proper value depending on the unit type selected and displayed. The LO signal is also brought out to the HIGH connector for use with an external tracking generator.<br /></span></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;">Another mode is [HIGH input] , where the first SI-4432 is set to receiver mode and tuned across the selected frequency range. This can cover from 240 to 960 MHz. Since this goes directly into the through the HIGH connector SI-4432, there is no filtering or attenuation. This can lead to images and other unwanted signals showing up in the display.</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;">The unit can also be used as a signal generator. </span><span style="font-size: x-large;">In the [</span><span style="font-size: x-large;">LOW output</span><span style="font-size: x-large;">] mode the unit has a frequency range of .1 to 350 MHz. The signal goes through the low pass filter and out the </span><span style="font-size: x-large;">LOW</span><span style="font-size: x-large;"> connector. Using several different menu items, you can set frequency [FREQ], [SPAN] and [SWEEP TIME], adjust the output [LEVEL] from -76 to -6 dBm. You can also select several types of [MODULATION], [AM 1K],[ AM 10K], [NBFM], [WBFM]. </span><span style="font-size: x-large;">You can get a 240 to 960 MHz. signal out the</span><span style="font-size: x-large;"> HIGH</span><span style="font-size: x-large;"> connector when in the[</span><span style="font-size: x-large;">HIGH output</span><span style="font-size: x-large;">] mode, but there is no filtering of the signal, so it is rich in harmonics. The options are similar but[LEVEL] can be set from -38 to +13 dBm, and there is no AM modulation available.</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;">There is also a [CAL output] mode that brings a calibration square wave selective in steps from 1 to 30 MHz. out to the HIGH connector. This signal is used fr the self test mode.</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;">There are quite a few menu options available, and I will not go through all of them. I want to hit on some that I found to be useful or intersting. More information on the menu tree and other information can be found at <a href="https://tinysa.org/wiki/pmwiki.php?n=Main.MenuTree">https://tinysa.org</a></span></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;">The menu structure is very similar to that of the NanoVNA, you can use the selection wheel. push button or the touch screen for most functions. I prefer the touch screen for most things, but find the selection wheel seems to work a little easier for oving markers around.</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;">One of handiest things I found are the presets, You can store up to 4 custom preset frequency ranges, then select the desired from a menu. There is also the default full range to choose from. </span><span style="font-size: x-large;">Unfortunatly they are only listed as 1 through 4, can't do a custom label, but I guess you can't have everything.</span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;">Frequency [FREQ] selection can be set by either setting a [START] and [STOP], or [CENTER] and [ SPAN]. Either one works, and it dependson on what you are doing for the best method to use. All of them bring up a on-screen display similar to a calculator, which makes it very easy to make the desired setting. Under the [FREQ] menu you can also set the [RBW] for the measurement. There is also an option for [ZERO SPAN] which sets it to a single frequency and the unit functions somewhat like a Frequency Selective Voltmeter. </span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;"><br /></span></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;">There is also an option for [SPUR REMOVAL]. Since the PLLs in the SI-4432s and mixer products </span><span style="font-size: x-large;">can generate spurs. Multiple readings are taken with the IF and or LO frequencies moved around and combined to help remove them. This will also increase the sweep time.</span></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;"><span style="font-size: x-large;">Well, I think that is enough for now. I will continue next time with some of the options available for display of the data.</span></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: center;"><br /></div>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com0tag:blogger.com,1999:blog-7702184209705146469.post-19891971051118641832020-08-04T18:21:00.005-04:002020-08-05T14:20:30.907-04:00The New Toy is here<div style="text-align: justify;"><font size="5"><br /></font></div><div style="text-align: justify;"><font size="5">Well the new toy arrived today, and I have spent the last several hours just playing with it. It came a fairly well packaged box within a box, with a layer of bubble wrap. I tried to get some pictures, but was having some problems with the camera, so going to use a couple from a post by Herb on the TinySA .IO group. </font><font size="5">Overall packaging looks great with a custom printed box , and a molded holder for all the components inside. This is much nicer than I have seen for most products of any type in this price range<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2qiXBSssI8lnlzl4o1gaPzR8phRoLUxoE10CWXpraHn26XWyJJg0c_nMFFRrmPWrEQiKkMbbwQ7gt_qigsmv8EJw1loLB-YVA5sj8My9lqPQxLQIHGDuAw0_l4gVQ99bI9q6bg50_Ipjf/s960/tinysa+pack+1.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="624" data-original-width="960" height="333" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2qiXBSssI8lnlzl4o1gaPzR8phRoLUxoE10CWXpraHn26XWyJJg0c_nMFFRrmPWrEQiKkMbbwQ7gt_qigsmv8EJw1loLB-YVA5sj8My9lqPQxLQIHGDuAw0_l4gVQ99bI9q6bg50_Ipjf/w512-h333/tinysa+pack+1.jpg" width="512" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh99Pn2jzVernK8Weqzi1LGRhDLCL6BZOJ6pn9s5mphTXxR35ESuROD63rM3dQca8cLdHWjSM7S78CdSzNxg7_V5-BvQ384enQmyfJU1_xs2PT8pFFmMno_QoKz9XJjY6hVNWr83Jh18xGn/s480/tinysa+pack+2.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="318" data-original-width="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh99Pn2jzVernK8Weqzi1LGRhDLCL6BZOJ6pn9s5mphTXxR35ESuROD63rM3dQca8cLdHWjSM7S78CdSzNxg7_V5-BvQ384enQmyfJU1_xs2PT8pFFmMno_QoKz9XJjY6hVNWr83Jh18xGn/s0/tinysa+pack+2.jpg" /></a></div><div class="separator" style="clear: both; text-align: justify;"><br /></div><div class="separator" style="clear: both; text-align: justify;">After charging the battery, I ran the Touch screen calibration and the self-test. This self-test has you connect the included SMA cable between the High and Low connector. It uses an internally generated signal for inital testing. Several values can be calibrated later through dedicated menu items. I was able to get a picture of the self-test screen part way through the process.</div><div class="separator" style="clear: both; text-align: justify;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEYSaA-NA-vdJ12YLDKBBWBUsz6HL7anOtQXRne8BNurwDJlQihcTNVbp2FOlXyugDjGqWMJ9kbFvaPe23WziieygbW5hg7qNUvBjW3qzne88BVqoPBRwjbKigAqbgecLkp3fFTiEw12RZ/s941/tiny+sa-cal.jpg" style="margin-left: 1em; margin-right: 1em; text-align: center;"><br /><img border="0" data-original-height="530" data-original-width="941" height="288" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEYSaA-NA-vdJ12YLDKBBWBUsz6HL7anOtQXRne8BNurwDJlQihcTNVbp2FOlXyugDjGqWMJ9kbFvaPe23WziieygbW5hg7qNUvBjW3qzne88BVqoPBRwjbKigAqbgecLkp3fFTiEw12RZ/w512-h288/tiny+sa-cal.jpg" width="512" /></a><br /><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">After the self test, I connected the TinySA to my computer, running the TinySA.exe program. This allowed my to take screen captures of the display, instead of trying to get a steady picture with a hand-held camera.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">First test was to use my SI5351 signal generator as the signal source. Conecting everything up I made several screen captures at 10,30,100 Mhz., and one at 50 Mhz with the waterfall display turned on.</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2HLbTJsSC4PTFXFLmx8tFwQYOinxtLmf49MNlHRIPHgnZeHoB7D6Hc7FOxZI33TgkR73Ozftjg1KYy6YiaZVA0oOShAmsQRvnBxHlb2QZT5J3lM8d8eyDxz1B5lWEHD-sXnjnF69MDTfw/s320/10MHZ-SQR.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="240" data-original-width="320" height="375" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2HLbTJsSC4PTFXFLmx8tFwQYOinxtLmf49MNlHRIPHgnZeHoB7D6Hc7FOxZI33TgkR73Ozftjg1KYy6YiaZVA0oOShAmsQRvnBxHlb2QZT5J3lM8d8eyDxz1B5lWEHD-sXnjnF69MDTfw/w500-h375/10MHZ-SQR.jpg" width="500" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF-fk-9U3cNEdrdP1kyMM3VkrWlL_WnoD4u_Oo5tB0QraZd-jJDYdSNlaVZSCsMpeGZIDM7aMBB5I6A2ET5tw0HhdPSqv2smdUD7sByP389bV4qBKrh8vkvsNOCi2A39Of1XIIUFT-_a6f/s320/30MHZ.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="240" data-original-width="320" height="375" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF-fk-9U3cNEdrdP1kyMM3VkrWlL_WnoD4u_Oo5tB0QraZd-jJDYdSNlaVZSCsMpeGZIDM7aMBB5I6A2ET5tw0HhdPSqv2smdUD7sByP389bV4qBKrh8vkvsNOCi2A39Of1XIIUFT-_a6f/w500-h375/30MHZ.jpg" width="500" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLH8oeiQhpS76oH1CQ9qiIImHD3TUngjWLGt-snCn-TrOJwSnXw0-7H_XfdRbcbHIrw-mxCYyRtJvhR2RqwgO-9gTvOcbyQpByCWCBqJbfZv9SR3bsxv20PDbyRcR2TA-CAdu5RBUPTJQx/s320/100MHZ.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="240" data-original-width="320" height="375" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLH8oeiQhpS76oH1CQ9qiIImHD3TUngjWLGt-snCn-TrOJwSnXw0-7H_XfdRbcbHIrw-mxCYyRtJvhR2RqwgO-9gTvOcbyQpByCWCBqJbfZv9SR3bsxv20PDbyRcR2TA-CAdu5RBUPTJQx/w500-h375/100MHZ.jpg" width="500" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlnyFq2WsjqaFKJUhbbL6x6bN_yUXEBdknEYNIobGUiLO_RWoU645CKT_mlZcO2z6eCwBrJSZxO4Qzws2YWAbI34pUGseqzZm2cJQGQhR2WgS91QaQqaT7ltZvdHC177qgjeloNPWbWuvV/s320/50MHZ+WF.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="240" data-original-width="320" height="375" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlnyFq2WsjqaFKJUhbbL6x6bN_yUXEBdknEYNIobGUiLO_RWoU645CKT_mlZcO2z6eCwBrJSZxO4Qzws2YWAbI34pUGseqzZm2cJQGQhR2WgS91QaQqaT7ltZvdHC177qgjeloNPWbWuvV/w500-h375/50MHZ+WF.jpg" width="500" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><div class="separator" style="clear: both; text-align: left;">The output of the 5351 is a square wave, so you can see the high harmonic content of the signal. With the odd harmonics are much stronger than the even. Power level is just about what I measured with my home-brew AD8307 power meter. Any differency in frequency readout are due to the fact that my signal generator is not calibrated, and the step size of the TinySA. In the stand alone mode the maximum number of steps is only 296.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Well I guess that is enough for now, so I can get back to playing with the new toy. Just with the little while I have played with the TinySA, I can say that I am impressed with it. The UI is very nice, but it will take a while to become really familiar with the menu structure and all the settings available. </div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">It does not have a tracking generator, but you can use the Low out put as a signal generator in the .1 to 350Mhz range. When used in the SA mode this output is 433 MHz above the test frequency. So with a 433 MHz signal source and a mixer it should not bee too difficult to make a tracking generator for the system.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Now to get back to playing.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">0805 update</div><div class="separator" style="clear: both; text-align: left;">Just a quick update on what I found when going through the menu options. Since I had been looking at harmonics, under the Measure menu there is an option for Harmonics. It allows you to enter the fundamental frequency, then it computes the start and stop frequencies to cover the fundamental and the first three harmonics. After the sweep it marks and displays the fundamental frequency and amplitude, and the 3 harmonic values shown as dBc relative to the fundamental.</div><div class="separator" style="clear: both; text-align: left;"><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5-r7be4Vz9_F_62Bx5SpUmFydU2YrAPAxrcpOA8r_urb_krCIhEJjYjczjkyxPe0kTLC8qaM5eaOi3TmH-HyLb2q1A5nUlOyimbQHb7eFh7nHFAPidJqaowELxeOYX3yngFGnSmTcgA81/s320/hqrmonic+measure.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="240" data-original-width="320" height="375" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5-r7be4Vz9_F_62Bx5SpUmFydU2YrAPAxrcpOA8r_urb_krCIhEJjYjczjkyxPe0kTLC8qaM5eaOi3TmH-HyLb2q1A5nUlOyimbQHb7eFh7nHFAPidJqaowELxeOYX3yngFGnSmTcgA81/w500-h375/hqrmonic+measure.jpg" width="500" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div></div><div class="separator" style="clear: both; text-align: left;">So. Back to playing and lets see what other things I can find.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div></div></font></div>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com1tag:blogger.com,1999:blog-7702184209705146469.post-75276399787033531702020-07-25T23:17:00.002-04:002020-07-25T23:32:55.734-04:00Impatiently waiting for a new toy<span style="font-size: large;">If you have been following my blog for a while, you know that I have made several starts on a simple Spectrum Analyzer. In most cases, as I progressed in the project I came to the point where I needed to build some other project. Little things, like when I needed to test a band-pass filter, I needed to build a SNA first. Then I found I would probably need something with a higher frequency response for working on a SA with the frequency range I wanted.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">Over a year ago I found some information on a very small VNA for around $60. Since this NanoVNA was less than 1/10 the price of any other VNA with a built in display, I jumped at it. It gave me an instrument that had the frequency response I would need to work on a SA. </span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">There was an IO group formed to support the little VNA.</span><br />
<span style="font-size: large;">Following that group I found another group about Home Brew Test Equipment. </span><span style="font-size: large;">One of the ongoing projects in that group was a Tiny SA. Several different versions of that were being developed and it looked very promising. Around the first of the year a TinySA group was started for several people who were testing a future commercial version of the TinySA. Some of the info on this group looked very interesting, especially a short video on the nearly finished product.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<span style="font-size: large;"><a href="http://tinysa.org/video/intro.mp4">http://tinysa.org/video/intro.mp4</a> Also a lot of information and specifications at </span><br />
<a href="https://tinysa.org/wiki/pmwiki.php?n=Main.HomePage"><span style="font-size: large;">https://tinysa.org/wiki/pmwiki.php?n=Main.HomePage</span></a><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">Just the other day I saw a post on the TinySA group, that the product was available for order. The TinySa is being produced by the same person who originally produced the NanoVNA. With that as a recommendation I quickly placed my order, since I understand there is only an initial production run of 300 being made.</span><br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM0LK0hlZuuSei3iSZwZ0v1GehaX5QwO1EtUcBEvboENHFebIud9uF2u83lKfLmxM2jG3UVJ-6XB8H_T6YqLxfy0kYKajcxKHHe3pRNYNIsroIl7eJX7Eyh6Ycmrs-4AybPNwmn1Ins4Eh/s1600/tinysa.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1600" data-original-width="1600" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM0LK0hlZuuSei3iSZwZ0v1GehaX5QwO1EtUcBEvboENHFebIud9uF2u83lKfLmxM2jG3UVJ-6XB8H_T6YqLxfy0kYKajcxKHHe3pRNYNIsroIl7eJX7Eyh6Ycmrs-4AybPNwmn1Ins4Eh/s400/tinysa.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">https://www.alibaba.com/product-detail/Hand-held-tiny-Spectrum-analyzer-TinySA_1600085564565.html</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">The availability of a less than $100 SA with a range of 100kHz to 350MHz (240- 950 MHz. without bandpass filter )will make the life of the home-builder a lot more fun if not easier.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: x-large;">Now all I have to do is wait <b>#@*& !</b></span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com0tag:blogger.com,1999:blog-7702184209705146469.post-56486072295911616922020-06-15T17:03:00.000-04:002020-06-15T17:10:54.556-04:00VFO-BFO with ESP32<span style="font-size: large;">I made a circuit board layout for the ESP 32 based VFO-</span><span style="font-size: large;">BFO using the Wemos ESP 32 Mini controller module. Sent Gerber files off to China and had 10 made up, they arrived in a little over a week with Express shipping. I built one up and found a few minotr errors I had made in some dimensions, but the boards still worked fine. I decided I would use this with a Bitx 40 board I have laying around. I think I will use Pete N6QWs method for doing Upper and Lower sideband selection. That means adding or subtracting the desired frequency from the IF frequency . For the Bitx 40 that means setting the SI5351 frequency to 5 or 19 MHz range depending on the sideband selected. Only tricky part is getting the exact IF frequency, of the Bitx 40.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3AB0QXmjCzsxhRKEbGQ32naWzSGyzJkloVDQwZhWFY_8U-wYaWnHZ7-V8idTjQhcqxUn0zt-QtOvz8FP30Icsnp2XXE0jq4_j5zcVqsS02AMYVQNOya9EeG0TthoGNJ4McMqN7dU53S8N/s1600/vfo+bfo+v1.0+board.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="759" data-original-width="927" height="327" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3AB0QXmjCzsxhRKEbGQ32naWzSGyzJkloVDQwZhWFY_8U-wYaWnHZ7-V8idTjQhcqxUn0zt-QtOvz8FP30Icsnp2XXE0jq4_j5zcVqsS02AMYVQNOya9EeG0TthoGNJ4McMqN7dU53S8N/s400/vfo+bfo+v1.0+board.jpg" width="400" /></a></div>
<span style="font-size: large;">The board layout has provisions for a up to 7 pushbutton switches that can be read by a single analog input pin.</span><br />
<span style="font-size: large;">I chose to use a double row header so I could add individual switches as desired or a switch array connected through a single ribbon cable. I also brought out the connections, 3.3v, and ground for use by a rotary encoder with switch.. </span><br />
<span style="font-size: large;"><br /></span>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw2rfernhKye4vSO0DZXHP3XtE2YN_lnruEOzP0dFPaLiJ6yZLo1Ullj9IinIsg-wlRo6mY1NF_TDT_C3cYqdi2HrT179RYEAE_MrwGnpJ4FQfcgL9bIvdAx60slqvsK_OUZ6QSkc0Fcgo/s1600/vfo+bfo+v1.0+w-display.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="1068" data-original-width="912" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw2rfernhKye4vSO0DZXHP3XtE2YN_lnruEOzP0dFPaLiJ6yZLo1Ullj9IinIsg-wlRo6mY1NF_TDT_C3cYqdi2HrT179RYEAE_MrwGnpJ4FQfcgL9bIvdAx60slqvsK_OUZ6QSkc0Fcgo/s320/vfo+bfo+v1.0+w-display.jpg" width="273" /></a><span style="font-size: large;">The connector for the SI5351 module is mounted on the bottom, so the boards can be stacked. Also, a female header strip can be mounted on the bottom for a 1.8" TFT display which then can also be stacked. I have provision for an optional 5 volt regulator so you can power the assembly form 7-12 volts if desired, instead of directly with 5 volts</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">One thing I like about the Wemos module is that I only have to make connections to the inside rows of header pins. If I need additional control pins, I can put header pins in the outside rows of connections and just plug onto them. This means I do not have to worry about those pins in the PCB layout.</span><br />
<span style="font-size: large;"><br /></span>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsebDWIElsb2qjiDV9IA8Bvf8UJilW-a8H09v9iUgsctx_Z45J0q97yUQWMhaBfPDA06acJD0-EXmWTHs1ZmVALWDhRuIhnufDpep7GC1ZAF5HVpmX7TcC4d3THY322ObP5T88Is81C7HA/s1600/modified+board.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="508" data-original-width="1146" height="176" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsebDWIElsb2qjiDV9IA8Bvf8UJilW-a8H09v9iUgsctx_Z45J0q97yUQWMhaBfPDA06acJD0-EXmWTHs1ZmVALWDhRuIhnufDpep7GC1ZAF5HVpmX7TcC4d3THY322ObP5T88Is81C7HA/s400/modified+board.jpg" width="400" /></a><span style="font-size: large;">After playing around with the options this gives me,I decided to modify the layout to make the small corections in layout positions I found. </span><br />
<span style="font-size: large;">I am also going to bring out some of the pins I had not originally used , and add a couple connectors for additional connections to the I2C and SPI signals. This will allow me to use the same board as display-controller for several other projects I have been slowly working on. Now just need to send this off to a board house in China, then wait.</span><br />
<span style="font-size: large;"><br /></span>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com10tag:blogger.com,1999:blog-7702184209705146469.post-46463171117520010072020-05-19T19:11:00.000-04:002020-05-19T19:16:35.993-04:00An updated version of my VFO-BFO<span style="font-size: large;">A couple of the projects I have been working on have been put on hold because of the shipping delays caused by the Covid shutdown in many places. Looking around for something that only required what I knew I have on hand. I rembered seeing a YouTube video of a SI5351 based VFO with a small TFT display that very nicely simulated a mechanical dial. Going back I found the video, and there was a link to the website of JF3HZB, the schematic , and Arduino code for the project. It uses the same 128 x 160 TFT display I have in my VFO-BFO, and a ESP-32 dev. board. Looking at what pins are required, the small Wemos Mini I have should work nicely.</span><br />
<span style="font-size: large;">I downloaded the software, and got it to compile without any problem. After looking at the code, I can see where having two 240 Mhz. cores doing the processing is nearly a necesity for something like this. And also still has plenty of room and power to addd other features. I quickly built a simple board to see how it </span><span style="font-size: large;">looks</span><span style="font-size: large;">, and </span><span style="font-size: large;">works</span><span style="font-size: large;"> . </span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHvKmMAgZhLrK23GEnHbcHaTVUzujTeseGVzJ_opqNDaBP7nx9Gh04BZkH-swOiwufRLJEQ1NcrTLuBzXGLsC4V0XOdYEjUVXuw6VgkR-N8PhDDV0hQUGAuw5HD6ZCotq4Fvg8DJsyT9Ch/s1600/DIAL-VFO-BFO-1.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHvKmMAgZhLrK23GEnHbcHaTVUzujTeseGVzJ_opqNDaBP7nx9Gh04BZkH-swOiwufRLJEQ1NcrTLuBzXGLsC4V0XOdYEjUVXuw6VgkR-N8PhDDV0hQUGAuw5HD6ZCotq4Fvg8DJsyT9Ch/s320/DIAL-VFO-BFO-1.jpg" width="320" /></a></div>
<span style="font-size: large;">After getting the basic software running for the display, I did some modifications to add a couple things I want to have on the display. a LSB/USB indicator and I will probably add a T/R indiator light of some type. The response of the display is really nice, except for some small jumping around that is coming from the really cheap rotary encoder I used. I have a couple better ones that I will use after I get a board designed, now I will see if I can correct with some filtering capacitors.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">I plan on using one of the Adafruit SI5351 modules I have, so will have to see what if any changes I have to make to use them with 3.3 volt logic instead of 5 volt. I have not looked at the 5351 library used with the original software, so do not know if I will keep it or use the same library I have used before.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">Trying to think about what I want to include on the board design. All the pins required are on the inside set of pins on the Wemos module. That means I can just add some header pins to the top of the Wemos module instead of having to route them on the board. This should allow for fairly easy expansion. </span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">I like the single analog pin method for monitoring multiple push buttons. I will probably add the resistor chain and some header pins on the board to make it easy to add several push button controls. Also thinking of having provision to add a retoary encoder directly on the board, or a connector for adding an external encoder.</span><br />
<span style="font-size: large;"> I will get started on the board layout, then decide if I want to order some from one of the board houses. They all offer DHL shipping, so should not have to wait too long to get them.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">I tried to make a video of the board working, but couldn't find a way to keep the camera steady while operating the encoder.</span><br />
<span style="font-size: large;">So here is a link to the original YouTubevideo I watched.</span><br />
<span style="background-color: yellow; font-size: large;">https://www.youtube.com/watch?v=3PV2kLOippY</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"></span>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com0tag:blogger.com,1999:blog-7702184209705146469.post-67687432345864655252020-04-16T23:04:00.000-04:002020-04-27T13:46:57.624-04:00Best thing to come from the lockdown so far.<span style="font-family: inherit; font-size: large;">With almost everything being shut down from the virus, there must be something good happening. I think I have found at least one thing. Since we can't gather together the ability to hold meetings via video conferencing has been really taking off. </span><br />
<span style="font-family: inherit; font-size: large;"><br /></span>
<span style="font-family: inherit; font-size: large;">Last Saturday we held the monthly meeting of the North Georgia QRP Club via Zoom. We had around 25 people show up. Mostly members, but also a couple guests including Hans Summers from QRPLabs checking in from Turkey. He gave a brief history of the QCX transceiver. and informed us that they are only a couple hundred short of having sold 10,000 kits. He also spoke a little about the multi mode, all HF band QSX that is in development. We also heard from some of out local members, and got to see some pictures of their shack, and work bench. Except for a couple little glitches, from not being familiar with the software every thing went quitae well. Now waiting for the next meeting.</span><br />
<br />
<span style="font-family: inherit; font-size: large;">NO this is not the FBI's Most wanted List, or is it?</span><br />
<span style="font-family: inherit; font-size: large;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiB2ZsL53IqKZlB8DUDkFd4iA9QQnfX1zZwG6EkuVKuKjdZga0tmjV4E9opnAq02enjvGiN6HzZFt1PnIkGAo6-KrS7Tpl0FY0ZD39X2vtUGA6y10Uqum2luHzgtSR6lr_iWmMRu5Mu5bAM/s1600/noga+Zoom+meeting+2020-04-11+11.02.14.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="581" data-original-width="1004" height="231" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiB2ZsL53IqKZlB8DUDkFd4iA9QQnfX1zZwG6EkuVKuKjdZga0tmjV4E9opnAq02enjvGiN6HzZFt1PnIkGAo6-KrS7Tpl0FY0ZD39X2vtUGA6y10Uqum2luHzgtSR6lr_iWmMRu5Mu5bAM/s400/noga+Zoom+meeting+2020-04-11+11.02.14.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="font-family: inherit; font-size: large;"><br /></span>
<span style="font-size: large;">Last evening I got to attend another meeting. This one would be a little frather drive from Atlana than the NOGA meeting. This was with the homebrew group from the Peal Amateur Radio Club located in the Greater Toronto area. </span><span style="font-size: large;">I usually only get together with some of them at FDIM, so this is a plus for me.</span><br />
<span style="font-size: large;">This meeting used a different software package, but also worked quite well. Except for also being the first time most of have used it. We had 17 people in the meeting including several that joined in via cell phone. As with the NOGA meeting there was a guest calling in. He was Rex Harper from QRP ME, and he spoke about the 'Buildithon' project that has been scheduled at FDIM this year. He is still working on the kits, and is planning on having a virtual Buildithon. Also heard about the progress being made on the Direct Conversion Receiver, which is to be the club 'Buildithon' this year.</span><br />
<br />
<span style="font-size: large;">Possibly the RCMP most wanted list ?</span><br />
<span style="font-size: large;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi44D6bCY5FgJbhrNU_NQHmVbM5Vqm_NqyOxNxJp5FgJ_uS6gnCTGuSYoLpxR0R_sAPUaa4YZ7WNon-c0kDZRgYbUWM44fGeVzvEGt9B_lAT0jwDHqI0pGtM4BWiGttJmy29oWXItL5f-bB/s1600/PARC_HB_4-15.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="426" data-original-width="913" height="186" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi44D6bCY5FgJbhrNU_NQHmVbM5Vqm_NqyOxNxJp5FgJ_uS6gnCTGuSYoLpxR0R_sAPUaa4YZ7WNon-c0kDZRgYbUWM44fGeVzvEGt9B_lAT0jwDHqI0pGtM4BWiGttJmy29oWXItL5f-bB/s400/PARC_HB_4-15.jpg" width="400" /></a></span></div>
<br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">With the aid of the video conferencing software we are still able to get together with our friends. Of course most of us have more time to get on the air, work on projects, or start on the list of things the Wife has been wanting done 'forever'.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">My last comment on the matter is something a friend said in one of his e-mails. " I feel like a teenager again, gas is cheap, and I'm GROUNDED"</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span><span style="font-family: inherit; font-size: large;"></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: inherit; font-size: large;"></span></div>
DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com1tag:blogger.com,1999:blog-7702184209705146469.post-58482624947691802452020-04-09T00:55:00.003-04:002020-04-09T00:55:51.539-04:00UHF Version of TinySA<span style="font-size: large;">I had started on the TinySA from Groups.io HBTE, but am still waiting on some parts that I had orderd than have yet to show up. Looking around I found a UHF version that covers 240 to 940 MHz. This only uses a single si4432 transceiver module, which I have on hand. So I will try to do a similar UHF version of the TinySA. Since this does not need the input LPF, mixer, and a high local oscillator, it should turn out to be a small instrument.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">I have previously used a ESP32 development module, but that was quite large. Looking around aroound I found a Wemos ESP 32 mini that looked like it would do nicely. </span><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIliu1mNwUe7k1HUOeRpsoE-T3_o9qbT1Rlj_e7-VU89ACWt0OR9lZIPWbvzPnyTjingaUNTspwBr-1VuDG6L74bV_BFzaX5gJ6NCZy6Kadokx4m_5c3u3yEAK49bOdlU5QDRzaKZzP1Wo/s1600/wemos+d1+esp32+mini.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="856" data-original-width="796" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIliu1mNwUe7k1HUOeRpsoE-T3_o9qbT1Rlj_e7-VU89ACWt0OR9lZIPWbvzPnyTjingaUNTspwBr-1VuDG6L74bV_BFzaX5gJ6NCZy6Kadokx4m_5c3u3yEAK49bOdlU5QDRzaKZzP1Wo/s320/wemos+d1+esp32+mini.jpg" width="297" /></a><span style="font-size: large;">It gets much of its size from having the IO pins as two rows of 2 wide headers .</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"> Fortunatly the SPI and I2c pins are all located on the inside rows of pins, and there are enough extra pins available for the every thing else I need.</span><br />
<span style="font-size: large;">I can also put right angle headers in the outside row of pins and connect directly to them without having to have additional connectors on the circuit board.</span><br />
<span style="font-size: large;"><br /></span>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfwJA5IiOGE3hmz-2ZEOPuoQgQrMZQLSmytn56zxCmffz8kvmTE6JX-rSXIZN3563k647l2CRgrDNgvFd3twvWfcdeiJOABD-MumZNKd8TVSsAF523VxJOHJz2MxYF4BMPxTLAWR7ff0vw/s1600/KEYPAD+SCHEMATIC.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="470" data-original-width="337" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfwJA5IiOGE3hmz-2ZEOPuoQgQrMZQLSmytn56zxCmffz8kvmTE6JX-rSXIZN3563k647l2CRgrDNgvFd3twvWfcdeiJOABD-MumZNKd8TVSsAF523VxJOHJz2MxYF4BMPxTLAWR7ff0vw/s200/KEYPAD+SCHEMATIC.jpg" width="143" /></a><span style="font-size: large;">I had neen very happy using a joystick for the user input device, but they are a little large for what I had in mind, and also they used 3 IO pins. I also wanted a couple extra control buttons available for the UI. I decided to go to keypad made up of a resistor divider string with switches to ground at each intersection. This can be read using a single ADC input.</span><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY29nQWIglayLslUVvcnvH591MnrlAQZ4nSyhcO5V8mmifo_n7omM80WQJ7omT0Heor-6HH6Lblo3I2UyZyS_q0e3pq8qt9l39EyVxW73ZbIbHx_qJiRfbTw6DWnat9hzqypRnoD46cVgZ/s1600/keypad+switch+array.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="840" data-original-width="945" height="177" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY29nQWIglayLslUVvcnvH591MnrlAQZ4nSyhcO5V8mmifo_n7omM80WQJ7omT0Heor-6HH6Lblo3I2UyZyS_q0e3pq8qt9l39EyVxW73ZbIbHx_qJiRfbTw6DWnat9hzqypRnoD46cVgZ/s200/keypad+switch+array.jpg" width="200" /></a><br />
<span style="font-size: large;">Using surface mount components, the entire keypad can be layed out on the top side of the PCB, without taking up any extra space in he cabinet. I designed and 3D printed a small case, and the buttons for the keypad.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br />The software to read the keypad is quite easy. First you have to find out what ADC vlue is returned with no keys pressed and when each key is pressed. These values are reduced about 10% to prevent false readings. These values are put into an array.</span><br />
<span style="font-size: large;">The keypad function checks to see if a keyis pressed ( reading lower than none pressed value). If it is a short delay to debounce and another reading is taken ,then simple for loop compares this to the values in the array. The value of the last array item lower then the read value is returned to the calling program.</span><br />
<span style="font-family: Georgia, Times New Roman, serif; font-size: large;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">int readKeypad() {</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> int i;</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> int key;</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> // analog value for each key press measured and adjusted down about 10% to prevent</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> // wrong readings 0 position is no key pressed</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> int key_val[] = {3500, 3200, 2900, 2600, 2200, 1700, 900, -1};</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> if (analogRead(keyPadPin) > key_val[0]) // No key pressed</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> return 0; // just return</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> else</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> delay(5); // debounce</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> i = analogRead(keyPadPin); // get pressed key reading</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> for (int n = 0; n < 8; n++) { // check to see which key is pressed</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> if (i <= key_val[n]) // compare against array of measured values</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> key = n + 1; // bump up so you can use simple if test for a pressed key</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> }</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> if (key > 7 )key = 0; // helps to clean up clean up extended switch bounce</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> return key;</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"> delay(25); // set max repeat rate</span><br />
<span style="font-family: Georgia, Times New Roman, serif; font-size: medium;"></span><br />
<span style="font-family: Georgia, Times New Roman, serif;">}</span><br />
<div>
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span></div>
<span style="font-size: large;"><span style="font-family: inherit;">This works quite well, except for a little key bounce from the really cheap switches I had on hand. I put everything in the printed case, and loaded a modified version of the menu system I had used with joystick. </span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><span style="font-family: inherit;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfgk1DGWSgidaygo1K9hXQmvnnxZvLztSgulkHYGyjlbzIHyTcRv9QfXNxO3t-RulwmZpIWYqW3NNl4KeEGBst_fvg39wVDSYAvoGUVIqO-L2MfBQFof0JXgwVIf96lxieBydlTaWGxtza/s1600/case+w+keypad.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1425" data-original-width="1348" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfgk1DGWSgidaygo1K9hXQmvnnxZvLztSgulkHYGyjlbzIHyTcRv9QfXNxO3t-RulwmZpIWYqW3NNl4KeEGBst_fvg39wVDSYAvoGUVIqO-L2MfBQFof0JXgwVIf96lxieBydlTaWGxtza/s320/case+w+keypad.jpg" width="302" /></a></span></span></div>
<span style="font-size: large;"><br /></span><span style="font-size: large;">Now I need to grab some of the si4432 code from the TinySA on the HBTE group and see if I can get it working in the receive mode, then write some sweep and display functions.</span>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com0tag:blogger.com,1999:blog-7702184209705146469.post-62392321251145292142020-02-07T00:47:00.000-05:002020-02-07T00:47:43.311-05:00SMA Torque Wrench for the NanoVNA (uncalibrated)<span style="font-size: large;">I have been using SMA connectors on most of my projects, and have occasionaly gotten a slightly different reading than I had expected. Using the NanoVNA, this has shown up a little more often. After a some checking, it appears that having the connectors 'finger tight' is not quite good enough for getting consistant readings. After watching several Youtube videos and reading soome instruction manuals on much more expensive VNAs , I decided I need some form of torque wrench to help eleviate the problem. </span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">Looking around I found that even the cheapest torque wrench for SMA connectors cost nearly as much if not much more than the NanoVNA. I wondered if it would be possible to 3D print someting that would be usable. I looked around Thingiverse.com, and found a couple examples of torque wrenches that looked easy enough to model one on for SMA connectors. Looking as the specifications for SMA connectors, I found that they shold be tightened to 5 in. pounds of torque. For my use it would be adequate to have it somewhere near that value as long as it was consistant.</span><br />
<span style="font-size: large;"><br /></span>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipkj2tnn7OM9oRXRaXm0KXyj6rJfCRsVrbP87VEqhIi28H89CIpCq_w_UhApRvnSIf3Nb2D7ucOC3CTfC4GQmwcM9B2dgve_WPHmO8rV8JHtpjZjTgE6NslNBFWJFnCLrPQfAUZqzCVGXs/s1600/t-wrench.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="486" data-original-width="708" height="219" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipkj2tnn7OM9oRXRaXm0KXyj6rJfCRsVrbP87VEqhIi28H89CIpCq_w_UhApRvnSIf3Nb2D7ucOC3CTfC4GQmwcM9B2dgve_WPHmO8rV8JHtpjZjTgE6NslNBFWJFnCLrPQfAUZqzCVGXs/s320/t-wrench.jpg" width="320" /></a><span style="font-size: large;">SMA connector nuts are 8mm. across the flats, so I went 8.2mm. to make it easier to get on and off. I also put a wide enough slot in the end of the wrench to allow it to slide over cables easily. While I was working on the design I decided to taper the other end of the wrench so it could be used as a stylus for the touch screen. I also added a small hole 2" from the center of the wrench opening, so you can use a small luggage scale to compute the actual torque.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">I printed a couple with different printer settings and tried them out. Just place over the connector nut and turn until the wrench slipps around to the next flat. I measured how much force I had to apply for this slip to happen. Then by adjusting the number of top and bottom layers, along with number of perimiters I got the torque to be somewhere around 4 in. pounds. With this value I appear to be getting more consistant readings than I hade before, and have a handy stylus for the touch screen. It also makes it easier to get the cables on and off than just using my fingers.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">My settings for the print is for PLA filament. Three perimiters (wall line count), four top and bottom layers, and 40% infill.</span><br />
<span style="font-size: large;">The .stl file is located at. </span><br />
<span style="background-color: yellow;"><span style="font-family: Arial, Helvetica, sans-serif;">https://www.dropbox.com/sh/qt816x30fujt3kl/AABbUj5DdeNC5n3VE0RyJD9ra?dl=0</span></span><br />
<span style="background-color: white; font-family: inherit; font-size: large;"><br /></span>
<span style="background-color: white; font-family: inherit; font-size: large;">Not sure how long these wrenches will last, but only take 15 minutes to print and use about 3 grams of filament.</span><br />
<span style="background-color: yellow;"><span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com5tag:blogger.com,1999:blog-7702184209705146469.post-84491667864727056612020-01-29T18:27:00.002-05:002020-01-31T12:39:32.829-05:00HackRF One case<span style="font-size: large;">When I first started working on a Spectrum Analyzer design I needed some way to check the sweep ranges of the local oscillator, and output of stages. Since some of these were in the 100s of MHz., my oscilloscope would not be enough, and my frequency counter could not follow the frequency when doing a sweep. I had used one of the inexpensive RTl_SDR dongles before, and they had worked fairly well. I recently saw an ad for a 'HackRF One' on AliExpress with a TCXO for under $70. This unit covers from 1MHz. to 6GHz., can do 20 Million Samples per Second, and can be used as a transmitter as well as receiver. I have seen it available bundled with a selection of antennas, accessories and in a case for over $300. </span><br />
<span style="font-size: large;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs6_udHQod3bNolmMugojEVghYnnqpxezDICXStWketv30Kuo1BwIRyNSd_bzGq6X7RDX5Thph4MX4wtlVBjkV2xUOnNTz5ZvVp_cySz7nO02P31Ieuet_hztQ0FDVqhv0xkCFew43qsyc/s1600/hrf1.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="950" data-original-width="1600" height="190" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs6_udHQod3bNolmMugojEVghYnnqpxezDICXStWketv30Kuo1BwIRyNSd_bzGq6X7RDX5Thph4MX4wtlVBjkV2xUOnNTz5ZvVp_cySz7nO02P31Ieuet_hztQ0FDVqhv0xkCFew43qsyc/s320/hrf1.jpg" width="320" /></a></div>
<span style="font-size: large;"> Delivery time was only about two weeks. Looking at the board I was impressed with the quality. and I liked the fact that it used SMA connectors for the antenna, and oscillator in and out connectors.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">The one from AliExpress was the board only, so I would need to make a case for it. </span><span style="font-size: large;">After some quick measurements, I modified one of my standard case designs to fit. </span><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2o75n_xZGlP5D_-YxcWtumNXlka58GqE_1ErNOiyKbMg-NNyMpZJMN4QNgScqOa2aTmepDqoA0L25aOUqEKpPf-dCM4IFScUV48DArJiPSNeyQIMij_GrxP3W3RwGveIytCHCtD9edpaA/s1600/hrf1+case-cad.jpg" imageanchor="1" style="clear: left; display: inline !important; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="254" data-original-width="430" height="189" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2o75n_xZGlP5D_-YxcWtumNXlka58GqE_1ErNOiyKbMg-NNyMpZJMN4QNgScqOa2aTmepDqoA0L25aOUqEKpPf-dCM4IFScUV48DArJiPSNeyQIMij_GrxP3W3RwGveIytCHCtD9edpaA/s320/hrf1+case-cad.jpg" width="320" /></a><span style="font-size: large;"> I decided to use a one piece design with guide slots for the circuit board. I have found this to be very solid, and makes mounting circuit boards very easy. I printed it using some Carbon Fiber filled filament I had on hand. Don't think the Carbon Fiber pieces in the filament are long enough to do any shielding, but it sure looks nice. </span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit-Ufs3EwsgrVwCu4qaivKYHuXj72e2R7ow37XCm5Q4S1xgVKAMtDoAIJtWcd690-NNSptuRg38be2HxMOtayHcWWt-115TKBa-XfU2LO8dAqlqUW195X671Eodb6eD14U8CAbeo8xcU-7/s1600/hrf1-rear.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="640" data-original-width="1200" height="106" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit-Ufs3EwsgrVwCu4qaivKYHuXj72e2R7ow37XCm5Q4S1xgVKAMtDoAIJtWcd690-NNSptuRg38be2HxMOtayHcWWt-115TKBa-XfU2LO8dAqlqUW195X671Eodb6eD14U8CAbeo8xcU-7/s200/hrf1-rear.jpg" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvSrk2-Bm9VTKCVztwl1kZv25vJL7cPZEJJP5rl5H7P54SDpQqpYyjiTUaiAIj5D6ymuHVk6F1Qj9Hz7angVrFQ0_9RwAi9PbCLjOMxgnfW13l8JkV6aG3B1g0kbQVcaoWkXtpRRBk23Vu/s1600/hrf1-front.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="684" data-original-width="1212" height="112" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvSrk2-Bm9VTKCVztwl1kZv25vJL7cPZEJJP5rl5H7P54SDpQqpYyjiTUaiAIj5D6ymuHVk6F1Qj9Hz7angVrFQ0_9RwAi9PbCLjOMxgnfW13l8JkV6aG3B1g0kbQVcaoWkXtpRRBk23Vu/s200/hrf1-front.jpg" width="200" /></a><span style="font-size: large;"> Next I designed and printed a front and back for the case. After putting it all together it makes a very nice looking unit. A little taller than the ones I have seen with some of the complete units, but still a very nice case that will give good protection to the board. </span><span style="font-size: large;">Still in the process of trying several of the different SDR software packages that support the HackRF. Will write up something on them a little later.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">For anyone interested, I have the .stl files available at</span><br />
<span style="background-color: yellow; font-family: Arial, Helvetica, sans-serif;">https://www.dropbox.com/sh/gi3tbny3le8hhhx/AAAJN17G9Nq0jLIntIF3wk88a?dl=0</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">Meanwhile still waiting on some of the parts needed for the 'TinySA' to arrive. I think the Chinese holiday delayed everything. </span><br />
<br />
<br />
<span style="font-size: large;"><br /></span>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com2tag:blogger.com,1999:blog-7702184209705146469.post-78394109913363879212020-01-20T15:13:00.001-05:002020-01-20T15:17:43.826-05:00Small update to the Step Attenuator<span style="font-size: large;">When I first built the step attenuator, I wanted it to check linearity of amplifier stages. I only needed a relative change in the insertion loss of the attenuator. Recntly I was able to use my NanoVNA to measure the actual insertion loss across the total frequency range I am interested in. I also received some questions about showing the actual insertion loss instead of the relative value,</span><br />
<br />
<span style="font-size: large;">Because of this I made a change to the code to switch the display value from relative to actual by a long press of the encoder knob.</span><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzV7qk8_dIb7iT56n9bs7-Cv0CiAJs7EtGrF3tlVEO4OxqOYAdzVJ7cCAaqmHRkXmA9VtWpLLU4aFEyXKEOgw__sibaHd-vvS__4Ueg9sUu7y1UgI6iqbcVteW9WA2twKBhvsl3Tcw9EHC/s1600/actual+display.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="640" data-original-width="1060" height="120" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzV7qk8_dIb7iT56n9bs7-Cv0CiAJs7EtGrF3tlVEO4OxqOYAdzVJ7cCAaqmHRkXmA9VtWpLLU4aFEyXKEOgw__sibaHd-vvS__4Ueg9sUu7y1UgI6iqbcVteW9WA2twKBhvsl3Tcw9EHC/s200/actual+display.jpg" width="200" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtnfx_S7jcgUhkLSeCDk6pl0zgtkaxYHjBhtX544SqgyrDxItKGCJeaUAvES5YuFle4DXRNt4KDBnKMX4YgD1yEotyeL9Vmbvkd8SmCwAyCmPD-1g7-Wsv6V0gkTNrYVZlyNGPgzOr9GOT/s1600/rel+display.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="663" data-original-width="948" height="139" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtnfx_S7jcgUhkLSeCDk6pl0zgtkaxYHjBhtX544SqgyrDxItKGCJeaUAvES5YuFle4DXRNt4KDBnKMX4YgD1yEotyeL9Vmbvkd8SmCwAyCmPD-1g7-Wsv6V0gkTNrYVZlyNGPgzOr9GOT/s200/rel+display.jpg" width="200" /></a> </div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"> First I added some definitions and variables</span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "courier new" , "courier" , monospace;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;">float InsertionLoss = 2.6; //insertion loss of attenuator at 0 dB </span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace;">int InLossMode = 0; // actual insertion loss or relative</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: "courier new" , "courier" , monospace;">#define ActualLoss 0 // display value selected actual + //insertion loss </span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: "courier new" , "courier" , monospace;">#define RelLoss 1 // display just value //selected without insertion loss</span></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;">The code to read the button push was modified to also check for a long press if you want to change display mode to show the actual insertion loss.</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"><span style="font-size: large;"> </span> // check button for display mode and step size</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> read_btn();</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> if (button) {</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> if (button == SHORT_PRESS ) { // toggle step size</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> if (AttenStep == 1) AttenStep = 10;</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> else AttenStep = 1;</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> button = 0;</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> }</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> else { // toggle insertion loss display type</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> if (InLossMode == ActualLoss) InLossMode = RelLoss ;</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> else InLossMode = ActualLoss;</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> button = 0;</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> }</span></div>
<div class="separator" style="clear: both;">
</div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> }</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="font-family: inherit; font-size: large;">T<span style="font-family: inherit;">he</span></span><span style="font-family: inherit; font-size: large;"> display routine was modified to show th display value depnding on the </span><span style="font-family: "courier new" , "courier" , monospace;"><span style="font-size: large;">InLossMode</span></span><span style="font-family: inherit; font-size: large;"> variable,</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> if (InLossMode == ActualLoss) { // show actual insertion loss</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.setTextSize(1);</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.setCursor(20, 15);</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.print("Actual "); // indicate type </span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.setTextSize(3);</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.setCursor(10, 30); // clear last value</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.print(" ");</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> // update display</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.setCursor(10, 30);</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> </span><span style="font-family: "courier new" , "courier" , monospace;">display.print( (AttenValue + InsertionLoss), 1) ; </span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> }</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> else {</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.setTextSize(1); </span><span style="font-family: "courier new" , "courier" , monospace;"> // show relative value</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.setCursor(20, 15);</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.print("Relative "); </span><span style="font-family: "courier new" , "courier" , monospace;"> // indicate type </span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.setTextSize(3);</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.setCursor(10, 30);</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.print(" "); </span><span style="font-family: "courier new" , "courier" , monospace;"> // clear last value</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> // update display</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.setCursor(10, 30);</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.print( AttenValue, 1);</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> }</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> // display "dB." </span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.print( " ");</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.setTextSize(2);</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.setCursor(80, 38);</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.print( " dB.");</span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"></span></div>
<div class="separator" style="clear: both;">
<span style="font-family: "courier new" , "courier" , monospace;"> display.display();</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace;"><br /></span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace;"><br /></span></div>
<div>
<span style="font-family: inherit; font-size: large;">Updated code is available at </span></div>
<div>
<span style="background-color: yellow; font-family: inherit;">https://www.dropbox.com/sh/lwy52lqi0g0ms7g/AAChK1tqW8M4hmUUf_dutwP2a?dl=0</span></div>
<div>
<span style="font-family: "courier new" , "courier" , monospace;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com2tag:blogger.com,1999:blog-7702184209705146469.post-75892915482191666872020-01-15T20:20:00.002-05:002020-01-17T15:12:12.586-05:00Starting on a Tiny Spectrum Analyzer<span style="font-size: large;">I have been playing with building a simple spectrum analyzer for a couple years now. I have tried several different versions, and have ran into similar problems with all of them. For what I want I need several different resolution bandwidth settings. For more than two band-widths the overall complexity becomes greatly increased. I have tried several different approaches, but have not been happy with anything I tried. I had joined the Homebrew Test Equipment group on Groups.io ( https://groups.io/g/HBTE) </span><span style="font-size: large;">, when it started. Recently there has been a series of posts on a Tiny SA that has most of the features I would like to have. It has a interface to a PC application for control and display. I plan on adding a TFT dispalay to make it a stand alone instrument. I have several STM-32 'Blue Pill' modules that I purchased a year ago. I think one of them should work well for this project.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">This SA uses a pair of inexpensive SI4432 wireless ISM transceiver modules. For use in a SA the important features of the SI4432 transceier is a frequency range of 240 to 940 MHz. at up to 20dBm output, variable receive bandwidth using DSP technology, and a Receive Signal Strenth Indicator signal with .5 dBm. resolution down to about - 120 dBm. </span><span style="font-size: large;">Complete modules with all the support components needed are available for less than $5 through the normal sources.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">There are two different filters in the SA that I needed to design for a circuit board. The first is the input low pass filter. I decided a range of up to about 200 MHz. should be more than adequate for what I need. My favorite design tool for filters is Elsie, with it I can quickly design various types of filters, and tune the circuit to use standard value components.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">For the low pass I decided on a 7th. order capacitor input filter. Playing with the program and values I have on hand, I came up with this circuit.</span><span style="font-size: large;"><br /></span><span style="font-size: large;"></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo-pyMav7KgARDIsa43aCocNl2Ke3Run8ZdU1zbdqKAMrrO_qF1e7NgA3eGs2hyphenhyphen1EKYHOiXgZV-uNe9sKI3m51DSnuinm0e7T8bUZ7dvz0tmajVefwhLsT-Frwi1YAE3-z0bhqvNT3k05x/s1600/lpf+schematic.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="643" data-original-width="1597" height="160" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo-pyMav7KgARDIsa43aCocNl2Ke3Run8ZdU1zbdqKAMrrO_qF1e7NgA3eGs2hyphenhyphen1EKYHOiXgZV-uNe9sKI3m51DSnuinm0e7T8bUZ7dvz0tmajVefwhLsT-Frwi1YAE3-z0bhqvNT3k05x/s400/lpf+schematic.png" width="400" /></a></div>
This should give a frequency response similar to this, depending on the actual components used.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2B-ueRaANwXuRgvBA_EezYzWZqKCpuAkoQtZQmME0uBNnM6hmY8lemyylfnzoMhGZNHP7kSd3lxx9JUoa2Euu0LuctbEFerVJLtVivv9sVxTPrCHcYpHhxNGBor_6S5Fk5CdGpcfWhyphenhyphenc/s1600/lpf++lc+plot.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="476" data-original-width="814" height="233" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji2B-ueRaANwXuRgvBA_EezYzWZqKCpuAkoQtZQmME0uBNnM6hmY8lemyylfnzoMhGZNHP7kSd3lxx9JUoa2Euu0LuctbEFerVJLtVivv9sVxTPrCHcYpHhxNGBor_6S5Fk5CdGpcfWhyphenhyphenc/s400/lpf++lc+plot.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="font-size: large;">I had some circuit boards made by one of the Chinese board houses and, built and tested the LPF. I used some SMD capacitors I had on hand from an assortment I purchsed a while ago. Using a online calculor I designed and wound some air core inductors that are close to the values needed. (http://www.circuits.dk/calculator_single_layer_aircore.htm )</span><br />
<span style="font-size: large;"> I used some 24 guage silver plated wire wound around a 3mm. screw as a form. Four turns for the first inductor and five turns for the other two. </span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_1f_GBvqF1wdIKcpkYAGyKJYkEJXLwbLqwwxfmkbkcigx3Flx6angyj_4Nnt9pNORmf8h3O0ydFwrKGjMtOAlgOHmP25uulXyDfzLXO1qPLcXADHSv0M-VT7S1fxZeVJsWKw7LT-FDqYj/s1600/SA-250M-LP.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="788" data-original-width="1237" height="203" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_1f_GBvqF1wdIKcpkYAGyKJYkEJXLwbLqwwxfmkbkcigx3Flx6angyj_4Nnt9pNORmf8h3O0ydFwrKGjMtOAlgOHmP25uulXyDfzLXO1qPLcXADHSv0M-VT7S1fxZeVJsWKw7LT-FDqYj/s320/SA-250M-LP.jpg" width="320" /></a></div>
<span style="font-size: large;"> Connecting the circuit to the NanoVNA using one temporary SMA connector, and with a little reforming of the coils I was able to come up with a filter with the following response.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkXslVCQSSOpWVI0ynkGmKPpNg5lcW8LZFy7IW8EmC7kp1bdaTIqXFo6e3rB5P2X1-H-5h-VHRRQM6KXGVovJaelnZQaFmxcvlpARrJI9tK2GzGAV_TZ3vSf_1PotEsiXb237Jew38yHzW/s1600/lpf+vna+sweep.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="379" data-original-width="602" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkXslVCQSSOpWVI0ynkGmKPpNg5lcW8LZFy7IW8EmC7kp1bdaTIqXFo6e3rB5P2X1-H-5h-VHRRQM6KXGVovJaelnZQaFmxcvlpARrJI9tK2GzGAV_TZ3vSf_1PotEsiXb237Jew38yHzW/s400/lpf+vna+sweep.png" width="400" /></a></div>
<span style="font-size: large;"><br /></span><span style="font-size: large;">
I had to settle for a little bit lower cutoff frequency than the original design to reduce the passband ripple but will be fine for the frequency range I want. It also gives me the option of using a 315 MHz. first IF frequency if I want to try instead of the 432 MHz. in the original Tiny SA.</span><br />
<span style="font-size: large;">The next filter I need to build and test is the first IF bandpass filter,</span><br />
<span style="font-size: large;">This will use a pair of 432 MHz. SAW filters.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com2tag:blogger.com,1999:blog-7702184209705146469.post-24421527849303521992019-10-29T16:04:00.000-04:002019-10-29T16:12:07.905-04:00Checking Step Attenuator with NanoVNA<span style="font-size: large;">I decided to check the step attenuator with the NanoVNA. It would be nice to see what the linearity of the step attenuator is across the frequency range I am interested in. After calibrating the VNA I did a series of sweeps from 1 - 250 MHz. This uses the fundamental frequency range of the VNA, it uses harmonics for higher frequency measurements. I first did the readings using the VNA's internal display, and then repeated with the PC based software.</span><br />
<span style="font-size: large;"><br /></span>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYN6dJonZ_dOthkmdh6lj0yZLUeJFXlKenO_9aadqzbCMCEh7GBaeXn1uWnVBsKtJXqSOiFuiW2OvXSHdb40cdK7waE15lKA5vpTZPdPkR5sfZV1Q0mka4KF2uPqP1SdbxgPypBDEG7JOF/s1600/Screenshot+2019-10-29+15.27.05.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="758" data-original-width="1204" height="251" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYN6dJonZ_dOthkmdh6lj0yZLUeJFXlKenO_9aadqzbCMCEh7GBaeXn1uWnVBsKtJXqSOiFuiW2OvXSHdb40cdK7waE15lKA5vpTZPdPkR5sfZV1Q0mka4KF2uPqP1SdbxgPypBDEG7JOF/s400/Screenshot+2019-10-29+15.27.05.png" width="400" /></a><span style="font-size: large;"></span><br />
<span style="font-size: large;"><span style="font-size: large;"><br /></span></span>
<span style="font-size: large;">With 0 dB selected the sweep showed about 2.4 to 2.6 </span><span style="font-size: large;">dB</span><span style="font-size: large;">insertion loss .</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbz_TFXpCSZ_eNoPl7pqtaQxlK0A6R8l2Iy_iIdw8_D1e0TjDZQ_SAWJv7ELsMbUCFGBbsaymikf3evjxVrT7wYdrS6qfjEJdl63Qn4mhHCb5Eh89Z53c1zYBBsfyrg2xsa2VnJ-alt4U9/s1600/Screenshot+2019-10-29+15.23.51.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="758" data-original-width="1204" height="201" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbz_TFXpCSZ_eNoPl7pqtaQxlK0A6R8l2Iy_iIdw8_D1e0TjDZQ_SAWJv7ELsMbUCFGBbsaymikf3evjxVrT7wYdrS6qfjEJdl63Qn4mhHCb5Eh89Z53c1zYBBsfyrg2xsa2VnJ-alt4U9/s320/Screenshot+2019-10-29+15.23.51.png" width="320" /></a></div>
<span style="font-size: large;">The VSWR was between 1.05 and 1.1. These values will work well for anything I plan on doing. </span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">I then did a series of sweeps at 10 dB incremnts on the attenuator. The linearity is within about 1 dB throughout the range.</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP7ZtPct6PnNdd30XyBPJ_LpZ5BtzXluFTf-LN4RbBkywUAbPclFKGSrmUcChQTi9iGv0HjuJBBmGn9wJa-Guq-ihkHTLgT1jVtTSR7a2ZP2kLTcbEbZGsUpej1629pBH12sYx5H9dkwH4/s1600/Screenshot+2019-10-29+15.12.15.png" imageanchor="1"><img border="0" height="251" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP7ZtPct6PnNdd30XyBPJ_LpZ5BtzXluFTf-LN4RbBkywUAbPclFKGSrmUcChQTi9iGv0HjuJBBmGn9wJa-Guq-ihkHTLgT1jVtTSR7a2ZP2kLTcbEbZGsUpej1629pBH12sYx5H9dkwH4/s400/Screenshot+2019-10-29+15.12.15.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large; text-align: start;">10dB</span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large; text-align: start;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGfgszoRXgx1OVNouZC-8dtLJ3JmUyb8oF63McNTXimQv5JjyAKggKUvGUbqosHlIPqPWoExQYrmEAzGJXdGnfQHg0Py3r9W9RnANsb95k3__CkTmj7Qy-eCCQlYf8diRe-LEPR40hAN4n/s1600/Screenshot+2019-10-29+15.12.28.png" imageanchor="1"><img border="0" height="251" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGfgszoRXgx1OVNouZC-8dtLJ3JmUyb8oF63McNTXimQv5JjyAKggKUvGUbqosHlIPqPWoExQYrmEAzGJXdGnfQHg0Py3r9W9RnANsb95k3__CkTmj7Qy-eCCQlYf8diRe-LEPR40hAN4n/s400/Screenshot+2019-10-29+15.12.28.png" width="400" /></a></span></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;">20 dB</span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9BNQZV379xosO8IPbvYWR4p0DcxFgDCChZkjiKAKW4jdN8-12hUjSp07UkNcLxEJSGF6HIlPpFtuUYvFnVJUn_bU5_h7pVxRVMFTg6zWJMTitKGmApZMdmZ7Wk-lMsz7sXkgE4aM1kmEW/s1600/Screenshot+2019-10-29+15.12.38.png" imageanchor="1"><img border="0" height="251" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9BNQZV379xosO8IPbvYWR4p0DcxFgDCChZkjiKAKW4jdN8-12hUjSp07UkNcLxEJSGF6HIlPpFtuUYvFnVJUn_bU5_h7pVxRVMFTg6zWJMTitKGmApZMdmZ7Wk-lMsz7sXkgE4aM1kmEW/s400/Screenshot+2019-10-29+15.12.38.png" width="400" /></a></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;">30 dB</span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO3ynX0PMlzMK7IVOO1aSOMzWt5WASpzuZO2b74xX_3AZ_A1uFryZKt2X62eF-2WJB2TfU18_QpCrMZ8MnhBIVDzzCB0ZTpXh_XXfsKOItB7Y-oOe19e-e8CIEWle6VQ7BZ6FjGUqBR_7m/s1600/Screenshot+2019-10-29+15.12.47.png" imageanchor="1"><img border="0" height="251" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiO3ynX0PMlzMK7IVOO1aSOMzWt5WASpzuZO2b74xX_3AZ_A1uFryZKt2X62eF-2WJB2TfU18_QpCrMZ8MnhBIVDzzCB0ZTpXh_XXfsKOItB7Y-oOe19e-e8CIEWle6VQ7BZ6FjGUqBR_7m/s400/Screenshot+2019-10-29+15.12.47.png" width="400" /></a></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;">40 dB.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihB4IcMx-f3oTMXAe9vBjhRNksWPaBmK8dIOrB9QZv5wXRfyXwGbdbWblsvy5Y8ktoLAHcgywgriNrXPLzOeU3ak8jvrJJI_snztYXuFdgVJjEOEU48AGnbKe3XUEHGHO6Lhc_8YVjuFPO/s1600/Screenshot+2019-10-29+15.13.05.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="251" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihB4IcMx-f3oTMXAe9vBjhRNksWPaBmK8dIOrB9QZv5wXRfyXwGbdbWblsvy5Y8ktoLAHcgywgriNrXPLzOeU3ak8jvrJJI_snztYXuFdgVJjEOEU48AGnbKe3XUEHGHO6Lhc_8YVjuFPO/s400/Screenshot+2019-10-29+15.13.05.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;">50 dB.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrxLyZyi0JHuMpNQxeTSiSQ0vaHdR9UQ8Fs1gZtWCVgPXBNf7WZ5lR7DK_ma1pZkJ9lX8DzXrRo4ajKrHUd9HALce9EKGHHNepGI15ciQTteg_v7DDPKEvjcKPwQqtDH5tlkiN4vaPWRON/s1600/Screenshot+2019-10-29+15.13.20.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="251" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrxLyZyi0JHuMpNQxeTSiSQ0vaHdR9UQ8Fs1gZtWCVgPXBNf7WZ5lR7DK_ma1pZkJ9lX8DzXrRo4ajKrHUd9HALce9EKGHHNepGI15ciQTteg_v7DDPKEvjcKPwQqtDH5tlkiN4vaPWRON/s400/Screenshot+2019-10-29+15.13.20.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;">60 dB.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;">The linearity looks good across the entire range, within 1 dB. With an insertion loss of around 2-3 dB in all ranges, which is more than adequate for what I need. </span><span style="font-size: large;">Trying to decide if I want to modify the attenuator firmware to show the actual attenuation or leve it as is.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;">The autoscale feature of thes PC software really makes it easy to to get values across such a wide range without loosing resolution. The noise on the sweeps at higher attenuation levels, is due to the sensitivity of the VNA, but is still quite remarkable for a $50 instrument. I am quite happy with both of these pieces of equipment. The VNA does many of the things I wanted to do with a version 3 SNA Jr, so I will put off that project and work on several othr things I have been planning.</span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="font-size: large;"><br /></span>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com1tag:blogger.com,1999:blog-7702184209705146469.post-59147037582638272892019-09-04T18:31:00.000-04:002019-09-04T18:31:56.961-04:00Using the NanoVNA to check an antenna<span style="font-size: large;">This is just quick followup to my last post on the NanoVNA. I ordered a SNA to UHF female adapter so I could try checking an antenna. For this I wanted to try the available PC application instead of using the small screen on the unit.</span><br />
<span style="font-size: large;">This app is very east to use, just set the comm port and click the connect button. Then set your frequency range and display type you want. You then go through the calibration procedure using the short,open,and load standards provided. You can also calibrate for</span><span style="font-size: large;"> </span><span style="font-size: large;">through, and isolated if you are going to do something like checking filter responses.</span><br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">My multi-band antenna is a G7FEK which gives me coverage on 80,40,20,and 15 without a tuner. I figured this would be a good test of the VNA. I did the scan with a display set to Smith chart. </span><span style="font-size: large;">You can see that the impedance is near 50 ohms across the sweep.</span><br />
<span style="font-size: large;">You can move the cursor across the sweep and see frequency, impedance, resistance and reactance at that point on the chart.</span><br />
<span style="font-size: large;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpht7FWXEXx2NAIhR9rQRHEFnHNGhKQRS_ZfrHyPSQBEKBg7feKDDCnFhiboYePAAvDInHIIw4xQgq5yq4Qaim3B-M5l2QGw2iLeAwNZZlQqPBGptia9ryaafTW6L6VHTtz7lHFP9A3Mcm/s1600/vna+g7fek++smith.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="755" data-original-width="1198" height="403" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpht7FWXEXx2NAIhR9rQRHEFnHNGhKQRS_ZfrHyPSQBEKBg7feKDDCnFhiboYePAAvDInHIIw4xQgq5yq4Qaim3B-M5l2QGw2iLeAwNZZlQqPBGptia9ryaafTW6L6VHTtz7lHFP9A3Mcm/s640/vna+g7fek++smith.jpg" width="640" /></a></div>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;">By using the drop-down you can change the display to Return Loss</span><br />
<span style="font-size: large;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjihVMoSyrHvUAAkKV7pd5qW4qwYtnx6L6FB16w_bAbXu-xu9gSyvz5Z2DlwCa4xMUoTJNW76jbwQd071bKsgKv1oRyRjSNa-LgkRkqjby2-t1d0D5jQ8p1XTbJgPzR7QYbnNnsaVCh7eYd/s1600/vna+g7fek++rl.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="669" data-original-width="888" height="301" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjihVMoSyrHvUAAkKV7pd5qW4qwYtnx6L6FB16w_bAbXu-xu9gSyvz5Z2DlwCa4xMUoTJNW76jbwQd071bKsgKv1oRyRjSNa-LgkRkqjby2-t1d0D5jQ8p1XTbJgPzR7QYbnNnsaVCh7eYd/s400/vna+g7fek++rl.jpg" width="400" /></a></div>
<span style="font-size: large;">or SWR.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg52oqcHDU9-n9h9vdiE7I0bZBCsECGhqmdPAJIo2P68HdL7Isz1I9w1JJfMDwXuha-qNKgUXXi2AScuFQWFyff-QayzwsPU8o0miEi-DZEez7POr_rSkvF6OoN5WxrswFe9AHhJwXb6iQB/s1600/vna+g7fek++swrjpg.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="677" data-original-width="890" height="303" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg52oqcHDU9-n9h9vdiE7I0bZBCsECGhqmdPAJIo2P68HdL7Isz1I9w1JJfMDwXuha-qNKgUXXi2AScuFQWFyff-QayzwsPU8o0miEi-DZEez7POr_rSkvF6OoN5WxrswFe9AHhJwXb6iQB/s400/vna+g7fek++swrjpg.jpg" width="400" /></a></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;">One thing I really like about this software is the ability to scale the data to the range you like, or have it auto scale for you.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;">Now I just need to play with it some more and try checking filters, and see what else it can do. Have also been following activity on the nanovna-users on groups.io and see that additional app are already being developed for it.</span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;"><br /></span></div>
<br />
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>
<span style="font-size: large;"><br /></span>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com2tag:blogger.com,1999:blog-7702184209705146469.post-23604446623091639952019-07-25T15:49:00.003-04:002019-08-08T14:48:03.968-04:00Another new toy Update 8/8/19<span style="font-family: inherit; font-size: large;">After FDIM and spending some time visiting my daughter, I came back and thought about some of the on-going projects. At FDIM I had a chance to spend some time talking with Farhan, discussing my latest version of SNA, and his Antuino. While they are very similar, I decided to change my design to use his basic circuit with a few changes. I did a board layout and now have 5 boards coming from China, on the slow boat. </span><br />
<span style="font-family: inherit; font-size: large;"><br /></span>
<span style="font-family: inherit; font-size: large;">While waiting I have been re-thinking how to buid a Spectrum Analyzer, to make it simpler but still have the features I want. After doing a lot of reading blogs, web-pages and old magazine articles, it became apparent that I will have to use a 1st. IF frequency much higher than I had originally thought. The major problem with this is that I do not have any test equipment that will work up to several hundred MHz. </span><br />
<span style="font-family: inherit; font-size: large;"><br /></span>
<span style="font-family: inherit; font-size: large;">About that time I received an e-mail ad about a small hand held VNA that covers from 50 KHz. to 900 MHz. and costs around $60.</span><br />
<span style="font-family: inherit; font-size: large;">I did some looking around and found some information on-line about the original design and some of the clones that were being built. It is known as the NanoVNA and I found the nanovna_users group just starting on Groups.io. Since the first ad I had was for a pre-order, it took about 3 weeks to get my unit. After it arrived, I was surprised with how small the unit was, even with its built in display. My unit came without a battery, but you can run it off the supplied USB C cable supplied. It has provisions for adding a 3.7 volt Lithium battery, and has charging circuitry built in. I ordered an appropriate battery, and gave everything a try. I was happy with the way it worked as stand alone and also with the PC software that is available for the unit. </span><br />
<div class="separator" style="clear: both; text-align: center;">
<img border="0" data-original-height="406" data-original-width="615" height="211" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUn78ujsW-74J4PXFXEbtwwfiOlPAqqetycDt2SpjwiFQSI9el7G5bEY_rx2c5fhJu5vEbtMTKA2_FvnHt0Flr9QsWHO0YbgAfyOGdSYn1_L51cFkP2yumdByLPpfXCh0usQQgAqBtFqfo/s320/nanovna.jpg" width="320" /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikP37d41o4saUzfg5tjda-06SR1X6TakKOmF0Ih2-8miG2jGu2wI9MVTC-3X0TBLxOGGc-vKdCwfqh-zbptJa7O2ejiq8nYsMUKxtSpapS7wu2yI-uIaf5h4VUr19DahR_jR61cPJJRQ6K/s1600/vna+cover+.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="670" data-original-width="930" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikP37d41o4saUzfg5tjda-06SR1X6TakKOmF0Ih2-8miG2jGu2wI9MVTC-3X0TBLxOGGc-vKdCwfqh-zbptJa7O2ejiq8nYsMUKxtSpapS7wu2yI-uIaf5h4VUr19DahR_jR61cPJJRQ6K/s320/vna+cover+.jpg" width="320" /></a><span style="font-family: inherit; font-size: large;"><br /></span>
<span style="font-family: inherit; font-size: large;">The battery I ordered was just a little too large to fit inside the unit </span><span style="font-family: inherit; font-size: large;">as designed. But since the design basically just has a top and bottom cover with the sides open, I had already </span><span style="font-size: large;">deiced</span><span style="font-family: inherit; font-size: large;"> to design and print a case to completely enclose the unit. I made the case just a little larger to provide room for the battery and added some protection on the side of the case for the small switch used to control the device along with its touch screen.</span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrdbzGw8RFqwcc9Maxt4pOZg1Z-Rfa4f2C-4ny8339hExEgGMjJe4uThwgzLpygdgKA3XXMf9Qc6QNNENu-7rKWmlkCVFErT0plpwiRkwfyMfOYoxtP8wqUgDBI1cjOCmZbHJNCBDhQj5W/s1600/vna+cover+top.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="479" data-original-width="652" height="293" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrdbzGw8RFqwcc9Maxt4pOZg1Z-Rfa4f2C-4ny8339hExEgGMjJe4uThwgzLpygdgKA3XXMf9Qc6QNNENu-7rKWmlkCVFErT0plpwiRkwfyMfOYoxtP8wqUgDBI1cjOCmZbHJNCBDhQj5W/s400/vna+cover+top.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW4y7RlRQfXu44spoPrfDIgo5t-8JN-vFh9TbUZAVC1FUzXjXOCvCDCCcWo4ajMr9scGFYIM95efL1Oq3DYriSzRVqzya7Twj0ed10R4-r9WLpTLg55b99FOP7Il6Kzn2MQoDI17otNSSf/s1600/vna+cover+cutout.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="360" data-original-width="664" height="216" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW4y7RlRQfXu44spoPrfDIgo5t-8JN-vFh9TbUZAVC1FUzXjXOCvCDCCcWo4ajMr9scGFYIM95efL1Oq3DYriSzRVqzya7Twj0ed10R4-r9WLpTLg55b99FOP7Il6Kzn2MQoDI17otNSSf/s400/vna+cover+cutout.jpg" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: large;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;">Update 8/8/19</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;">I did some playing with the VNA, and am very happy with it.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;">In this picture you can see the response of a 1M coax between 50 KHz. and 900MHz. Peaks are around 98MHz. apart. Looking at the Smith Chart there is a range of about 53 to 48 ohm impedance peak to trough from 441 to 495 MHz.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;">.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIiG7GwV-7p3fjy-1948HmlMc7GVXpasV3m9D__ssbTvycYkw9NTZ8XQQgBcarT1VhyphenhyphenQ4dvTqEy8bUI8n3XLaYLX_HIibW7f-UGFgzSt7rwdPfWPqNgF2iO7h9YZjKKWg1gkeA6QXa8EU-/s1600/CM190808-13082701.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="492" data-original-width="766" height="255" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIiG7GwV-7p3fjy-1948HmlMc7GVXpasV3m9D__ssbTvycYkw9NTZ8XQQgBcarT1VhyphenhyphenQ4dvTqEy8bUI8n3XLaYLX_HIibW7f-UGFgzSt7rwdPfWPqNgF2iO7h9YZjKKWg1gkeA6QXa8EU-/s400/CM190808-13082701.jpg" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: left;">
<span style="font-size: large;">Only problem I have had was because of its small size. I ended up knocking it off my desk and cracking the display. Everything still works, so I decided to print a protective cover for when I am not using it</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUpQN7ik1GwRhr3dpfFvTyMPg9yBygC831fhSlRq2kzBiSEuH-FhNMOXm6eBX9_J91EoGop9dLJ9XEgKr3QEohbMVsh-NxUZK8jMbYKV_yeU0xQiJMsZFbT30nEcslz6LQAdVzYjpozf7e/s1600/CM190808-13083602.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="576" data-original-width="768" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUpQN7ik1GwRhr3dpfFvTyMPg9yBygC831fhSlRq2kzBiSEuH-FhNMOXm6eBX9_J91EoGop9dLJ9XEgKr3QEohbMVsh-NxUZK8jMbYKV_yeU0xQiJMsZFbT30nEcslz6LQAdVzYjpozf7e/s400/CM190808-13083602.jpg" width="400" /></a><span style="font-size: large;"><br /></span></div>
<div class="" style="clear: both; text-align: center;">
<br /></div>
<span style="font-family: inherit; font-size: large;">I put the .stl files for the case, cover and a sun shield in the following dropbox folder</span>
<span style="font-family: inherit; font-size: large;"><br /></span>
<span style="font-family: inherit; font-size: large;"><br /></span>
<span style="background-color: yellow;"><span style="font-family: inherit; font-size: medium;">https://www.dropbox.com/sh/74g4z97ly3bz1au/AACTRkE0hDRww3M_5Uj3tkpMa?dl=0</span>
</span><br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="font-family: inherit; font-size: large;"><br /></span>DuWaynehttp://www.blogger.com/profile/11286645084920270476noreply@blogger.com4