Tag Archives: Tutorial


Netduino Day 1: Basic Input and Output

We will start our Netduino tutorial series with a very basic project of flashing an LED. The objective of this project is to explore basics of Netduino I/O pins as well as to make sure that everything is setup correctly, including software installation and hardware setup. In this project, we will use an Analog pin to read a potentiometer’s analog output, and a digital pin to flash an LED. The frequency of LED blinking is varied based on the potentiometer output. It will blink at an interval of 10 milliseconds to 1000 milliseconds based on the wiper position of the potentiometer. In Netduino, you can set the range for 10-bit ADC output of an analog port.Writing code will be carried out in Visual Studio with C# as programming language.

Netduino based Flashing LED

Read more

Getting Ready for Netduino / Netduino Plus Tutorials

Netduino

There are a few things that need to be done besides simply connecting the Netduino to the computer. I will be using Netduino Plus for the tutorials however Netduino and Netduino Plus are more or less the same for our tutorials. Let’s first list all the necessary tidbits:

  • Microsoft Visual Studio (C# or VB) Express 2010

 

  • .NET Micro Framework SDK v4.1

 

  • Netduino SDK v4.1.0

 

  • Netduino or Netduino Hardware

 

  • Basics electronics board and components.
  • It’s hard to list but at the minimum we will need a computer (of course), breadboard, connecting wires, LEDs, resistors, etc.

 

Once you have all these installed/accessed, plug your Netduino to your computer, and start your Visual Studio.  When Visual Studio is started for the first time it may ask you a few things, such as the language (VB or C#) that you are comfortable with.

 

Visual Studio

Visual Studio (VS) that I have installed is configured for CSharp.NET so when I start a Visual Studio and try to create a new project, it automatically selects CSharp (C#) section. To create a new project, from VS go to File > New > Project, this will display a New Project file open dialog-box, as shown below. Under C# and Micro Framework, highlight Netduino Application or Netduino Plus Application and give Name, Location then click OK button. (I will be using Netduino Plus.)

New Project Window Visual Studio

New Project dialog of VS

Read more