Ideas Test


Add "digital PWM" decoding

For lack of a better term, it would be nice to have a decoder that interprets a short pulse as a one and a long pulse as a zero.

See this question for an example:

That example has a fixed frequency and the data is encoded as < 50% vs > 50% duty cycles.

A related protocol that would be nice as well is where the pulse is fixed and the gap-width varies to indicate the value (a digital variant on PWM), as with NEC code IR remotes:

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jun 26 2018
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    June 26, 2018 19:13

    Options similar to the existing serial decoder would be welcome. I am dealing with a signal that has a wide pulse as a start bit, then 8 data bits, then a narrow pulse as a stop bit. Wide/narrow should be configurale as 0/1 or 1/0, and the bit order should be configurable as LSB or MSB first.