Ideas Test

2 VOTE

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 electronics.stackexchange.com question for an example: http://electronics.stackexchange.com/questions/145714/what-encoding-is-used-in-this-signal

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: http://www.ectech.in/p_12.htm

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jun 26 2018
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    26 Jun 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.