Hi,
I am quite sloppy with my programming..my basic startup looks something like this:
My camera is connected to the Rx0 and Tx0, 3.3V and Gnd of the arduino.
String Sync = "AA 0D 00 00 00 00";
String Ack;
void setup(){
Serial.begin(14400); // Sets the data rate at 14400 baud, camera baud rate minimum 14400
}
void loop(){
Serial.write(Sync); //Send sync command to camera
delay(5000); // Wait 5 secs
Serial.println(Ack); // Read acknowledge from camera
}