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

Problem with PWM Setpulse

Problem with PWM Setpulse

  • Please log in to reply
2 replies to this topic

#1 Bernd

Bernd

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts
  • LocationGermany

Posted 01 January 2013 - 01:55 PM

Hello,

 

I want to control a servo directly over the NP, via the PWM Port10. So I write the following code sequence:

 

Servoposition1.SetPulse(20000, 1500)

 

But it doesn't work. So the Signal must be 20ms Peak To Peak and the duration must be 1.5ms ? Or not ?

So I have control the signal with an Oszi and it shows 40ms Peak To Peak and a duration of 3.8ms ?

Does anybody know there the problem is ?

 



#2 Bernd

Bernd

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts
  • LocationGermany

Posted 01 January 2013 - 07:58 PM

Ok I found the problem. I have done a firmware update and now it works correctly.

Does anybody know where I can find the Wiki Pages ?



#3 carb

carb

    Advanced Member

  • Members
  • PipPipPip
  • 352 posts
  • LocationCrystal River, Florida

Posted 01 January 2013 - 08:05 PM

Bernd,

 

Try http://wiki.netduino.com/






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.