Summary of Digital Watt meter using PIC16F876
This article describes a digital wattmeter featured in Elektor Magazine (October 2002), designed around the PIC16F876 microcontroller. It measures RF power from -60 to +30dBm across a wide frequency range, utilizing an AD8307 detector and EEPROM for calibration data storage. The device features a POWERTIP LCD display with adjustable backlighting and supports battery operation with specific resistor modifications.Parts used in the Digital Wattmeter:
- PIC16F876 microcontroller
- AD8307 signal detector
- POWERTIP 20-character 2-line LCD display with LED backlight
- EEPROM memory chip
- PCB (Printed Circuit Board)
- Input attenuator components
- Variable capacitor for input circuit adjustment
- R30, R26, and R27 resistors
The extra input B is for a later SWR brigde project, also the TX serial output will be in use later.
The uncalibrated signal response is: +1/-1 dB from 1MHz to 450MHz.
Input SWR vill varry from 1.00 to 1.30, depending on input frequency.
To make the SWR this good, you need to assemble the input circuit correct and adjust the capasitor.
Input power range: -60 to +30dBm that is 1 nW to 1 Watt.
This instrument can be used and calibrated from 1 kHz and up to 500 MHz
It is possible to measure power relative all the way up to 900Mhz
A software routine can calibrate the 0dBm point at 5 different frequencies to make this instrument accurate within 0.5dBm !!
The calibration data is stored in EEPROM so the instrument will remember all, also without power.
At frequencies above 300Mhz this instrument should not exceed inputs over +20dBm (100mW) to keep the good accuacy
This is a documented weekness in the AD8307, this is not a big problem, if you are aware of this, then it's just a matter of using the right input attenuator
If battery opperation: do not connect R30, also change R26 and R27 to 4k7
Ideas taken from articles in: QST June 2001 page 38 and Funkamateur 12/99 page 1383 And Elektor 1/99 page 26
The display, shows dBm from -60 to +30dBm, RF Voltage and RF Power and Bargraph in 1db step.
The backlite is verry powerfull, I had to change R30 to 10E
Also I must complement the POWERTIP display for it's exelent contrast and viewing angle and low prize !
I use a POWERTIP display with 20 caracters in 2 lines with LED light.
Powersupply current is:
With no light: = 30 mA. (R30 = NC)
Normal light: = 120 mA. (R30 = 10E)
Power light: = 200 mA. (R30 = 4E7)
For more detail: Digital Watt meter using PIC16F876
Quick Solutions to Questions related to Digital Wattmeter:
- What is the measurable power range of this instrument?
The instrument measures input power ranging from -60 to +30dBm, which equals 1 nW to 1 Watt. - How does the calibration process work for accuracy?
A software routine can calibrate the 0dBm point at five different frequencies to ensure accuracy within 0.5dBm. - Where is the calibration data stored?
The calibration data is saved in EEPROM so the instrument retains settings even without power. - What limits the input power at high frequencies?
Above 300MHz, inputs should not exceed +20dBm to maintain good accuracy due to a weakness in the AD8307. - How can I modify the circuit for battery operation?
For battery use, do not connect R30 and change R26 and R27 to 4k7 resistors. - What are the current consumption levels with different lighting settings?
Current draw is 30 mA with no light, 120 mA with normal light, and 200 mA with power light enabled. - Does the device measure relative power up to 900MHz?
Yes, it is possible to measure power relative all the way up to 900MHz. - What is the uncalibrated signal response frequency range?
The uncalibrated signal response is +1/-1 dB from 1MHz to 450MHz.
Related projects
Ultrasonic Range Finder Circuit AD605 PIC16F876
Ultrasonic distance measurement, detection circuit pic16f876 microcontroller and ad605 (Dual Low Noise Variable Gain Amplifier singlesupply) integrated circuit diagrams used are C...
Sensors & Temperature · PIC16F876AInterfacing Temperature Sensor with Microchip PIC16F876A
The tutorial aims at providing the necessary information for interfacing an analog type temperature sensor with a Microchip PIC Microcontroller. PIC (Peripheral...
Beginner Tutorials · PIC16F876AHomemade Scope Clock DG7 tube and PIC16F876
Powersupply and CRT deflection and microcontroller test circuit. I was lucky to purcase two used but working DG7 tubes and a transformator...
Meters & Test Instruments · PIC16F688Determine capacitance by measuring the charging time using PIC16F688
When TEST botton is pressed, RA3 pin is set to "1". R2 and R3 are divide the voltage to 1/2 Vra3 which...
Meters & Test InstrumentsFrequency Meter Using Microcontroller
This tutorial simply states how to calculate frequency of a pulse source using a microcontroller. Story https://youtu.be/NAoj-HLRIro This tutorial simply states how...
Meters & Test Instruments · PIC16F84ADigital thermometer with PIC16F84 circuit
This electronic project is a very simple thermometer that is based on the PIC16F84A microcontroller, designed by Microchip. Why to use a...
