This simple circuit is capable to convert a TTL/CMOS PMW signal to an analog signal and it can be used as an extension shield for Arduino