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.
Photo

XBee Library

xbee netduino 2

  • Please log in to reply
4 replies to this topic

#1 querman

querman

    New Member

  • Members
  • Pip
  • 1 posts

Posted 21 September 2013 - 08:39 PM

Hello. I'm looking for XBee library for NetDuino 2. I googled for this but i cant find good documented library.



#2 TinkeringTurtle

TinkeringTurtle

    Advanced Member

  • Members
  • PipPipPip
  • 55 posts

Posted 24 September 2013 - 02:29 PM

When it comes to looking for help, you're better off searching the forums for help. I just did a quick search for XBee and found more than a dozen threads, including several helper libraries...

 

https://grommet.codeplex.com/

 

https://xbee.codeplex.com/

 

Best of luck and welcome to the community.



#3 Maurice

Maurice

    New Member

  • Members
  • Pip
  • 8 posts
  • LocationSeattle, WA

Posted 16 October 2013 - 10:45 PM

Or if you're motivated, you can write your own. The specs for the radios are pretty straightforward. I spent the time to write my own library - I didn't know about the existing libraries when I started. In retrospect, using a library would have allowed me to move forward faster but I ended up with a much more efficient stack for the extra effort. Best of luck with whichever path you choose!



#4 CrossUp

CrossUp

    New Member

  • Members
  • Pip
  • 5 posts

Posted 07 November 2014 - 01:10 PM

Or if you're motivated, you can write your own. The specs for the radios are pretty straightforward. I spent the time to write my own library - I didn't know about the existing libraries when I started. In retrospect, using a library would have allowed me to move forward faster but I ended up with a much more efficient stack for the extra effort. Best of luck with whichever path you choose!

 

Hi, I would like to do exactly the same thing as you did. I have made some small projects using Arduino Uno MCU and setting up XBee radio module is very easy. I used MCU as end-device so all AT commands i had to set up together with main code. There were 7 functions to establish communication, to other XBEE (coordinator) + explorer which was set up by XCTU. When the time went by I decided to do something more serious so I bought Netduino 2. Since I still had my Xbees' I wanted to establish radio communication between them using SPI but I couldn't find any good tips on how to make that connection using Netduino 2 and Xbee. Then i found Gbee and Grommet and I was surprised on the huge amount of files they have. Is it possible to what I did with my Arduino reasonably??

 

I am new to C# language and as long as i can fit the code in couple of hundred of lines to establish communication (including AT parameters) I want to go for it.



#5 CrossUp

CrossUp

    New Member

  • Members
  • Pip
  • 5 posts

Posted 10 November 2014 - 09:33 AM

Update!

 

After a bit of research I found that I was using arduino built-in library "SoftwareSerial" which provided me with a couple of functions and all I had to do was make the actual connection. So I have encountered new problem. Every topic on this forum about Xbee connection to Netduino is by using API mode so libraries available out there comes with a bunch of unnecessary code which could affect execution time of data processing. My idea is to continuously send a data form a pc (Xbee + explorer) to my Netduino in order to control actuators connected to it so its kind of a data stream. Considering all I came to the point where AT mode and SPI is the best I could think of. If there is some guide-lines of how could I program Netduino 2 library myself please let me know (I don't want to reinvent a bicycle as well). (these) functions would be all I need.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.