User manual
Ausgabe 19.05.2017 Copyright by Joy-IT 13
5.3 Project 3: PWM Lightcontrol
PWM, short for Pulse Width Modulaon, is a technique, used to
translate analog signals into digital signals.
A computer is not able to output an analog voltage.
Er kann nur Digitalspannung ausgeben mit Werten wie 0V oder
5V.
Therefore, a high-resoluon counter is used, to code an analog
signal level, by modulang the occupancy rate of PWM.
The voltage and current is led by repeated pulse sequences to the component.
Every analog value can be decoded by PWM, if the bandwith is appropiated.
The value of the outputvoltage is calculated with the duraon of the on and o condions.
Voltage = (ON duraon / pulse duraon) * maximum voltage
PWM has many uses: control of lighntensity, control of motor speed etc.