I am currently doing a project involving XBee, arduino pro mini, and different sensors (GPS, pressure, accelerometer and SD card). I really need help from you guys. I got few questions to ask:
I will connect my pressure sensor to the pro mini via I2C interface. For the pressure and SD card breakout board, i will connect them with the pro mini via the SPI interface, so the pro mini will be the master and the sensor will be the slaves. however, i dont really sure how to connect the accelerometer and SD card breakout board to the pro mini, and i don;t know wt is the code for them to work tgt?
For the project, the pro mini will collect the datas from sensors and transmit them to the XBee, then the XBee will transmit the data to other XBee which connected to the CPU. Can anyone tell me wht should i look into for the pro mini to send data to the XBee, what code i need for this function?
Thanks a lot. I really need you guys help.