Netduino home hardware projects downloads community

Jump to content


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

Raspberry Pi and dot Net MicroFramework

raspberry pi

  • Please log in to reply
4 replies to this topic

#1 Dr Who

Dr Who

    Advanced Member

  • Members
  • PipPipPip
  • 261 posts
  • LocationNYC

Posted 17 November 2013 - 12:01 AM

Hello!

Theoretically this belongs over on the Mono forum area, but it really belongs anywhere.... Mark offered a suggestion as it applied to my problem of configuring a Netuduino to communicate with a Raspberry Pi. The idea came from one individual's idea to use his as an HDMI shield for an Arduino.

 

Inside this blog http://blogs.msdn.co...ve/2013/06.aspx happened to be two references. One was to a library and header for the Pi itself. The second was this one for the Visual Studio https://github.com/c...aspberryPi.Net/ it builds properly on Visual Studio 2012 Desktop express. And not on Visual Studio 2010 Express. As it happens that second one, a complaint is for C Sharp of course. There are issues with it.

 

The author shows an example, I managed to get it to build on VS2012, but since I do not have any of the SDK pieces installed for Visual Studio 2012 I didn't manage to get it built that way, it was built as a regular one.

 

Strangely enough it worked via mono on the Pi.

 

So the question now becomes, what happens when someone installs the SDK pieces for Visual Studio 2012 and did not remove the ones for Visual Studio 2010?

 

And suggestions are appreciated for at least being able to build the simple blink example in VS2010 since that's the one release of Visual Studio for building stuff on MicroFramework I understand.


Edited by Dr Who, 18 November 2013 - 05:35 AM.

  • Claiskessed likes this

Doctor Who
"This signature does not exist!"

#2 mcinnes01

mcinnes01

    Advanced Member

  • Members
  • PipPipPip
  • 325 posts
  • LocationManchester UK

Posted 17 November 2013 - 02:58 PM

I use VS2012 with no issue, you can get the 4.3 SDK from the downloads area.

 

Multiple versions of VS, .NET and the SDK should run happily together on the same PC. Just remember to target the correct version in your project.

 

hth

 

Andy



#3 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 17 November 2013 - 09:32 PM

Hi Dr Who,

 

You can install multiple versions of Visual Studio side by side, no issues there.

 

With the .NET MF and Netduino SDKs...the newer versions include support for older boards, so you'll want to uninstall the old version before installing the newest version.  The Netduino SDK installer will automatically uninstall older versions of itself whenever you upgrade.

 

Chris



#4 Dr Who

Dr Who

    Advanced Member

  • Members
  • PipPipPip
  • 261 posts
  • LocationNYC

Posted 18 November 2013 - 12:01 AM

Hi Dr Who,

 

You can install multiple versions of Visual Studio side by side, no issues there.

 

With the .NET MF and Netduino SDKs...the newer versions include support for older boards, so you'll want to uninstall the old version before installing the newest version.  The Netduino SDK installer will automatically uninstall older versions of itself whenever you upgrade.

 

Chris

 

Understood. However here's the kicker, the Netduino won't be involved until after I've mastered getting the Pi to believe in mono and to display things via the GPIO connections.

 

I'm more concerned with installing the bits that match the latest SDK as it applies to the Visual Studio, in this case 2012. I'm reasonably sure that I can properly target the right one, and probably will be using an N-Plus 2 as the candidate in this mad dance of a Raspberry Pi and a Netduino device. I don't think the Mini has the talent for doing so, and I'm definitely certain. also extremely certain that the regular Netduino does not.

 

Which is why I asked about installing the SDK from the Dot Net MicroFramework places for Visual Studio 2012, when the release is present for the Visual Studio 2010 one.

 

If necessary I've already selected a target machine who's related to this one, for taking over the entire activities for VS2012 and the framework for 4.3.

 

However did you both examine the cited blog and Github location?


Edited by Dr Who, 18 November 2013 - 04:31 AM.


Doctor Who
"This signature does not exist!"

#5 Dr Who

Dr Who

    Advanced Member

  • Members
  • PipPipPip
  • 261 posts
  • LocationNYC

Posted 19 November 2013 - 03:40 AM

Hello!

Something else I forgot to mention, the original article here :http://codeandlife.c...no-hdmi-shield/ explains the whole business. The reason why the two are connected via level shifter and even the motivation behind it.

 

In my case I'm leaning towards swapping the Arduino for a Netduino, and then re-writing the sketch from its C++ style methods to C# for the Netduino and having the two communicate.

 

He gives a reasonably good write up on the series of events, those include what was done previously, and the methods used to connect the two devices. He does indeed use the serial port on the Pi, (I have mine working as a console) and the one on the Arduino for this. 


Edited by Dr Who, 19 November 2013 - 04:07 AM.


Doctor Who
"This signature does not exist!"




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.