Weatherproof TTL JPEG Camera Problems

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
drnelson
 
Posts: 5
Joined: Thu Jan 02, 2014 1:18 pm

Weatherproof TTL JPEG Camera Problems

Post by drnelson »

Ok I have an Arduino UNO and I have hooked up the camera to the TX, RX pins on the UNO as pictured in the 'Test the Camera' section of this tutorial: http://learn.adafruit.com/ttl-serial-ca ... -comm-tool

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()
{ 
}
I keep getting "No Camera Found?" I'm unsure what to do next since moving to pins 0, 1 will work just fine for me with the com tool.

Thanks for any and all help,

-David

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Weatherproof TTL JPEG Camera Problems

Post by adafruit_support_rick »

RX and TX are reversed when working with the Comm Tool. For pins 2 and 3, swap the leads.

drnelson
 
Posts: 5
Joined: Thu Jan 02, 2014 1:18 pm

Re: Weatherproof TTL JPEG Camera Problems

Post by drnelson »

Ok so the camera has been acting very strangely. I am now no longer able to get the camera to work in the Com Tool. Here is what I have (link to imgs posted at the bottom):

I have:

White connected to TX->1
Green with the two resistors connected to RX->1
Red connected to power, Black to negative.

I have used a meter to verify I'm getting voltage to the camera

I have tried switching above to:
Green connected to TX->1
White with the two resistors connected to RX->1

I have uploaded this code to the arduino uno r3:

Code: Select all

void setup()
{
}

void loop()
{
}
The com tool does connect to the COM port but when pressing Get Version it simply times out with the response: Cmd time out

The only thing I could think of was that the leads were not making good contact. So I soldered on a little bit of jumper wire to them. This did not have any change in the result. I did retest every combo of the wires after soldering the jumper wires.

I've also tried new resistors.

What else could be going on here?

To see images of the different connections I've tried click here:

https://www.dropbox.com/sh/34ksgxvfrgkcbbw/dzcYdnr9Vd

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Weatherproof TTL JPEG Camera Problems

Post by adafruit_support_rick »

First, Green is RX. You ALWAYS want to have the resistor dividers on the Green wire, even when you move it around. Otherwise, you risk damaging the camera.

So, your first picture is right. I believe that's the way you had it when it was working for you, correct?

Make sure all your connections are solid, and try a different breadboard location for the green and white.

Do you see the RX and TX LEDs doing anything on the Uno?

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”