Cannot read from TTL Camera on Mega, works fine on UNO

@pylon and @Grumpy_Mike: Thanks much for both of your input!!

I did get it working. There were several things I had to do:

  1. Use hardware Serial (Ended up using Serial2 on 16/17)
  2. Ensure the camera serial code is AFTER the setting up the SD card step. For some reason it never works if the code is before that
  3. A bit of playing around with the responses and it is working now.

I think Pylon was right - the camera's initial "power on response" was coming before the mega was awake.

I did not end up having to control the camera with a digital pin. Lucky for me because the camera wants 100mA.

For those of you with interest, I am opensourcing this motion-triggered/camera/sd/Ethernet code (currently the mega version is a work in process) on github at GitHub - DaveCollinsJr/OAP_Arduino: One Asset Place Arduino Projects.

Thanks again,
Dave