This Arduino shield can be useful for putting up a full-featured data logger device based on Arduino, with convenient I/O extension, with microSD card seat and iPhone/iPad connectivity. It provides 4 XH-2.54 ports for Serial UARTs and I2C connections.
* Please note that Bluetooth module is shipped unsoldered.
The shield features:
When used with Compact MEGA 2560
Serial1 and Serial2 ports are wired to two of ATMega2560′s hardware serial UARTs. I2C ports are wired to ATMega2560′s SDA/SCL pins. TF socket is connected via hardware SPI (CS pin 53) . The digital breakout pins are wired to D22 and D23. The analog breakout pins are wired to A7~A9.
When used with Arduino UNO/Leonardo/Duemilanove
Serial2 port is wired to ATMega328′s hardware serial UART. Serial1 port is wired to D2/D3 which can be used with software serial. I2C ports are wired to ATMega328′s SDA/SCL pins. TF socket is connected via hardware SPI (CS pin 10) . The digital breakout pins are wired to D4 and D5. The analog breakout pins are wired to A0~A3.
Example Arduino sketch for sending data to iPhone via BLE
#include <SoftwareSerial.h>
SoftwareSerial SerialRF(A2, A3);
void setup() {
// put your setup code here, to run once:
SerialRF.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
SerialRF.print("T=");
SerialRF.println(millis());
delay(100);
}
Using LightBlue App on iPhone for reception