Pulse-Width Modulation, or PWM, basically creates a pseudo analog voltage. In reality, PWM is a square wave where the percentage of the time where the signal is up versus the time the signal is down, called the duty cycle is varied, therefore and in effect one would get a variable voltage. In the following example, we will create a variable duty cycle; using the PWM capabilities of an Arduino compatible device called Uno32. This board is officially called "chipKIT Uno32 Prototyping Platform" and it is based on Microchip® PIC32MX320F128 and an original Arduino development environment. National Instrument is the parent company of Digilent®, the original manufacturer of this board. The board runs at 80 Mhz, but it has a 32 bit MIPS processor. As mentioned previously, the real signal produced is a square wave and to see the actual waveform we will connect the output to an oscilloscope.
Argentina
Australia
Austria
Belgium
Brazil
Bulgaria
Canada
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
France
Germany
Great Britain
Greece
Hungary
India
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Russia
Singapore
Slovakia
Slovenia
South Africa
South Korea
Spain
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine
United States