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.

F4r14

Member Since 14 Sep 2011
Offline Last Active Sep 14 2011 04:07 PM
-----

Posts I've Made

In Topic: Class Library for WinForms App

14 September 2011 - 03:10 PM

Yes you could open a socket over TCP/IP and send data in both ways.
With a normal Netduino you could use a serial connection (can also be USB!) but it won't be using the Netduino API on the Windows PC; you should write your own transfer protocol and communicate from the PC to the app inside the netduino.


Just found an example using a "FTDI Basic breakout 3.3V". If i got it right it uses a Serial Port Emulator (PC) to receive the data sent from Netduino. It's a regular USB cable, right? So I would need a Netduino, the FTDI BB 3.3, USB cable, VCP driver and some lines of code for Netduino and PC app. Am I missing something?

[http://forums.netdui...t-code-review/]

Regards.

In Topic: Class Library for WinForms App

14 September 2011 - 11:41 AM

Hi F4r14 and welcome to the Netduino boards!

If I read this correctly you want a windows app controlling the Netduino-pins? That will be difficult; the Netduino runs code on it's own board without computer. So you deploy an application to the Netduino and will be executed there, not on the PC.

You could create a link, with a serial port for example, but then you need to code both a windows app and a netduino app.


Thank you for your quick reply. Yes, that was what i inteded. For some reason i got the idea i could access the pins state through USB using the code shown in the examples.
If i was using Netduino plus would i be able to send the data through TCP/IP? The methods used to program TCP/IP communication in Netduino are the System.Net.Sockets?
Regards.

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.