Do to this being the metal weatherproof camera, I had to switch the Green and White as suggested in the tutorial. After doing this the Com Tool works fine. I am able to capture multiple images.
However, when I switch the pins from 0, 1 to 2, 3 I am unable to get it to notice the camera. I do have the SD breakout board and have tested that but right now I'm not even hooking that piece up. All I want to do is verify the camera can been seen by the Arudino and I'm unable to get this to work.
Pictures of the Setup:
https://www.dropbox.com/sh/qn6sw2o2czky7l2/Y7BAshTcVY
The code I'm using is:
Code: Select all
#include <Adafruit_VC0706.h>
#include <SoftwareSerial.h>
SoftwareSerial cameraconnection = SoftwareSerial(2, 3);
Adafruit_VC0706 cam = Adafruit_VC0706(&cameraconnection);
void setup()
{
Serial.begin(9600);
Serial.println("VC0706 Camera snapshot test");
// Try to locate the camera
if (cam.begin())
{
Serial.println("Camera Found:");
}
else
{
Serial.println("No camera found?");
return;
}
// Print out the camera version information (optional)
char *reply = cam.getVersion();
if (reply == 0)
{
Serial.print("Failed to get version");
} else
{
Serial.println("-----------------");
Serial.print(reply);
Serial.println("-----------------");
}
}
void loop()
{
}
Thanks for any and all help,
-David