<?php 


include("../../../../../site-common/common-functions.php");


set_title("June 17, 2003 : Jeremiah Oeltjen's Blog");

page_start();
?>
<div class="breadcrumb">
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="/" itemprop="url"><span itemprop="title">Home</span></a> &#x203a; 
</div>

<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="/blog/" itemprop="url"><span itemprop="title">Blog</span></a> &#x203a; 
</div>


<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="/blog/archives/2003/" itemprop="url"><span itemprop="title">2003</span></a> &#x203a; 
</div>
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="/blog/archives/2003/06/" itemprop="url"><span itemprop="title">June</span></a> &#x203a; 
</div>
<div class="this-node">
<span class="title">17</span>
</div>


</div>

<div class="blog">

<div id="menu">

<a href="https://jeremiah.oeltjen.us/blog/archives/2003/06/16/">&laquo; June 16, 2003</a> &#x2039;

<a href="https://jeremiah.oeltjen.us/blog/">Main</a>

&#x203a; <a href="https://jeremiah.oeltjen.us/blog/archives/2003/06/20/">June 20, 2003 &raquo;</a>

</div>

</div>

<div class="blog">




<h2 class="date">June 17, 2003</h2>


<div class="blogbody">
<a name="000007"></a>
<h3 class="title">HP48 Programs for Hams</h3>

<p>Here are some programs written to run on the HP48 graphing calculator that are useful for some Amateur Radio applications. I originally had these posted on my web site when it was running on <a href="http://www.phpnuke.org" title="PHP Nuke: Advanced Content Management System">PHP Nuke</a>. I recovered the text out of the database and did some editing to make it a little more complete. They are described in no particular order.</p>


<p>The first of these programs, <b>SWR</b>, was written by Arlen, AA0SG, to compute the <acronym title="Standing Wave Ratio">SWR</acronym> of an antenna system from measured forward and reflected power. Enter the forward power then reflected power onto the stack and run the program. The result should be SWR.</p>

<p>The book <i>Reflections II</i> by M. Walter Maxwell, W2DU, has a couple of programs that claim to be written for <acronym title="Hewlett-Packard">HP</acronym> calculators. The language, however, does not correspond to anything that I know, at least not the HP48. As a consequence, Arlen and I rewrote them using the original program text and formulas from the book as a guide.</p>

<p><b>RjX</b> is the first of these programs which replaces the listing in Appendix 4. It calculates exact SWR from R+jX. Enter <acronym title="resistance">R</acronym>, <acronym title="reactance">X</acronym>, feedline <acronym title="characteristic impedence">Z<sub>c</sub></acronym> on the stack in that order. The program take these numbers off and output SWR.</p>

<p>Appendix 7A has a program in it to determine the increase in forward power on a line that is with conjugate matching at the input. The program to do this is called <b>C</b>. Enter transmitter output power, line loss, and ratio of feedline to antenna impedance (hint: 3 then 1 for 3:1 SWR). The program returns the total forward power. Amazingly, it's often greater than what you started with.</p>

<p>The third of these is the <b>SWRloss</b> program used to calculate the additional power lost due to SWR on a transmission line (Appendix 8A). First enter the loss in <acronym title="decibels">dB</acronym> followed by the SWR . The result will be something like <tt>dB LOSS: -.288</tt> meaning 0.288 dB of additional loss on the feedline due to SWR.</p>

<p><b>ERP</b> calculates <acronym title="effective radiated power">ERP</acronym> given input power and gain in dB (in that order).</p>

<p> Here is the text of the programs. Copy it and paste it into a plain text file called HAM (or something like that). Transferring it to your HP will create a directory of that name and all of those programs will be in there.</p>
<blockquote>
<pre>
%%HP: T(3)A(D)F(.);
DIR
  C
    << DUP2 - 3
ROLLD + / SWAP NEG
10 / ALOG DUP 3
ROLLD * SQ 1 1 ROT
- / * *
    >>
  ERP
    << 10 / ALOG *
    >>
  RjX
    << DUP 3 ROLLD /
ROT ROT / SWAP SQ 1
+ SWAP DUP 3 ROLLD
/ + DUP SQ 4 - v/ +
2 / "SWR" ->TAG
    >>
  SWRLoss
    << DUP 1 - SWAP
1 + / SWAP NEG 10 /
ALOG DUP2 DROP * SQ
1 SWAP - SWAP SQ 1
SWAP - SWAP / LOG
10 * 3 RND
"dB LOSS" ->TAG
    >>
  SWR
    << v/ SWAP v/ DUP
3 PICK - 3 ROLLD +
SWAP / 2 RND "SWR"
->TAG
    >>
END
</pre>
</blockquote>


<div class="posted">
Posted by <a href="http://jeremiah.oeltjen.us/" rel="author">Jeremiah Oeltjen</a> at <a href="https://jeremiah.oeltjen.us/blog/archives/2003/06/17/hp48-programs-f"><time datetime="2003-06-17T02:46:14-06:00"> 2:46 AM</time></a>


</div>

</div>






<div class="blogbody">
<a name="000006"></a>
<h3 class="title">What Will it Take?</h3>

<p><a href="http://www.techtv.com/">TechTV</a>'s <a href="http://www.techtv.com/news/">Tech Live</a> ran this <a href="http://www.techtv.com/news/shownotes/story/0,24195,3452393,00.html"  title="Archived Version of the Poll">poll</a> this evening relating to a story about <acronym title="Unsolicited Commercial E-mail">UCE</acronym>. 

<p><b>What will it take to stop spam forever?</b></p>

<ul>
<li>Action by ISPs and businesses</li>
<li>An act of Congress</li>
<li>An act of God</li>
</ul>

<p>When I voted, I was suprised to see that it was almost a tie between <i>Action by ISP's and businesses</i> and <i>An act of God</i>. Of course I didn't pay much attention to the numbers, not that they matter because a minute later when I refreshed the poll result page <i>An act of God</i> was now higher than the first two put together.</p>

<p><b>UPDATE:</b> I previously linked to the shownotes, however, it is much easier to go <a href="http://cgi.techtv.com/quizpoll?form_id=31774" title="archived version of the poll">directly to the archived version</a> of the poll. I would have done this before, but that page was broken at that time.</p>



<div class="posted">
Posted by <a href="http://jeremiah.oeltjen.us/" rel="author">Jeremiah Oeltjen</a> at <a href="https://jeremiah.oeltjen.us/blog/archives/2003/06/17/what-will-it-ta"><time datetime="2003-06-17T01:44:11-06:00"> 1:44 AM</time></a>


</div>

</div>


</div>
<?php
page_end();
?>
