Netduino home hardware projects downloads community

Jump to content

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


Member Since 20 Apr 2014
Offline Last Active Feb 23 2016 03:31 AM

Topics I've Started

Analog Outputs - Outputing varying voltages between 0v-3.3v

02 February 2016 - 12:46 PM

Does anyone know how to use the AnalogOutput ports? I'd like to be able to output voltages between 0v-3.3v using these ports.


I'm stuck at trying to initialize the ports. That is:

private AnalogOutput analogOutput = new AnalogOutput(Cpu.AnalogOutputChannel.ANALOG_OUTPUT_0);

Compiles ok, but I get an Exception at runtime. Exception message has no useful information. I've tried the other constructor overloads as well (with various values), but no luck.


I'm guessing the analog outputs have 8bit resolution? Also, if anyone knows, I'm guessing I could simply write values from 0-255 to get output voltages from 0-3.3v. Is this correct?

Wi-Fi Shield for Netduino Plus 2

26 January 2016 - 03:56 PM

I think it would be beneficial for those of us who have the Netduino Plus 2 to be able to have a tried and tested Wi-Fi shield that plugs into the Ethernet socket on the board (if that's even possible). Nonetheless, a tried and tested Wi-Fi shield would be a great product.


I'm not sure if there is a tried and tested Wi-Fi solution but I do like the TLS and SSL support built into the CC3100. Has anyone tried using the CC3100 with the Netduino Plus 2?

If referencing Wi-Fi assemblies - PWM doesn't work anymore

25 January 2016 - 04:43 PM

I have a simple project that uses PWM to dim and brighten the on-board LED.

 public class Program
        public static void Main()
            PWM led1 = new PWM(PWMChannels.PWM_ONBOARD_LED, 100d, 0.001d, false);
            while (true)
                for (var startValue = 4.712d; startValue < 10.995; startValue = startValue + 0.005)
                    double endValue = System.Math.Sin(startValue) * .5 + .5;                    
                    led1.DutyCycle = endValue;

This works as expected only if I don't reference the Microsoft.SPOT.Wireless.IEEE_802_15_4 assembly.


If I do reference this assembly then the PWM doesn't work. Just to be clear, I don't make any code changes. I simply add the assembly reference.


Has anyone else experienced this? Or could someone try this on their end to see if they get the same behavior ?


System.NullReferenceException occurred in Netduino.IP.LinkLayers.CC3100

21 January 2016 - 02:12 PM

I have an empty (no code) NetDuinoApplication project (VS 2015).


Running it, I get this exception

an unhandled exception of type 'System.NullReferenceException' occurred in Netduino.IP.Linklayers.CC3100


I don't have the Wi-Fi configured (Not able to figure out how to get that to work). The Wi-Fi light it yellow/orange).


What could be wrong? Also, how can I configure the Wi-Fi on the board?



Netduino 3 Wifi - Not seen in MFDeploy after Update to

21 January 2016 - 04:21 AM

Just got my Netduino 3 Wifi and attempted to apply the update. The first time I updated I could see my Netduino in the MFdeploy tool but I couldn't see anywhere to provide my wireless network credentials.


Anyway, I tried all sorts of things and eventually MFDeploy wasn't seeing my Netduino. So I decided to Erase the flash. I the saw my device (in Device Manager as "STM Device in DFU Mode" when powered on with the button pressed).


However, I did see my Netduino in the Netduino Update tool as Netduino 3 Wi-Fi. so I selected it and updated. I then saw the device in Device manager under "Other Devices" as Netduino 3 W-Fi but with an exclamation icon. I now don't see the device in MFDeploy (selecting USB or any of the others).


What can/should I do next?


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.