photoresistor + sd card + battery + arduino

AWOL,
"tank dive", are you referring to SCUBA

Yes - I bought the A540 (and a 40m waterproof casing, which I think cost more than the camera) specifically for diving, but the battery life is atrocious, particularly when you have to use the display because the optical viewfinder is invisible with a mask on.