RF MiliWatt meter

PA0RWE mW meter


AD8318 at Aliexpress.com

Downloads:   PIC Hex file V5.0.   Note: This file is for a 24 character LCD!


In ‘Elektuur’ (Elektor) of October 2002 an article was written about the construction of a PIC controlled RF Watt meter. I found the design earlier on the site of OZ2CPU and I bookmarked it for later use…. That moment was here and I ordered the print and software and got to work.

I must say, it’s a very nice measuring tool. It is based on a PIC 16F876(a) and an AD8307 logarithmic detector. Extension with a MAX232 offers the possibility of connecting the apparatus to your PC. The original available software has many features to make a very useful tool of it.  It is written in ‘C++’ format and should be compiled into a hex file. I used the PICC compiler. I made a small modification in the software to activate the second DC input (B) for using it, together with the already available DC input (A), for SWR measurements. I have modified the software to enable me to determine an SWR value out of two DC input voltages.

Major update February 2018.
Because the need of measuring frequencies in the GHz range more than below 1 MHz, I have rebuild the mW meter and replaced the AD8307 module by a AD8318 module, bought at Aliexpress
. Besides I have modified the software, I removed the SSB meter, SWR meter, About screen and display-update-speed screen. All to make the program smaller so I did not get into troubles with MPLABX for too less program memory space available. No problem with the 60-days demo version of the XC8 compiler, but 60 days has come very fast to an end! I modified the AD8318 output conversion to dB’s as well because the AD8381 has a reversed output compared to the AD8307.

Insight view, on the right side below the PIC PCB you see the AD8318 board

I found that the AD8318 is sensitive for temperature. After 1 hour the measurement of the input signal increases about 1.2 dB due to warming up of the enclosure. I replaced the transformer for one with 9 Volt output in stead of 12 Volt. I also mounted the 7805 regulator on the backside of the enclosure. After that, the measurement increases not more than 0.3 dB after an hour.