Wave Form Identifier


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    INaPickle's Avatar
    INaPickle Guest


    Did you find this post helpful? Yes | No

    Lightbulb Circuit Review

    Please be patient, this is my first PIC project and I have many stumbles/crashes ahead of me.

    500KHz to 1MHz FREQUENCY COUNTER & WAVE FORM IDENTIFIER

    Please refer to attached schematic (Don’t laugh!!!), I know I need to start using some sort of design software (suggestions welcome).
    See posts for problem statement; I’ll not repeat it here.

    OK, let me walk you through the thought pattern for the circuit attached:

    1.Set a Vref of ~4v on pin 5. This will be linked as a trigger to pin 13 CCP1, telling timer 3 to turn on and off at +4V (following the wave form).

    2.Pin 11 RC0, will be used to calculate the frequency and will be linked to timer1.

    3.Pin 13 CCP1, is used to compare the waveforms with their pre-determined waveform time values for sin, triangle, and square waves. Uses timer 3.

    4.LCD Screen, 4 bit. First line to display the frequency and second line to display the waveform ID.

    So, will this work or am I way off base?
    I prefer to work with a correct circuit before I attempt the programming learning curve.
    Thanks
    Attached Images Attached Images  

  2. #2
    INaPickle's Avatar
    INaPickle Guest


    Did you find this post helpful? Yes | No

    Unhappy Failed Attempt!

    OK, it doesn't look as though this project will become a reality. What a shame, I felt it was worth the effort. I can't determine if it is the circuit or the program, I even tried to dumb it down and just go for the frequency range reading only, NO luck! If anyone would like to help with any of the circuit or programming stuff just reply, and I'll evaluate it. Thanks

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink Input amp/limiter

    Hi, Pickles

    << I have many stumbles/crashes ahead of me.>> absolutely right !!!

    I think you've forgotten an input circuit ...as PIC 0/1 states specs are not exactly the values Mel gave you for shape detect ...

    Second problem ... that don't work for a 1:2 input freq range ... need to mesure the freq. before looking for the waveform ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. To Generate Sine Wave Using PCPWM of PIC18F4331 (Issue)
    By Cyborg in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 22nd March 2014, 13:39
  2. Sine wave
    By Darrenmac in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 18th May 2009, 03:31
  3. Generating 3-phase sine wave..
    By sirvo in forum mel PIC BASIC Pro
    Replies: 38
    Last Post: - 6th November 2008, 14:07
  4. Data --> Modulated squre wave ???
    By kevj in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th August 2007, 03:18
  5. square to sine wave help
    By TONIGALEA in forum General
    Replies: 6
    Last Post: - 2nd July 2006, 09:32

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