- Netduino Forums
- → F4r14's Content
F4r14's Content
There have been 3 items by F4r14 (Search limited from 09-June 23)
#17979 Class Library for WinForms App
Posted by F4r14 on 14 September 2011 - 10:53 AM in Visual Studio
#17982 Class Library for WinForms App
Posted by F4r14 on 14 September 2011 - 11:41 AM in Visual Studio
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.
#17997 Class Library for WinForms App
Posted by F4r14 on 14 September 2011 - 03:10 PM in Visual Studio
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.
- Netduino Forums
- → F4r14's Content
- Privacy Policy