Pages: 1 [2]   Go Down
Author Topic: Xbee Pro XSC  (Read 1528 times)
0 Members and 1 Guest are viewing this topic.
Queens, New York
Offline Offline
Faraday Member
**
Karma: 86
Posts: 3459
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ok then dont use Xbee, use Bluetooth or RF transceivers, they are SO much easier.
Logged

Created Libraries:
NPV2 (NewPasswordV2),  TFT_Extension, OneWireKeypad, SerialServo.
Will provide libraries if asked in PM or forum.

Queens, New York
Offline Offline
Faraday Member
**
Karma: 86
Posts: 3459
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
The major problem with this xbee in specific is that it cant go more than 9600 baud rate,plus it works on point to point communication,so i really cant use the api mode.

yes it can go beyond 9600 if you know how to do it. And I apologize, it can use Serial.read and write.

now from the codes you wrote, what do you want to actually do with it?

Also try that jumper trick I said before, so you can see what the slave ARD is actually getting.

check out this, if you have not already:
https://sites.google.com/site/ahmedabdien89/Embedded-Systems/xbeeintroductionhappyxbeeing
« Last Edit: November 16, 2012, 10:54:50 pm by HazardsMind » Logged

Created Libraries:
NPV2 (NewPasswordV2),  TFT_Extension, OneWireKeypad, SerialServo.
Will provide libraries if asked in PM or forum.

Offline Offline
Newbie
*
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yeah i think thats what im going to do next,its taken too long,the main function for this was long range thats why i bought it,and its taken me so long to get it to work.What xbees did you use?
Logged

Queens, New York
Offline Offline
Faraday Member
**
Karma: 86
Posts: 3459
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The series 1 xbees.

quick question, did you follow that video from sciguy completely? Because he shows what program to download and how to setup the xbees. Im just curious, thats all.
Logged

Created Libraries:
NPV2 (NewPasswordV2),  TFT_Extension, OneWireKeypad, SerialServo.
Will provide libraries if asked in PM or forum.

Offline Offline
Newbie
*
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yup,for this xbee,basically instead of choosing the xbee model like xb 24 or something  and then choosing router at or coordinator at,i had to choose xbee xsc 9600 which automatically comes when its read,now comes the fun part,i cant use atdh or atdl for this,so it took me along time figuring this out ,the two commands are ATID(pan address) which i set as default for both,and ATDT which have to be the same so i put it as 0100 using teraterm instead of putty ,and the communication was made after ATWR.
And the thing is that it isnt series 1 or series 2 or pro versions of those 2,there is a totally different model https://www.sparkfun.com/products/9087
Logged

Queens, New York
Offline Offline
Faraday Member
**
Karma: 86
Posts: 3459
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok, I didn't know it was a completely new model.
Well in that case please try the jumper trick, at least that way you know your code works. I gave my xbees to my friend, so I haven't used them in a long time. I went with Bluetooth, because I want to control my robot with an Android Galaxy Tablet and I actually got it to work. Now I'm making my own controller using an ARD mega, 3.2 TFT touchscreen and an accelerometer. Still waiting for last part to finish it though.
Logged

Created Libraries:
NPV2 (NewPasswordV2),  TFT_Extension, OneWireKeypad, SerialServo.
Will provide libraries if asked in PM or forum.

Offline Offline
Newbie
*
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I was also trying to connect my galaxy s to connect to the arduino adk,to receive data,so i was trying to make an app for it using processing but the problem still remains that the header files for adk arent defined properly and i got tons of errors ,this is what ill try,for the tft did you code the microcontroller in assembly?
Logged

Queens, New York
Offline Offline
Faraday Member
**
Karma: 86
Posts: 3459
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

For the android, I used eclipse and I studied the Bluetooth chat sample code.
The TFT was a shield I got on eBay, which came with a library and 2 examples.
I don't want to spend a lot of money right now, got to pay off college loans. :/
Logged

Created Libraries:
NPV2 (NewPasswordV2),  TFT_Extension, OneWireKeypad, SerialServo.
Will provide libraries if asked in PM or forum.

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

okay,so finally got it to get values,instead of using the slave on arduino we directly connected it to the x ctu,and we get the data perfectly.
Logged

Queens, New York
Offline Offline
Faraday Member
**
Karma: 86
Posts: 3459
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok now you just need to see why the data is coming out wrong on the ARD slave.
Logged

Created Libraries:
NPV2 (NewPasswordV2),  TFT_Extension, OneWireKeypad, SerialServo.
Will provide libraries if asked in PM or forum.

Pages: 1 [2]   Go Up
Jump to: