Logarithm in PBP


Closed Thread
Results 1 to 25 of 25

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Smile

    Hi Savnik,

    If I read your problem correctly:

    Quote Originally Posted by savnik View Post
    I have a linear for FM and i want to measure the power.
    From the power meter i take the indication which is in volt. This volt I want to show on LCD. But the power change in logarithm scale and this is my problem.

    My english is not so good.
    I want the voltage which measure with the pic , to show on lcd in dBm or dBv or watt (the table which post in #6)
    You have a RF amplifier that has an analog power meter. The power meter reads a voltage and displays the power on a Logarithmic scale. The input, to move the meter, is voltage. The scale painted on the meter face is logarithmical.

    You need the PIC’s adc input to read the DC voltage running the meter and then using mathematics or a “look-up” table convert the voltage to the equivalent power in Watts. You have already calculated the table, posted in your previous post.

    Is this close to the question? I am just trying to help with clarifying the question. Sorry I don’t have an answer for you.

    -Adam-
    Ohm it's not just a good idea... it's the LAW !

  2. #2
    Join Date
    Jun 2006
    Location
    Greece
    Posts
    302


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Pic_User View Post
    Hi Savnik,

    If I read your problem correctly:


    You have a RF amplifier that has an analog power meter. The power meter reads a voltage and displays the power on a Logarithmic scale. The input, to move the meter, is voltage. The scale painted on the meter face is logarithmical.

    You need the PIC’s adc input to read the DC voltage running the meter and then using mathematics or a “look-up” table convert the voltage to the equivalent power in Watts. You have already calculated the table, posted in your previous post.

    Is this close to the question? I am just trying to help with clarifying the question. Sorry I don’t have an answer for you.

    -Adam-
    Yes, it is my question.

Similar Threads

  1. PBP Book
    By Bruce in forum Off Topic
    Replies: 83
    Last Post: - 4th October 2021, 13:55
  2. Extensions to PBP variables
    By John_Mac in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd October 2009, 06:21
  3. Compiler differences between PBP 2.33 & 2.46
    By nikopolis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd May 2006, 20:01
  4. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th December 2005, 00:30
  5. PBP / XP Crash
    By pondindustrial in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 27th November 2005, 04:16

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts