PWM Voltage

More
28 Sep 2010 04:32 #4378 by occesar_0
PWM Voltage was created by occesar_0
Hi

Through the hal oscilloscope, I got the following pwm signal:


But I need 5v of amplitude, I don't know why I only got about 1V, any idea?
Attachments:

Please Log in or Create an account to join the conversation.

More
28 Sep 2010 05:05 #4379 by jmelson
Replied by jmelson on topic Re:PWM Voltage
occesar_0 wrote:

Hi

Through the hal oscilloscope, I got the following pwm signal:


But I need 5v of amplitude, I don't know why I only got about 1V, any idea?

If you look at the vertical scale, is is not 1 Volt per division, it is 1 (unitless)/division. You are displaying a hal signal of bit type, so it has values of 1 and zero, only. What you get out of a parallel port pin depends on your parallel port, and the electrical loading on it. And, Halscope is not looking at the actual pin, only the hal signal that is being fed to the pin, on the software side. If you shorted the pin to ground, Halscope would never know that.

Jon

Please Log in or Create an account to join the conversation.

More
28 Sep 2010 16:06 #4389 by occesar_0
Replied by occesar_0 on topic Re:PWM Voltage
I really appreciate your answer so useful, I never thought about it, now I will try with an oscilloscope.

Thank you!

Please Log in or Create an account to join the conversation.

Time to create page: 0.108 seconds
Powered by Kunena Forum