PWM (ECCP) - piezo-sounder directly connected to half-bridge on PIC


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default Re: PWM (ECCP) - piezo-sounder directly connected to half-bridge on PIC

    ...I would recommend to have the outputs at the same logic level...
    When the souder is not used, I set CCP1CON register to 0.

    Is this okay?
    Roger

  2. #2
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default Re: PWM (ECCP) - piezo-sounder directly connected to half-bridge on PIC

    ....hum, sorry for my silly question

    Just measured the ports and they need to be reset.

    Thanks for noticing Ioannis
    Last edited by flotulopex; - 9th October 2015 at 07:17.
    Roger

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default Re: PWM (ECCP) - piezo-sounder directly connected to half-bridge on PIC

    As you observed Roger, you must be in luck to have both ports at the same level. They will be in a random state.

    Ioannis

Similar Threads

  1. Replies: 4
    Last Post: - 7th June 2011, 06:02
  2. PWM with PIC16F88 controlling h-bridge
    By deimantas in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 20th May 2010, 23:03
  3. Half-bridge PWM with a 16F684 ?
    By Byte_Butcher in forum General
    Replies: 7
    Last Post: - 17th January 2010, 23:18
  4. 18F4620 HPWM Half Bridge Mod problem
    By showtime in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 2nd November 2007, 13:55
  5. Using HPWM in half bridge mode on 16f690
    By Chris Barron in forum mel PIC BASIC
    Replies: 0
    Last Post: - 29th December 2006, 12:18

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