<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>electronics &amp;mdash; Neil&#39;s Blog</title>
    <link>https://wf.kawa-kun.com/tag:electronics</link>
    <description></description>
    <pubDate>Tue, 25 Aug 2026 15:30:36 -0700</pubDate>
    <item>
      <title>Boolean logic and 7400-series ICs</title>
      <link>https://wf.kawa-kun.com/boolean-logic-and-7400-series-ics</link>
      <description>&lt;![CDATA[In order to drive the relay modules, a set of control signals is needed.  Since I only have 18/5 cabling at most, that means that I&#39;ll only have 3+VCC+ground to work with, but there are five relay modules plus a reset line.  Boolean logic to the rescue!&#xA;&#xA;My thinking was using binary number values from 0-4 to select which relay to enable, while I&#39;d have a 7 (0b111) indicate a reset signal.  After creating the truth table on paper, I converted it into AND and NOR gates and simulated it in Qucs-S.&#xA;&#xA;Boolean logic gates and truth table from Qucs-S&#xA;&#xA;Then I made footprints for the 74HC00A-series ICs that contain the gates I&#39;d be using, and lastly created a schematic showing the routing for all of the lines I&#39;d need in KiCad.&#xA;&#xA;NOR, AND, and AND ICs in Kicad with all of their signal and power lines connected&#xA;&#xA;With that, I had what I needed to actually create the board on perf board.  I also made a test fixture using buttons and LEDs to verify that it was correct.&#xA;&#xA;video controls src=&#34;https://img.wf.kawa-kun.com/uploads/original/95/52/6ad79d39554ba83c31d381a8679b.mp4&#34; /&#xA;&#xA;The only bug I ran into was where the Relay4 line was high whenever I held all buttons down, which should only trigger Reset.  Turns out I only forgot to connect a couple of traces.  With that fixed, it worked 100%!&#xA;&#xA;#AmateurRadio #HamRadio #electronics #maker #boolean #logic ]]&gt;</description>
      <content:encoded><![CDATA[<p>In order to drive <a href="https://wf.kawa-kun.com/crash-course-in-transistors-and-electronics">the relay modules</a>, a set of control signals is needed.  Since I only have 18/5 cabling at most, that means that I&#39;ll only have 3+VCC+ground to work with, but there are five relay modules plus a reset line.  Boolean logic to the rescue!</p>

<p>My thinking was using binary number values from 0-4 to select which relay to enable, while I&#39;d have a 7 (0b111) indicate a reset signal.  After creating the truth table on paper, I converted it into AND and NOR gates and simulated it in <a href="https://ra3xdh.github.io/">Qucs-S</a>.</p>

<p><img src="https://img.wf.kawa-kun.com/uploads/original/d9/74/23c6530731b59f3253b9a152d7b7.png" alt="Boolean logic gates and truth table from Qucs-S"></p>

<p>Then I made footprints for the <a href="https://toshiba.semicon-storage.com/us/semiconductor/product/general-purpose-logic-ics/detail.TC74HC00AP.html">74HC00A-series ICs</a> that contain the gates I&#39;d be using, and lastly created a schematic showing the routing for all of the lines I&#39;d need in KiCad.</p>

<p><img src="https://img.wf.kawa-kun.com/uploads/original/67/d8/f54499126f907f2ecdd318b9139b.png" alt="NOR, AND, and AND ICs in Kicad with all of their signal and power lines connected"></p>

<p>With that, I had what I needed to actually create the board on perf board.  I also made a test fixture using buttons and LEDs to verify that it was correct.</p>

<p><video controls="" src="https://img.wf.kawa-kun.com/uploads/original/95/52/6ad79d39554ba83c31d381a8679b.mp4"/></p>

<p>The only bug I ran into was where the Relay4 line was high whenever I held all buttons down, which should only trigger Reset.  Turns out I only forgot to connect a couple of traces.  With that fixed, it worked 100%!</p>

<p><a href="https://wf.kawa-kun.com/tag:AmateurRadio" class="hashtag"><span>#</span><span class="p-category">AmateurRadio</span></a> <a href="https://wf.kawa-kun.com/tag:HamRadio" class="hashtag"><span>#</span><span class="p-category">HamRadio</span></a> <a href="https://wf.kawa-kun.com/tag:electronics" class="hashtag"><span>#</span><span class="p-category">electronics</span></a> <a href="https://wf.kawa-kun.com/tag:maker" class="hashtag"><span>#</span><span class="p-category">maker</span></a> <a href="https://wf.kawa-kun.com/tag:boolean" class="hashtag"><span>#</span><span class="p-category">boolean</span></a> <a href="https://wf.kawa-kun.com/tag:logic" class="hashtag"><span>#</span><span class="p-category">logic</span></a></p>
]]></content:encoded>
      <guid>https://wf.kawa-kun.com/boolean-logic-and-7400-series-ics</guid>
      <pubDate>Wed, 19 Aug 2026 13:54:47 -0700</pubDate>
    </item>
    <item>
      <title>Crash Course in Transistors and Electronics</title>
      <link>https://wf.kawa-kun.com/crash-course-in-transistors-and-electronics</link>
      <description>&lt;![CDATA[Man, it&#39;s been far too long since I last posted.  I&#39;ve been working hard on automating my 12-20m magloop antenna and already have the variable capacitor remote control and position sensor working.  Next up: remote control for the transformer feed so I can have it automatically configure itself based on a requested frequency!&#xA;&#xA;I spent a few days earlier this week struggling with transistors, but it ended up being worthwhile since I learned a lot.  For example, an n-type MOSFET will only allow voltages that are up to the gate voltage across, which means that it really needs to be on the ground side of whatever component is being controlled.  You can see the behavior here (with BJTs for comparison):&#xA;&#xA;QUCS-S simulations of N-type MOSFETs and NPN BJTs&#xA;&#xA;The bottom right circuit in the above diagram matches how I eventually successfully used the 2N7000 MOSFETs to control the RF relay in the video here:&#xA;&#xA;video controls src=&#34;https://img.wf.kawa-kun.com/uploads/original/5b/07/c634ca6f2da5aa7ff6747a53b9c8.mp4&#34; /&#xA;&#xA;This project also had me working on my first PCB design in KiCAD, since there was no way I was going to do all that fiddly soldering of these SMD relays to through-hole perf board multiple times!&#xA;&#xA;Relay module on an eight-pin expansion board&#xA;&#xA;Now to wait for PCBway to get back to me…&#xA;&#xA;#AmateurRadio #HamRadio #electronics #kicad #PCB #circuit #maker ]]&gt;</description>
      <content:encoded><![CDATA[<p>Man, it&#39;s been far too long since I last posted.  I&#39;ve been working hard on automating my 12-20m magloop antenna and already have the variable capacitor remote control and position sensor working.  Next up: remote control for the transformer feed so I can have it automatically configure itself based on a requested frequency!</p>

<p>I spent a few days earlier this week struggling with transistors, but it ended up being worthwhile since I learned a lot.  For example, an n-type MOSFET will only allow voltages that are up to the gate voltage across, which means that it really needs to be on the ground side of whatever component is being controlled.  You can see the behavior here (with BJTs for comparison):</p>

<p><img src="https://img.wf.kawa-kun.com/uploads/medium/4c/83/0acb2d11b8f08254640913e174b5.png" alt="QUCS-S simulations of N-type MOSFETs and NPN BJTs"></p>

<p>The bottom right circuit in the above diagram matches how I eventually successfully used the 2N7000 MOSFETs to control the RF relay in the video here:</p>

<p><video controls="" src="https://img.wf.kawa-kun.com/uploads/original/5b/07/c634ca6f2da5aa7ff6747a53b9c8.mp4"/></p>

<p>This project also had me working on my first PCB design in <a href="https://www.kicad.org/">KiCAD</a>, since there was no way I was going to do all that fiddly soldering of these SMD relays to through-hole perf board multiple times!</p>

<p><img src="https://img.wf.kawa-kun.com/uploads/medium/52/45/f7349f4c9b7ce855706ad53c41d1.png" alt="Relay module on an eight-pin expansion board"></p>

<p>Now to wait for PCBway to get back to me…</p>

<p><a href="https://wf.kawa-kun.com/tag:AmateurRadio" class="hashtag"><span>#</span><span class="p-category">AmateurRadio</span></a> <a href="https://wf.kawa-kun.com/tag:HamRadio" class="hashtag"><span>#</span><span class="p-category">HamRadio</span></a> <a href="https://wf.kawa-kun.com/tag:electronics" class="hashtag"><span>#</span><span class="p-category">electronics</span></a> <a href="https://wf.kawa-kun.com/tag:kicad" class="hashtag"><span>#</span><span class="p-category">kicad</span></a> <a href="https://wf.kawa-kun.com/tag:PCB" class="hashtag"><span>#</span><span class="p-category">PCB</span></a> <a href="https://wf.kawa-kun.com/tag:circuit" class="hashtag"><span>#</span><span class="p-category">circuit</span></a> <a href="https://wf.kawa-kun.com/tag:maker" class="hashtag"><span>#</span><span class="p-category">maker</span></a></p>
]]></content:encoded>
      <guid>https://wf.kawa-kun.com/crash-course-in-transistors-and-electronics</guid>
      <pubDate>Thu, 13 Aug 2026 17:04:27 -0700</pubDate>
    </item>
  </channel>
</rss>