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.

tim c

Member Since 20 Nov 2012
Offline Last Active Apr 30 2015 01:28 PM
*****

Posts I've Made

In Topic: Using PWM with NetduinoPlus2

09 July 2013 - 01:32 PM

Hi 

Now I have a new question. 

 

Servo works well with your code Tim, if I conect Yellow to I/O pin 5 and Black to NP2 Ground and Red to Np2 +5v.

 

But if I conect  to  external power the servo, it does not work. Red to external + 6v and Black to external " - ".

I have also tried, Red external +6v and Black external " - " plus I have linked the external " - " to the NP2 Ground so as to use a common " - ".  Still does not work.

 

What could be the problem.?  :)

 

My servo is a HS-5645MG .

This thread might help.

 

http://forum.arduino...?topic=117673.0

 

I have not hooked up a server to external power alone. I have always used this: http://www.adafruit.com/products/815


In Topic: RGB Led using PWM

02 July 2013 - 02:39 PM

There was a naming change between 4.1 and 4.2 and Netduino/N2/N+/N+2. Try the sample in this forum post and see if it works for you:

 

http://forums.netdui...led-pwm-sample/

 

http://forums.netdui...-netduinoplus2/

 

IIRC the change had to do with how you address the PINS.

 

led_r = new PWM([color=rgb(255,0,0);]PWMChannels.PWM_PIN_D9[/color], 100u, 0u, PWM.ScaleFactor.Microseconds, true);

 

Tim


In Topic: Using PWM with NetduinoPlus2

18 June 2013 - 03:16 PM

Thank you very much Tim for your reply. That is quite a bit of code to go through. just to verify are you using the N+2 with the 4.3 firmware? According to what i found in my research the coding is a little different with PWM for that board and firmware update. When ive figured out your coding you supplied ill update you if i've figured it out. Thank you again.

 

If you look at the sample NetduinoPWMLED4.2 it tells you how to hook up a simple LED to D10 and GND and uses PWM to cycle the LED brightness. I loaded the project and then changed it to .NET MF 4.3 and it ran fine on my N+2 with 4.3 loaded.


In Topic: Using PWM with NetduinoPlus2

17 June 2013 - 01:42 PM

See if this works for you: http://sdrv.ms/1al9Ph1

 

NetduinoPWM4.2.zip

 


In Topic: Looking for a few ninja code contributors...

24 May 2013 - 01:19 PM

You guys are amazing. I'm setting up a repo in BitBucket but have a question: Do you prefer Mercurial or Git? We've moved to Git for all of our new repros--but the tools for Mercurial are so much nicer. Is everyone okay with Git? If not, we can use Mercurial. Also...please post or PM me your BitBucket username so I can explicitly add you to the repo permissions. This is shaping up to be an awesome tool! Chris

Any update on this and SCC?


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.