I'm using a mega with 2 TTL (Adafruit) cameras. I've tested both cameras and they work independently.
Issue I ran into is I cannot use NewSoftSerial or SoftwareSerial to create more than one serial connection. I switched to AltSoftSerial but now I'm not getting any response within the Serial Monitor for either camera.
So I backed up to the AltSoftSerial example and I'm having response issues there as well. Which leads me to believe I'm doing something wrong with AltSoftSerial.
Example: For now I have one camera connected as follows, I've disconnected the second camera for testing purposes. Trying to simplify.
camera Green (RX) - AltSoftSerial TX 46
camera White (TX) - AltSoftSerial RX 48
Using the following example code
#include <AltSoftSerial.h>
// AltSoftSerial always uses these pins:
//
// Board Transmit Receive PWM Unusable
// ----- -------- ------- ------------
// Arduino Mega 46 48 44, 45
AltSoftSerial altSerial;
void setup() {
Serial.begin(9600);
while (!Serial) ; // wait for Arduino Serial Monitor to open
Serial.println("AltSoftSerial Test Begin");
altSerial.begin(9600);
altSerial.println("Hello World");
Serial.println("End of Setup");
}
I get the following in the Serial Monitor
"AltSoftSerial Test Begin
End of Setup"
I don't get Hello World" and I don't get any errors.
I'd like to get the AltSoftSerial example working first before I tackle my two cameras.
I'm using Arduino IDE 1.0.5
Thank you. Let me know anything I've left out.