Connect with us

Invert PWM signal

Discussion in 'General Electronics Discussion' started by Ricperes, Jul 29, 2015.

Scroll to continue with content
  1. Ricperes

    Ricperes

    29
    0
    Jul 20, 2015
    Hello, I want to invert a pwm signal , how can do it ? thanks
     
  2. BobK

    BobK

    7,673
    1,684
    Jan 5, 2010
    Use an inverter, that is, a NOT gate.

    Bob
     
    Ricperes likes this.
  3. Ricperes

    Ricperes

    29
    0
    Jul 20, 2015

    But how can i do it? Can you show me a circuit please
     
  4. Colin Mitchell

    Colin Mitchell

    1,418
    314
    Aug 31, 2014
    Show me the PWM signal
     
  5. Ricperes

    Ricperes

    29
    0
    Jul 20, 2015
    like this
     

    Attached Files:

    • pwm.PNG
      pwm.PNG
      File size:
      3.4 KB
      Views:
      147
  6. Colin Mitchell

    Colin Mitchell

    1,418
    314
    Aug 31, 2014
    "Show me the PWM signal"
    "like this"

    I am asking you to show me how you are generating the signal as many circuits can be changed to produce an inverted signal and simply passing them through a transistor will invert the signal .
     
  7. Gryd3

    Gryd3

    4,098
    875
    Jun 25, 2014
    Not much anyone can do beyond this... Bobk mentioned it further up, and Colin is trying to give you more specific help based on the actual circuit you have. (Which you have not shared)
    [​IMG]
     
    Ricperes likes this.
  8. Ricperes

    Ricperes

    29
    0
    Jul 20, 2015
    Sorry, I generating the signal for the arduino an i want a circuit to invert this signal
     
  9. Gryd3

    Gryd3

    4,098
    875
    Jun 25, 2014
    ... Generating the signal 'for' or 'from' the Arduino?

    You know you could just program the arduino to output the PWM signal in the fashion you want...
     
  10. BobK

    BobK

    7,673
    1,684
    Jan 5, 2010
    If the signal is generated by software, simply reverse the instructions that turn it on vs the ones that turn it off.

    Bob
     
  11. Gryd3

    Gryd3

    4,098
    875
    Jun 25, 2014
    Logic at it's finest ;)
    Stand by for code example requests.

    Show us your program, and we can take another look.
     
  12. hevans1944

    hevans1944 Hop - AC8NS

    4,376
    2,046
    Jun 21, 2012
    Oooh! It's not a program if it's Arduino, it's a sketch! Lemme see if the cookbook has a recipe for PWM inversion...
     
    Arouse1973 likes this.
  13. Gryd3

    Gryd3

    4,098
    875
    Jun 25, 2014
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-