Computer + Netduino Integration
#1
Posted 24 August 2010 - 08:23 PM
The following details simple 2 way Communication with a Windows Forms App - Rudimentary packet handling has been implemented via inclusion of an additional byte to the beginning of the packet which details the length of the string to be sent to the Netduino.
Once received the device filters the incoming data and recreates the string. A simple switch statement is then used to trigger functionality.
To see it in action, check out the video here:
http://www.youtube.com/watch?v=7hgvBMmS5Tc
Netduino Serial 1.0.zip
I have attached the source to this post, hope its of help to someone, cheers, dyadica
#2
Posted 24 August 2010 - 09:16 PM
Hi, Chris has suggested that I post this here so here goes:
The following details simple 2 way Communication with a Windows Forms App - Rudimentary packet handling has been implemented via inclusion of an additional byte to the beginning of the packet which details the length of the string to be sent to the Netduino.
Once received the device filters the incoming data and recreates the string. A simple switch statement is then used to trigger functionality.
To see it in action, check out the video here:
http://www.youtube.com/watch?v=7hgvBMmS5Tc
Netduino Serial 1.0.zip
I have attached the source to this post, hope its of help to someone, cheers, dyadica
So how did you hook this up to your serial port? Did you use a serial cable and just take the appropriate pins and wire them to the arduino?
Also, would it be possible to do this via USB communication instead of Serial, or will it be?
Thanks!
#3
Posted 24 August 2010 - 09:38 PM
I plan to move over to USB in the long term, however am awaiting on the development of the netduino HID driver as detailed in this origional thread. In the long term I also plan to try and integrate a sparkfun BlueSMiRF Gold.
Currently I am working on further developing the package management for this system and plan to update this thread soon with a new iteration that faccilitates input to the computer via an accelerometer - yup you guessed it Im trying to build my own wiimote
#4
Posted 24 August 2010 - 10:05 PM
#5
Posted 24 August 2010 - 11:57 PM
I tried this out with a XBee on an XBee Explorer USB connected to the COM port I selected in the form, and an XBee on a shield on the Netduino, and they chat happily back and forth.
Thanks for posting this.
yeah - XBee = mucho goodness. My netduino talks to my PC all the time.
#6
Posted 19 May 2011 - 08:40 PM
For more info and to see the code in action check out the following videos:
1. Updated WinForm example
http://www.youtube.com/watch?v=4LqIwx1Dvek
2. Netduino - XNA example
http://www.youtube.com/watch?v=fJEjDibe-Q8
The source will be available shortly via my website (just gone down grr) as soon as its back up (next few hours I hope)
Cheers, d
#7
Posted 27 September 2011 - 01:23 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users