I want to use 1701 and 1452 to make a level detector to detect the signal strength,
but I don't know how to use blocks to make led brightness will follow the signal strength.
The led brightness level will follow the signal strength, if signal is stronger the led will more bright, the other side, the lower signal level will cause lower led brightness
(I think this may use the PWM to make led bright level)
any tips for making this function?
PWM can be done by comparing the signal in question to a ramp or triangle waveform. The example shown below performs this function. Incoming audio passes through a DC Block Filter to remove…
The triangle wave "carrier" signal sets the PWM min and max levels. Presently it ranges from exactly zero to one. If you raise this waveform off the floor by adding a small DC…
I follow your advise and I adjusted the pwm cell to this:
the adder is at the top side and it add with the sawtooth (after absolute value),
I am not sure this is correct, but it works!