Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

PWM shape


  • Please log in to reply
3 replies to this topic

#1 Flores

Flores

    Advanced Member

  • Members
  • PipPipPip
  • 64 posts

Posted 23 August 2010 - 01:02 PM

Hi, I've been experimenting with the PWM signal, and connected it to my soundcard to see what is happening. What I've found is that the PWM signal is some sort of sinus, and if I change the duty cycle the amplitude goes up. I was expecting a block form signal.. and the duty cycle varies the on width time of the block. Is my soundcard fooling me (I kwow I should get a scope) or is the signal a sinus wave? Thanks

#2 Chris Seto

Chris Seto

    Advanced Member

  • Members
  • PipPipPip
  • 405 posts

Posted 23 August 2010 - 01:28 PM

I can't vouch for any weird PC oscilloscope software, but that's not right. I have a real O-Scope and the signal looks perfectly fine. I know because I did a lot of testing with it when I did the ESC and servo drivers I posted. :) EDIT: The PWM signal will always be either a 'pulse wave' or a 'square wave'. It will never be a sine wave or anything like that.

#3 Flores

Flores

    Advanced Member

  • Members
  • PipPipPip
  • 64 posts

Posted 23 August 2010 - 02:05 PM

he he.. okay thanks.. gonna buy a scope.. I promise.

#4 Chris Seto

Chris Seto

    Advanced Member

  • Members
  • PipPipPip
  • 405 posts

Posted 23 August 2010 - 02:14 PM

Rigol and Picoscope both make very nice scopes (with probes) for under $400 from Saelig.com. I'd just go with them and be done it with. It's not even worth trying to use any of those PC sound card scopes. You aren't going to get good data from them anyway. :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.