FREQOUT 4mhz


Closed Thread
Results 1 to 21 of 21

Thread: FREQOUT 4mhz

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: FREQOUT 4mhz

    Ok Richard thanks. I'll try SOUND and stick with it and yes, those transducers are something I've never dealt with -- they're a pain. Going to try something else.

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: FREQOUT 4mhz

    Do you think these will work on a PIC output with the SOUND command at 2300 hz ? At least they're 5V.

    https://www.ebay.com/itm/Gfortune-15...UAAOSwErFZ0-ze


    Having problems getting piezo diaphragms and driver circuits to be very loud. barely hear them in fact. --Thank you

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: FREQOUT 4mhz

    Those are self resonating. They will buzz at 2300hz when 5 volts is applied. Look for "transducer".

    Something like this
    https://www.ebay.com/itm/AT-12-Piezo...gAAOSwZd1Vewuj

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: FREQOUT 4mhz

    I realized that after posting -- thanks. Will try that part you suggested. Can't believe something so simple has been such a headache.

    Thanks.

  5. #5
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: FREQOUT 4mhz

    Just to try a piezo to see if it works, just use the HPWM 1,127,2000 command and connect your piezo to the PWM output. I found some processors the SOUND command doesn't work so well for. I would be chasing my tail trying what you are with what I was working on.

    Once you know the piezo is good for a PWM output, then work on the SOUND software. My opinion, and I reserve the right to be wrong.

  6. #6


    Did you find this post helpful? Yes | No

    Default Re: FREQOUT 4mhz

    Quote Originally Posted by Michael View Post
    I realized that after posting -- thanks. Will try that part you suggested. Can't believe something so simple has been such a headache.

    Thanks.
    It also helps to place a 1K resistor in parallel with the transducer when driving with a logic signal. Like the others said use HPWM. Sound and Freqout are blocking commands.

  7. #7
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: FREQOUT 4mhz

    You could eliminate any doubt with the pic by oscillating port b yourself,
    and connecting an LED to any of the other port b pins, and changing the delay value.

    Code:
    buffer var byte = 0
    TRISB = 0
    
    cycle:
    
    if buffer == $00 then
    buffer = $FF
    else
    buffer = $00
    endif
    pauseus 1
    PORTB = buffer
    
    goto cycle

Similar Threads

  1. FREQOUT command
    By Art in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th February 2015, 06:21
  2. Freqout ? ? ?
    By azmax100 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 5th March 2009, 00:39
  3. bootloader Freqout problems
    By handgio in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 5th December 2007, 13:38
  4. FREQOUT - PWM question
    By Etcho in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 25th February 2007, 23:51
  5. FREQOUT delays
    By Squibcakes in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 6th December 2003, 23:49

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