- I am using ADXL345 [Accelerometer] with Arduino UNO.
- I am using I2C Protocol to get the data from the adxl345. Everything is working fine :)
Now I want to separate the adxl345 and Arduino board, i.e. I want to connect the adxl345 to a Xbee [both independently powered] & Arduino to another Xbee. I want to communicate through this Xbees.
I haven't tried but as far as I have researched I2C requires SCL & SDA i.e. it is synchronous & Xbees are Asynchronous [I guess for that matter all wireless data transfers are Asynchronous, correct me if I am wrong]. Also, ADXL345 supports only SPI & I2C to get the data. So how do I proceed?
Will an I2C to UART bridge work between ADXL345 & XBEE? If yes then will I be able to ask the ADXL345 to send data through Xbees using the Arduino board which is connected to another Xbee?
If not, please provide some solution [I don't want to introduce a Micro Processor on the ADXL345 side because I want that side to be a small as possible, since it will be a wearable device]
Thanking you all in advance :) :) :) :) :)