40 kHz wave


Results 1 to 13 of 13

Thread: 40 kHz wave

Threaded View

  1. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Nop! HPWM will not do the job in this case... look in the PBP manual for the specific limitation on different crystal speed.

    in your case you must write directly to the internal register related by the PWM module. look section 11 of the datasheet and look to the Milestag's example. I'm not a fan of HPWM myself too.

    555's are not as this bad.. it's working great but it's still a RC oscillator ... like the PIC internal one. So both will shift a litlle bit with the temperature variation.

    There's still some easy circuit to build with some CMOS inverter OR Route the CLKOUT of the PIC to a frequency divider OR.... OR...
    Last edited by mister_e; - 11th December 2005 at 10:17.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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, 14:39
  2. 40 KHz burst
    By aherrera in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 25th November 2009, 23:36
  3. What's the best way to output 30 to 40 kHz from a 12F683 pin?
    By fizyxman in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 1st June 2009, 01:08
  4. Sine wave
    By Darrenmac in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 18th May 2009, 04:31
  5. PIC 16F877 I2C communications
    By sigmoideng in forum General
    Replies: 7
    Last Post: - 13th July 2007, 11:28

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