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.

Piotr Szmyd's Content

There have been 3 items by Piotr Szmyd (Search limited from 27-April 23)


By content type

See this member's

Sort by                Order  

#43331 Shield Base - PWM on PIN_10 not working?

Posted by Piotr Szmyd on 13 January 2013 - 09:27 PM in Netduino Go

Works flawlessly now (with Shield Base beta 5 firmware). Thanks a million!




#42330 Shield Base - PWM on PIN_10 not working?

Posted by Piotr Szmyd on 28 December 2012 - 05:18 AM in Netduino Go

Hi Chris,

 

Thanks! I've been here for a while, although reading and learning only :)

 

Nope, unfortunately, D10 pin alone is not working either... Is there something I could change on my side to make it work for now?

 

Cheers,

Piotr




#42323 Shield Base - PWM on PIN_10 not working?

Posted by Piotr Szmyd on 28 December 2012 - 02:20 AM in Netduino Go

Hi,

 

Have anyone tried to run two separate servos using Shield Base PWM_PIN_D9 and PWM_PIN_D10? I can't get mine to work (either using the Adafruit Motor Shield or connecting directly to the Shield Base). Running beta 4 firmware on the 'upgraded' SB version.

 

Every other combination with 2 PWM channels works flawlessly - only that PWM_PIN_D10 (channel 3, iirc) does not seem to work in any case. 

Read all topics on that I could find here and started losing hope to get that stuff working :(

 

Code is nothing fancy:

Microsoft.SPOT.Hardware.PWM servo1 = new Microsoft.SPOT.Hardware.PWM(shieldBase.PWMChannels.PWM_PIN_D9, 20000, 1500, Microsoft.SPOT.Hardware.PWM.ScaleFactor.Microseconds, false);Microsoft.SPOT.Hardware.PWM servo2 = new Microsoft.SPOT.Hardware.PWM(shieldBase.PWMChannels.PWM_PIN_D10, 20000, 1500, Microsoft.SPOT.Hardware.PWM.ScaleFactor.Microseconds, false);

 

 

with changing duration at timer ticks, based on potentiometer value (same for both servos).

Tried running it in a single thread and in two separate threads - no difference.

 

Any clues?

 

Best,

Piotr

 





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.