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

Netduino Run Application from PC (pass parameters to. EXE)


  • Please log in to reply
4 replies to this topic

#1 Sergio Ponce

Sergio Ponce

    Member

  • Members
  • PipPip
  • 10 posts

Posted 15 September 2012 - 08:40 PM

Excuse Ever have implemented an application to Netduino from a PC, you can? what happens is that I want to make an application that receives input parameters from the PC (console) and run actions from the Netduino, the Netduino course will always be connected to the PC. Anyone know, how you could do? because when I create the executable from Visual Studio, not working. Thank you.

#2 willgeorge

willgeorge

    Member

  • Members
  • PipPip
  • 25 posts

Posted 15 September 2012 - 08:59 PM

Excuse

Ever have implemented an application to Netduino from a PC, you can?
what happens is that I want to make an application that receives input parameters from the PC (console) and run actions from the Netduino, the Netduino course will always be connected to the PC.

Anyone know, how you could do? because when I create the executable from Visual Studio, not working.

Thank you.



Take a look at this. It may be what you need.
http://forums.netdui...tion-using-usb/

#3 Sergio Ponce

Sergio Ponce

    Member

  • Members
  • PipPip
  • 10 posts

Posted 16 September 2012 - 03:31 AM

Take a look at this. It may be what you need.
http://forums.netdui...tion-using-usb/


I served, I need help, some example.
or if it is possible or not?

:(

#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 16 September 2012 - 03:48 AM

Hi Sergio, The easiest way to do this is to use a USB-TTL serial cable. Plug the USB end into your PC and then attach the three TTL serial port wires (TX, RX, and GND) to pins D0, D1, and GND on your Netduino. Be sure that TX and RX are "swapped". Then you can use the SerialPort class and WriteLine/ReadLine commands to pass data back and forth to your PC. Chris

#5 Sergio Ponce

Sergio Ponce

    Member

  • Members
  • PipPip
  • 10 posts

Posted 16 September 2012 - 04:15 AM

Hi Sergio,

The easiest way to do this is to use a USB-TTL serial cable. Plug the USB end into your PC and then attach the three TTL serial port wires (TX, RX, and GND) to pins D0, D1, and GND on your Netduino. Be sure that TX and RX are "swapped".

Then you can use the SerialPort class and WriteLine/ReadLine commands to pass data back and forth to your PC.

Chris


estimated

thanks for the help, but not very clearly understand the idea. will have some print and / or some such.

I am new (just a couple of hours)

thanks




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.