I have been using Arduino for school projects for about a year now. I am pretty comfortable with the basics of the Arduino syntax. I am currently in the middle of a mechanical engineering senior design project. As a part of a system of things we are making for this project, one component involves recognizing the signal strength of radio frequencies.
Due to this, I purchased the AD8318 RF power meter. According to the data sheet it can receive the RF signals and convert them into a corresponding output voltage from 0 to 5 volts. I am however having trouble getting any sort of reading from the device to the Arduino. I have attached a picture of how I connected the RF power meter to the Arduino. The VCC went the 5V pin, ground to ground, 1st Vout to A0 pin, and 2nd Vout to A1 pin.
After I have the device connected to the Arduino. I have a basic code to analogRead both of the voltage out pins. I’d assume these pins should be set as OUTPUTS, but I have tried setting the pins as INPUTS as well. The analogRead or analogWrite values are being printed to the serial monitor so I can watch if they change based on incoming RF signals.
I have a 3.5 GHz SMA antenna connected to the female SMA of the RFin for the power meter. I also have a 315 MHz RF transmitter key fob that I am using to send RF signals to the AD8318.
The values that I am reading in the serial monitor do not change no matter how close or far I transmit the RF signals to it. I am very ignorant of how to design this circuit and/or code to detect the frequencies from the RF key fob transmitter and convert it into an output voltage. Any help or tips in the right direction would be very appreciated. Thanks in advance!
Here is the datasheet for the AD8318 for reference:
ad8318-converted-edited.pdf (24.4 KB)