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

.net micro framework windows form


  • Please log in to reply
7 replies to this topic

#1 Eppetiano

Eppetiano

    Member

  • Members
  • PipPip
  • 10 posts

Posted 06 May 2012 - 05:45 PM

Hello all, does anyone knows how to create a windows form using .net micro framework, in order to build an user interface? I have made a nice temperature sensor solution (netduino plus application) using visual studio 2010, and now i would like to create a user interface window with buttons and options to present temperature values to user. Is it possible? Thank you very much?

#2 Mario Vernari

Mario Vernari

    Advanced Member

  • Members
  • PipPipPip
  • 1768 posts
  • LocationVenezia, Italia

Posted 07 May 2012 - 05:22 AM

Not sure about your goal. Are you asking about a PC-based software communicating with a Netduino, or a pure-Netduino project which embeds a LCD screen?
Biggest fault of Netduino? It runs by electricity.

#3 Magpie

Magpie

    Advanced Member

  • Members
  • PipPipPip
  • 279 posts
  • LocationAustralia (south island)

Posted 07 May 2012 - 06:31 AM

Hi

I think Eppetiano is asking about the first one, a pc client.
You just use visual studio to make a Windows Form application, that runs on your PC.

So you need to make two solutions
Your netduino solution which captures the data and communicates.
And your windows form solution with runs as an exe on your pc, displays data and communicates.

You have to have some sort of communication protocol common to both solutions to transfer the data between the Netduino Plus and the Form application.

You could use XML over http.

I think Neon.Mika webserver would have an example of this.









STEFF Shield High Powered Led Driver shield.

#4 matthew.lazarow

matthew.lazarow

    New Member

  • Members
  • Pip
  • 4 posts

Posted 28 March 2013 - 12:22 AM

Hello, I'm facing a similar situation now and was just curious how you made out with your project.  I'm trying to demo a project with a real time display (hopefully through a windows forms control) but ran into the same framework compatibility issues.



#5 NooM

NooM

    Advanced Member

  • Members
  • PipPipPip
  • 490 posts
  • LocationAustria

Posted 28 March 2013 - 01:18 AM

use the normal .net framework for windows.

 

 

app made in visual studio express.



#6 JerseyTechGuy

JerseyTechGuy

    Advanced Member

  • Members
  • PipPipPip
  • 870 posts

Posted 28 March 2013 - 04:39 AM

My Pandora's Box project does this.  Basically, I wrote a Windows Client in .NET and have my .NETMF software that runs on the Netduino.  My .NETMF program also runs the NeonMika web server.  Using JSON my Windows Application and my NETMF software communicate back and forth via HTTP.  The Windows Application is able to ask the Netduino for sensor readings and they are returned from the Netduino using JSON which is parsed and displayed by the Windows Client.  Originally I started doing this via Serial to USB using an FTDI card but I found this was very slow.  HTTP over the Ethernet connection was much faster.



#7 NeonMika / Markus VV.

NeonMika / Markus VV.

    Advanced Member

  • Members
  • PipPipPip
  • 209 posts
  • LocationUpper Austria

Posted 28 March 2013 - 06:09 AM

Hi guys.

Thanks dave for mentioning the NeonMika.Webserver.

I will upload a basic communication client for my webserver this evening (for everyone not from europe: it'S 7am at the moment :P)

It is pretty easy, and my GUI application will provide some classes for easy communication with the NeonMika.Webserver.

Probably you want to have a look at it, i think it's a great way to make data available over ethernet.

 

Greets, Markus


NeonMika.Webserver
> Control your N+ and write webservice methods easyily
> Receive data from you N+ (in XML or JSON)
> Browse the SD on your N+ directly in the browser and d
own - and upload files

 

If you need help with NeonMika.Webserver, please just leave a note in the thread and/or contact me via Skype :)

 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
--- Mistakes teach you important lessons. Every time you make one, you are one step closer to your goal. ----
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------


#8 NeonMika / Markus VV.

NeonMika / Markus VV.

    Advanced Member

  • Members
  • PipPipPip
  • 209 posts
  • LocationUpper Austria

Posted 28 March 2013 - 07:53 PM

Reporting back in:

After one day full of nice work i can present the NeonMika.NetduinoControl as well as my client library for the NeonMika.Webserver.

 

http://forums.netdui...rclientlibrary/

 

Building up on this it should be easy for you to expand it to your needs :)

 

Greets, Markus


NeonMika.Webserver
> Control your N+ and write webservice methods easyily
> Receive data from you N+ (in XML or JSON)
> Browse the SD on your N+ directly in the browser and d
own - and upload files

 

If you need help with NeonMika.Webserver, please just leave a note in the thread and/or contact me via Skype :)

 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
--- Mistakes teach you important lessons. Every time you make one, you are one step closer to your goal. ----
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------





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.