30 October 2018

Getting started with IoT Netduino 3 ethernet a compatibility Arduino board

Getting started with Studio 3 ethernet


I think many of you may be familiar with Arduino and Raspberry Pi but today I would like to introduce you to an Arduino compatibility board "Netduino".
As the name starts with NET, it implies that there must be something related to .NET.
In fact, Netduino is a .NET micro framework microcontroller board which allows you to use C# and .NET to develop an IoT, smart home, or other kinds of electronic projects


  • There are some benefits of using Netduino
  • It is compatible with Arduino shields.
  • Most Arduino codes or examples work with Netduino but you need to convert codes to C# or change interfaces. However, it is easy to get an idea for getting started.
  • Use your favorite IDE and C#
  • Built-in debugging without additional devices, step through, step over, and breakpoints work the same way as you expect. Work with a high-level C# programming language
  • Built-in internet connection
  • Create classes, interfaces, reusable class library projects
Let's start coding on Netduino

Install the development tool

Visual Studio 2015 community

Install Visual Studio 2015 community edition. You can download from the following link.
Unzip the ISO file and launch the installation that you just downloaded and select a custom installation. Keep the default settings, then click next:

enter image description here

Change the default location for installation if you want.
enter image description here

Follow the installation and wait for several minutes until it finishes, then restart your computer.
enter image description here

.NET Microframework

Install the .NET Microframework. You can download it from the following link
enter image description here

NETMF Plugin for Visual Studio 2015

Install the NETMF Plugin for Visual Studio 2015. You can download it from the following link:

enter image description here

Netduino SDK

Install the Netduino SDK. You can download it from the following link.

enter image description here

Accept the driver alert.
enter image description here

Create a new project

Launch Visual Studio 2015 Community edition and log in with your Microsoft account, e.g. your-name@outlook.com.
After you logged in, in the menu bar of Visual Studio, select File > New > Project
In the template node, select Visual C# > Micro Framework > Console Application
Enter name: NetduinoBlink and you can save to the default location or pick other locations. Then click OK to create a new project.

enter image description here

Go to Solution Explorer window right click on the Reference node and click Add Reference. In the pop-up window, add these references:
  • Microsoft.SPOT.Hardware
  • SecretLabs.NETMF.Hardware
  • SecretLabs.NETMF.Hardware.Netduino

Writing simple codes

Open Program.cs and add the following code block:


Deploy the app to the board

Connect your Netduino board to your USB port. In Visual Studio, go to the solution explorer > select the NeduinoBlink project node > right click and select Properties

enter image description here

Select the NET Micro Framework tab > set the Transport option to USB > set the Device option to your connected Netduino board:
enter image description here

Press Ctrl + F5 or go to Debug > and select Start without debugging.
Wait a few seconds while your code is compiled and uploaded to the board.
After everything is done, you should have a blinking LED on your Netduino board.
enter image description here

Optionally, if you have a 0x80131700 build error while building the program, please try to install .NET 3.5 that contains .NET 2.0 from the following link:

credit