PWM Output.

hello.

I have been working on a small project.
The problem i face is that my arduino output on the PWM lines have a range of 0.6V to 2.4V.
Why does this happen?
Isn’t the PWM output suppose to be 5V with the On duration varied according to the analog write value specified.?
How do i Make these pins work the way they should (0 to 5V)?

Any inputs will be appreciated…
regards.

The problem i face is that my arduino output on the PWM lines have a range of 0.6V to 2.4V.

No, the voltage is 0 or 5V. All that PWM does is turn the pin on and off very rapidly. If some device with inertia uses the PWM output, the voltage can appear to be a variable from 0 to 5V. If the device using the PWM output requires a lot of current, it will cause an apparent voltage drop.

First question, how do you measure the voltage? Second, what's connected?

Hi,

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Can you please post a copy of your sketch, using code tags?
They are made with the </> icon in the reply Menu.
See section 7 http://forum.arduino.cc/index.php/topic,148850.0.html

It is really the only way we can give you good advice if we have the above requirements.

Have you tried just running one of the example PWM sketches in the IDE.

Hope to help… Tom… :slight_smile: