10DOF via xBees ?

XBee projects like the adapter, xBee tutorials, tweetawatt/wattcher, etc. from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

10DOF via xBees ?

Post by mjpcarbon »

Couple questions,
Can I transmit 10Dof data via xBees ?
If so what should the xBee TX and RX be set to so the info is properly transferred

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: 10DOF via xBees ?

Post by adafruit_support_bill »

You would need a processor to read the data from the 10DOF and relay it through the XBee.

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: 10DOF via xBees ?

Post by mjpcarbon »

Ahhh, I had hoped to have an UNO on the RX side

So I need UNOs on both TX and RX sides ?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: 10DOF via xBees ?

Post by adafruit_support_bill »

Some of the higher-end XBee modules are programmable via their SDK, so you might be able to do it without an extra processor. But that is not something we have experience with here. You might check over at the Digi forums for advice on that.

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: 10DOF via xBees ?

Post by mjpcarbon »

Ahhh buggah thats too bad.
OK so a few more questions if this is still a viable plan
Last edited by mjpcarbon on Mon Mar 09, 2015 7:28 pm, edited 1 time in total.

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: 10DOF via xBees ?

Post by mjpcarbon »

Bill a bit more info please.
So am I correct in understanding if I have the 10dof into a UNO then I can transmit the signal via xBee ?
The TX side would have the following components 10dof,UNO,XBee......?
How about on the RX side ?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: 10DOF via xBees ?

Post by adafruit_support_bill »

That depends. What do you need to do with the data on the Rx side?

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: 10DOF via xBees ?

Post by mjpcarbon »

Well I want to control two servos Yaw and either Pitch or Roll
I have it working pretty well, a little jittery, on the bench now would really like to do it wirelessly with all the addictive stuff you have

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: 10DOF via xBees ?

Post by adafruit_support_bill »

Then you would need a microcontroller on the Rx side too. It would read from the XBee and control the servos.

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: 10DOF via xBees ?

Post by mjpcarbon »

Bill you are very helpful now I need more guidance
I have my sketch and happy with it so far.
Can I use trinkets in place of the UNOs ?
I am a bit at a loss as to how I send the data from the TX Uno into the xBee and then of course how to transfer the data from the RX xBee into the RX Uno

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: 10DOF via xBees ?

Post by Franklin97355 »

How do you have things connected on the test circuit and what code are you running? That will help in answering your questions.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: 10DOF via xBees ?

Post by adafruit_support_bill »

A Pro Trinket should easily handle it. You might be able to squeeze it into a regular Trinket. It would probably require a bit of library hacking to switch tinyWire-M for the regular wire library to talk to the IMU.

Talking to the XBees is just like talking to the serial port. Connect Rx->Tx and Tx->Rx. If you have the XBes in AT mode, it will behave just like a wireless serial port at both ends.

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: 10DOF via xBees ?

Post by mjpcarbon »

Pins 2 and 3 in AT mode will transfer the data.
How about on the UNO TX out to Xbee ?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: 10DOF via xBees ?

Post by adafruit_support_bill »

Just connect the UNO Tx to the XBee Rx and UNO Rx to XBee Tx. Then read and write to it like any other serial port.
https://learn.adafruit.com/xbee-radios/point2point

User avatar
mjpcarbon
 
Posts: 436
Joined: Fri Nov 29, 2013 8:57 pm

Re: 10DOF via xBees ?

Post by mjpcarbon »

Will do and report back
thank you

Locked
Please be positive and constructive with your questions and comments.

Return to “XBee products (discontinued)”