• You can now help support WorldwideDX when you shop on Amazon at no additional cost to you! Simply follow this Shop on Amazon link first and a portion of any purchase is sent to WorldwideDX to help with site costs.

ButtFuzz' PowerShell Radio / Antenna Math

ButtFuzz

Anti-BS Advocate ● WO0WOO ● Reverend Doctor
Aug 11, 2005
587
418
173
Sunny Salem, VA
robco.ath.cx
I was bored in PowerShell class today.
Here's a simple PowerShell script to roughly calculate antenna values. YMMV. Wooooooo!

#####################################################
Function Show-DipoleSize()
{
CLS
[float]$freq = Read-Host "What is the desired freq. in MHz?"
$f = ($freq)
$a = (468/$freq)
$b = ($a/2)
$c = ($b * 12)
$d = ($f*3)
$e = ($f*9)
$l = ($a*2)
$cm = ($b*30.48)
Write-Host ""
Write-Host "At $freq MHz:" -ForegroundColor Yellow
Write-Host ""
Write-Host " $a ft. is the lenth of a 1/2-wave dipole made of copper."
Write-Host " Each 'leg' of the dipole should be $b ft. long."
Write-Host " If you are building a ground plane, the radiator should be $b ft."
Write-Host " The GP radials (4 minimum) should be slightly shorter than $b ft."
Write-Host " A full-wave loop should reach 52 Ohm impedance at approximately $l ft."
Write-Host " $b ft. = $c inches."
Write-Host " $b ft. = $cm centimeters."
Write-Host ""
Write-Host "The antenna should function just fine around $d MHz."
Write-Host "The antenna should function just fine around $e MHz."
}#end-function
##########################################################

Copy/Paste what's between the #####'s into PowerShell ISE and save it to your liking.
 
  • Like
Reactions: Shadetree Mechanic

6133-1564143258-7a04ef2f36f05d6ab2d7638b99fe97dc.png

6134-1564143259-97f3b8094d66e0dc2567f22ba76f9fef.png

6135-1564143260-b9c3a43dface32ed8a51478246723f30.png

6136-1564143261-a825bf06990b26cd5942784a794cea5d.png
 
  • Like
Reactions: Shadetree Mechanic

dxChat
Help Users
  • No one is chatting at the moment.
  • @ Wildcat27:
    Hello I have a old school 2950 receives great on all modes and transmits great on AM but no transmit on SSB. Does anyone have any idea?
  • @ ButtFuzz:
    Good evening from Sunny Salem! What’s shaking?
  • dxBot:
    63Sprint has left the room.
  • dxBot:
    kennyjames 0151 has left the room.