Navigation

    Welcome to the Pycom forum

    Pycom Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. pwm

    • B

      PWM resolution
      Discussion • lopy wipy pwm resolution • • binux

      3
      0
      Votes
      3
      Posts
      611
      Views

      B

      @seb Thanks for pointing out!
    • Measure Pulse width of PWM waveform
      Discussion • lopy frequency pwm pulse counter pulse • • shridattdudhat

      3
      0
      Votes
      3
      Posts
      1049
      Views

      @robert-hh said in Measure Pulse width of PWM waveform: UART2 or UART3 hey, robert Thank you for reply, We will try UART for the same.
    • PWM frequency
      Discussion • frequency pwm max • • RobTuDelft

      2
      0
      Votes
      2
      Posts
      813
      Views

      @RobTuDelft The comment in the example is wrong. Maximum is 19455. For an input value between 19456 and 19531 you'll get 19531 Hz. Generally, the precision is low at the higher frequencies. So specifying a value of 19000 give 19011 Hz, 19200 -> 19230. So it looks as if the "real" periods are multiples of a small value like 200 ns.
    • C

      Counting raising edges per second
      WiPy 2&3 • interrupt pwm counting • • cts

      2
      0
      Votes
      2
      Posts
      758
      Views

      @cts WiPy supports a Pin interrupt, which can be triggered with the rising edge. Look in the documentation for "Pin". And is has a timer module, which could be used for setting the gate time. Look in the documentation at "Timer". However, the precision and speed is very limited. Without testing, I would assume that it works reliably only for frequencies below 1 kHz, with a uncertainty of the gate time of about 1 ms. I
    • MG996R + PWM 3V3 **SOLVED**
      WiPy 2&3 • pwm servo wipi • • livius

      5
      0
      Votes
      5
      Posts
      1975
      Views

      @RobTuDelft 5V i use 2N7000 NMOSFET transistor for level shifting for testing for final i use smd BSS138
    • H

      machine.time_pulse_us not in 1.8.6?
      Discussion • wipy 2.0 pwm 1.8.6 • • happyday

      3
      0
      Votes
      3
      Posts
      1142
      Views

      H

      Thank you. I am grateful for your reply. I started to use the pin's capability of callback. It is unfortunate the pwm call is not supported yet in the documentation. What is the best way to report bugs? If this is true, it is confusing to users of Pycom.
    • Example PWM: MarioBros
      Projects • pwm buzzer • • vruizvil

      1
      2
      Votes
      1
      Posts
      1518
      Views

      No one has replied

    • 1 / 1