PWM interpreter?

Steve's picture

Offline

Joined: Nov 10, 2020

Replies: 11
PWM interpreter?
November 17, 2020 - 5:11pm

There are a lot of projects using PWM, but I don't see any that actually interpret a PWM signal (like from an RC controller) and turn it into data you can use to program a PIC MCU with.

Of couse you can interpret the PWM with your oscilloscope but how do you easily turn it into something you can program an MCU to duplicate for your own custom control application?

Sourav Gupta's picture

Offline

Joined: Feb 12, 2018

Replies: 578

Did not get your point. Pulse width modulation is definiately a data as it is processed by analog devices and provide operations in more controlled manner. But what is the point between programming a microcontroller unit and Pulse Width Modulation?

Steve's picture

Offline

Joined: Nov 10, 2020

Replies: 11

there is some code on github for it but no one sells a device or program to interpret and record PWM signals from what I can see.

Does anyone know if a signal generator / counter can do this job?

Maybe some MCUs have this functionality built in to them.

Sourav Gupta's picture

Offline

Joined: Feb 12, 2018

Replies: 578

You need a dedicated PWM port or SPWM.