Tag Archive for 'Serial Communication'

Arduino Xbee Shield mod for Netduino

Update: For an alternative method check out the following post: http://www.dyadica.net/journal/xbee-explorer-regulated-netduino

This is a very quick post detailing how I modded my netduino to be compatible with the arduino xbee shield. I utilize this shield in conjunction with a Sparkfun Xbee Explorer USB to provide wireless serial communication between netduino and PC. To find out more about that check out my SerialPortHelper to WinForm post.

The following image shows the completed mod in action.

The good news is that there is not much to this one, however some might find the thought off using a soldering iron on there netduino a bit scary. If this is you then there are always other options.

Continue reading ‘Arduino Xbee Shield mod for Netduino’

Netduino SerialPortHelper to WinForm and XNA

A few weeks ago, I was contacted via YouTube in reference to the Netduino Serial Communication example I posted a while back. In my reply I promised that I would make a posting detailing how I have since updated the system. Before we start, check out the following video to see the current system in action:

A while back I decided to adopt the methods as described by Hari over at the netduino forums to facilitate ReadLine functionality. The rationale for this was that by utilizing Hari’s code we no longer have to detail the length data being sent, thus simplifying the code greatly.
Continue reading ‘Netduino SerialPortHelper to WinForm and XNA’

Netduino – Serial Communication

Update: check out  my netduino-serialporthelper-to-winform-and-xna post – based on code provided by hari over at the Netduino forums its a much better way to do it!

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:

The source is available via the following thread over at netduino.com. As you will be able to see from the thread I plan to integrate some form of wireless communication soon (after next pay day). I was originally thinking of a Bluetooth solution but am slowly being swayed towards that of the XBee as suggested by PaulS.

Whilst I am awaiting on some needed funds my next task is going to be …. Wiimote Vision!!! check back soon for more info. Click here to visit the forum for this example.