Hey guys, sorry for my bad english.
I working a project with arduino, inclinometer, and xbee pro s2b. I use Xbee shield to plug the end device xbee to my arduino, so i can make it communicate wirelessly with my coordinator xbee that connected to my laptop.
I've made the arduino code to measure the inclination with my inclinometer and it's work :D.
In my program, i make the arduino to read data every 8 seconds, and send it to my coordinator xbee as a data packet.
i use cool term win to display the data packet that recieved by my coordinator xbee.
But the problem is the data that recieved by my coordinator xbee is like this
~.P..".@)"!
SAH%M -10.42
Y Axis: 0.24
Temperatur = 4.00 Celcius
P~.P..".@)"!
SAis: -10.42
Y Axis: 0.31
Temperatur = 4.00 Celcius
v~.M..".@)"!
SAZ.j
r"
Y Axis: 0.17
Temperatur = 4.00 Celcius
3
but i actually want to make it like when i use the terminal to display the data before it sent to my coordinator, just like this
X Axis: -10.42
Y Axis: 0.42
Temperatur = 4.00 Celcius
X Axis: -10.45
Y Axis: 0.35
Temperatur = 4.00 Celcius
i guest that when is use the terminal for my coordinator xbee, it also display the start delimiter, length packet, 64-bit address of my end device xbee, frame type and etc, so the data has become a mess. I try to find a way to make the data is become like what i want, but still not figure it out.
so it will be great for any help or guidance to solve this problem.
thanks