I am new in forums, I am working on a project of reading GPS co-ordinates and Rotary Encoder pulses on XBEE or BT.
Currently I am using two Arduino mega board. With Ist board I am sending data of GPS by BT/XBEE pairing to Laptop Serial port. And with 2nd board I am sending data of Rotary Encoder (500 PPR) pulse by BT/XBEE pairing to Laptop serial port.
but I am unable to send both data same time.
We need following data on COM port by XBEE
Latitude
Longitude
No. of Satellite
Real Time.
Encoder pulses
Battery voltage
I want to use a Mega 2560 (or any other suggested) board to send data on one serial port.
Please help me in this regard and provide me source code.