Arduino vs. Netduino vs. Raspberry Pi vs. Beaglebone Black (Part 2)

Netduino

NetDuino Plus 2
NetDuino Plus 2

The Netduino ecosystem should more appropriately be called the .Net Micro Framework (NETMF) ecosystem. The .Net Micro Framework is an open source subset of the .Net Framework created by Microsoft. NetDuino boards have the same pin configuration as the Arduino Uno, and are compatible with a large number of Arduino shields. The NetDuino is manufactured by Secret Labs LLC based in NYC. Secret Labs also hosts an active support forum. The full range of NetDuino hardware can be found on the NetDuino website. Additional NETMF hardware is available from GHI Electronics, including the Cerbuino. The Cerbuino is also compatible with Arduino shields. Most NETMF boards use a member of the STMicro STM32 family, or another ARM Cortex-Mx MCU. Despite using more powerful hardware NetDuino and Cerbuino boards are cost competitive with AVR based Arduino boards.

The real strength of the NETMF ecosystem is the .NET framework, and the Visual Studio IDE. Visual C# is the preferred development language. Visual Basic is also supported but to a lesser extent. Microsoft Visual Studio Express is available as a free development environment from here. The .Net Micro Framework is a comprehensive well documented development environment. The base documentation is provided by Microsoft and can be found here. This is a real advantage, in many other microcontroller development ecosystems documentation is inconsistent and functionality fragmented across multiple libraries with varying levels of support. NETMF contains support for advanced features not usually found in the base versions of other microcontroller ecosystems, such as: http servers, http clients, file access, XML, GUIs, firmware updates, communication protocols, etc.

Advantages: Multithreading support, Full debugging support, .Net API, Visual Studio IDE

Disadvantages: No default hard real-time support, large performance overhead due to interpreted code, large memory footprint, small community

Arduino vs. Netduino vs. Raspberry Pi vs. Beaglebone Black ( Part 1 )

Choosing a microcontroller for a project can be at once both daunting and exhilarating.
There are so many factors and variables to consider. Besides the obvious hard
factors of processor speed, number and type of IOs, unit cost, there are a
number of soft factors such as familiarity with tools and architecture, software
support, development environment, supported languages, library support, and
community support. Each microcontroller consists of a constellation of hardware
and software tools that compose its ecosystem. We will look at some of the most popular options available: the Arduino, the Raspberry Pi, the Netduino, and the Beaglebone Black.

Arduino

The Arduino ecosystem consists of a wide variety of Arduino compatible hardware, shields (add on boards) the Arduino IDE, and Arduino libraries. The Arduino board is really just a thin wrapper around Atmel’s AVR processor. One 16Mhz ATmega328, plus a USB interface, power regulators, and standard pinout equals an Arduino Uno. The Atmel processors supported by the Arduino software tools range from the ATTiny85 on the low end (Trinket,$8) to the Atmel ARM Cortex-M3 SAM3X8E (Arduino Due,$49) and ATMega2560 (Arduino Mega,$59 ) on the high end.

 

ArduinoTrinketGemma
Size comparison of AVR microcontroller boards

The current trend is to extend the upper end of the Arduino performance spectrum by combining an AVR processor with a higher end processor running a Linux variant on the same board. Examples of this “two for one” strategy are: The $80 YUN (ATMega32u4 + Atheros AR9331), the Tre (ATMega32u4 + TI Sitara AM3359AZCZ100 (ARM Cortex-A8)), and the $100 Udoo (Freescale i.MX 6 ARM Cortex-A9 + Atmel SAM3X8E ARM Cortex-M3 ). 

The Arduino software tools consist of the Arduino IDE, a multiplatfrom simplied development environment. The IDE is written in Java andruns on Windows, Linux, and Mac. The Arduino IDE supports a simplified version of C, derived from the Processing language. Under the hood, the development environment is comprised of various open source tools, such as avr-gcc, avrdude. Arduino compatible boards are programmed with a special bootloader that simplifies loading programs on to the Arduino. A more flexible and powerful alternative to the Arduino IDE is The Atmel Studio IDE produced by Atmel, the manufacturer of the AVR family of semiconductors. Atmel Studio can take full advantage of all of the microcontroller features. No bootloader is required, so all of memory is available for user programs. 

There are a wide variety of specialized and less popular development environments available. A list can be found on the Arduino Development Tools webpage.

Advantages: Low cost, large community, migration to professional IDE possible, hard real time, multiplatform IDE

Disadvantages: Primitive default IDE, pseudo C language, lack of multithreading, primitive / lack of debugging support, no built in graphics.

Welcome

Welcome to my technology blog. I’m Robert “Jack” Babb, software engineer, maker, and technology enthusiast. At the moment I am working on a variety of microcontroller projects. On the bench we have: a Beaglebone Black, a Raspberry Pi, a Netduino, and an assortment of Arduinos.