Go Down

Topic: Xbee Pro XSC (Read 2078 times) previous topic - next topic

HazardsMind

ok then dont use Xbee, use Bluetooth or RF transceivers, they are SO much easier.
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

HazardsMind

#16
Nov 17, 2012, 04:50 am Last Edit: Nov 17, 2012, 04:54 am by HazardsMind Reason: 1
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
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

techra

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?

HazardsMind

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.
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

techra

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

HazardsMind

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.
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

techra

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?

HazardsMind

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. :/
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

thekop

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.

HazardsMind

Ok now you just need to see why the data is coming out wrong on the ARD slave.
My GitHub:
https://github.com/AndrewMascolo?tab=repositories

Go Up