Need help with PC-Netduino communication
#1
Posted 31 August 2010 - 03:48 AM
Communicating with the Internet is not an issue, but communication between PC and Netduino is.
I found this serial port communication, but it requires a special serial cable from Netduino Pins.GPIO_PIN_D6 and Pins.GPIO_PIN_D7 to the PC serial port.
http://forums.netdui..._1072#entry1072
On the Arduino, I can send/receive through a virtual COM port through the usb port. How do I do this on the Netduino?
#2
Posted 31 August 2010 - 05:26 AM
#3
Posted 31 August 2010 - 06:16 AM
I'd be happy to beta test it. :-)We're working up a sample doing this through an HID USB connection...but if you use USB for communication you'll need to use D0/D1 for debugging (using the serial firmware).
...
You _can_ send data from your Netduino to your PC using Debug.Print--it's just the other direction (PC to Netduino) that's tricky.
Also, how do I capture Netduino's Debug.Print output from a .NET app running on the PC?
#4
Posted 31 August 2010 - 06:24 AM
I'd be happy to beta test it. :-)
Also, how do I capture Netduino's Debug.Print output from a .NET app running on the PC?
Your enthusiasm is really fantastic. We'll post the HID code here on the forums in the next little while. No dates yet, but we're working on it...
To capture the Debug.Print output in a .NET app, you'd probably need to use the MFDeployEngine library. You can view the output in MFDeploy by pressing F5 to create a connection to a Micro Framework device.
#5
Posted 11 November 2010 - 08:35 PM
#6
Posted 11 November 2010 - 09:37 PM
Any update on the HID project yet?
Is there a spot we can go to get updates. I would be interested in being a beta testers as well.
Hi pjnowak,
Welcome to the Netduino community!
We're close, but not quite there. The new firmware which allows you to switch between USB and serial deployment (v4.1.0.5) is done. The USB HID code for PC and device is done. The final piece if updating the Atmel USB code in .NET MF to support the custom communication channel; it'll take a bit to get that done (between the community, us, Microsoft, and Atmel) but a few of us are hacking away at it still...
Thanks for your enthusiasm! I'll post here when we have some code to play with.
Chris
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users