Frequency to voltage converter


Closed Thread
Results 1 to 3 of 3
  1. #1
    carl_schell's Avatar
    carl_schell Guest

    Question Frequency to voltage converter

    Hi al. I'm new to this forum, but I was impressed by the content I've read so far.

    I am wondering if anyone has PBPro code for a frequency to voltage converter? I know I could use a F/V IC chip, but I have an application in mind in which I would like to use a 16F877 to do some basic data acquisition. I would be in debt to any help you could offer. Your new friend from Michigan in the US of A. Carl Schell

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    "Man can do anything if he will." - Maybe he should give it a go first...

    I threw this example together in five minutes flat. There's a hundred different ways of accomplishing what you want... this is just one. Use as a teaching aid, learn and build from it. Study in conjunction with MEL's PBP manual and the 16F877's Datasheet section 8.3 (PWM Mode).

    0-1023Hz input produces a correspondingly neatly linear 0-100% 10-bit PWM output. This PWM Output can be filtered (say via 10K Resistor first, then 1uF between that and Vss). You will generate your proportional voltage (0-5v in this case) across the Capacitor... buffer and scale it in a cheap op-amp for it to be useful and away you go.

    PS. You owe me a holiday...

    *smiles*
    Melanie
    Attached Files Attached Files

  3. #3
    carl_schell's Avatar
    carl_schell Guest


    Did you find this post helpful? Yes | No

    Talking

    That puts me back on track to where I am going Thank you for the tutorial...I will study it and I will learn from it...If you're ever in the States...you've earned free room and board...

    Thanks again Melanie ;

    Carl

Similar Threads

  1. high voltage high frequency H-Bridge
    By George in forum Off Topic
    Replies: 6
    Last Post: - 27th April 2009, 11:50
  2. Expanded Scale Voltmeter
    By Pic_User in forum Schematics
    Replies: 6
    Last Post: - 8th February 2008, 20:32
  3. Help with final project
    By OvERKiLL in forum General
    Replies: 4
    Last Post: - 15th December 2006, 20:35
  4. inaccurate frequency using TMR1 PI18F452
    By nkarpovich in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 14th October 2006, 16:22
  5. AD7391 digital to analog converter
    By srob in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 12th November 2005, 12:07

Members who have read this thread : 1

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