Electronic – cheap alternative to AVRs that can run the .Net Micro Framework

.net-micro-frameworkmicrocontroller

Recently, I purchased a FEZ Panda and I've done some pretty cool stuff with it. Well, cool to me anyway. I recently had some ideas for things to do with LEDs and wanted to share them as kits. I see a lot of such kits utilizing small, cheap processors like the ATTiny13 or ATTiny85. Makes sense if it's just doing one thing with a small circuit that's simple. But I'm now hooked on using the .Net Micro Framework and love the fact that I can do everything from Visual Studio. For these little kits, I'm not opposed to using an AVR chip and writing in C, but was wondering if there was a .Net-enabled alternative. I've found some ARM7/ARM9 processors for around $5, but their package is rather difficult to solder onto a PCB for something as basic as a learning kit. Arent there any other form factors or other cheap alternatives that can be programmed using .NET MF?

EDIT: I'll also point out that there exist AVRs that come preloaded with the Arduino bootloader and they're cheap. These are also good chips to program with a single purpose and ship them with kits. I can't find a .Net MF enabled chip that I can do the same with.

Thanks in advance…

Best Answer

No. The price of a microcontroller running the .NET framework will always be greater than the price for a microcontroller with equivalent performance (or equivalent to the price of a micro with greater performance) which is programmed in assembly, C, or even using the Arduino tools.

When buying a microcontroller for the .NET framework, you pay for small transistors, you pay for more transistors, you pay for complexity, you probably pay for licensing a core developed somewhere else, and, since you're paying for all that, most manufacturers imagine that you'll want to pay for higher pin-count packages since your die budget supports them. If you did this in assembly or C, you could get equivalent performance and pay a lot less.

See also the following questions:

The first question in the list is very applicable to this question, it just discusses the suitability of the .NET micro framework as opposed to the pricing and programming which we're discussing here.

If you still want to use .NET, you think you can get acceptable performance out and you're going to be buying a significant number of parts (at least 1k, probably easier at 10k), you can do the same thing that the vendors of the FEZ parts do: Have it loaded at the factory. It costs somewhere in the region of a quarter apiece to program large files like the one you'll be working with.