Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

Unresponsive VC0706 Camera and MicroSD breakoutboard
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by KeanResearch on Thu Jan 30, 2020 11:49 pm

Very kind of you!

Upon trying to upload one of these images, I received a notice that "the uploaded file is empty." Checking the data size of each photo, I now see that 0KB files are being stored to the SD card. To me this implies that while the SD card logger is functioning, the camera is not...

I did use connector pins this time around and was very cautious/careful to produce a good solder.

Thank you for continuing to aid me.

KeanResearch
 
Posts: 37
Joined: Sat Jan 11, 2020 12:22 am

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by adafruit_support_carter on Fri Jan 31, 2020 2:47 pm

Post the complete code for the sketch you are running.

adafruit_support_carter
 
Posts: 17179
Joined: Tue Nov 29, 2016 2:45 pm

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by KeanResearch on Fri Jan 31, 2020 2:56 pm

Hello,

The sketch I am using was included in my original post. It should be titled "Microlab03_button.ino"

KeanResearch
 
Posts: 37
Joined: Sat Jan 11, 2020 12:22 am

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by adafruit_support_carter on Mon Feb 03, 2020 1:19 pm

Try checking the return status from takePicture() to make sure it's OK. Like in the example:
https://github.com/adafruit/Adafruit-VC ... t.ino#L131
Add the serial prints also and see which one gets printed.

adafruit_support_carter
 
Posts: 17179
Joined: Tue Nov 29, 2016 2:45 pm

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by KeanResearch on Sun Feb 09, 2020 9:44 pm

I guess my response never posted.

The results from using the linked sketch were inconclusive. I made sure to change my serial communication pins to 0 and 1 in the sketch, but whenever I call a command into the serial monitor for example "cam.begin" or "cam.begin()" It crashes my Arduino IDE. Same results occur when attempting to use 'cam.takePicture()'


Anything helps,

thank you so much.

KeanResearch
 
Posts: 37
Joined: Sat Jan 11, 2020 12:22 am

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by adafruit_support_carter on Mon Feb 10, 2020 12:20 pm

What does your current sketch code look like? The one that at least created a JPEG file on the SD card.

adafruit_support_carter
 
Posts: 17179
Joined: Tue Nov 29, 2016 2:45 pm

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by KeanResearch on Mon Feb 10, 2020 12:27 pm

This is the sketch I have for my complete design. all components work except for the camera. When testing the camera functions I used the sketch you linked to me in your last post.

Thank you for your time
Attachments
Microlab03_Button.ino
(2.53 KiB) Downloaded 6 times

KeanResearch
 
Posts: 37
Joined: Sat Jan 11, 2020 12:22 am

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by adafruit_support_carter on Mon Feb 10, 2020 12:29 pm

In your Snap() function, replace this line:
Code: Select all | TOGGLE FULL SIZE
  cam.takePicture();

with this:
Code: Select all | TOGGLE FULL SIZE
  if (! cam.takePicture())
    Serial.println("Failed to snap!");
  else
    Serial.println("Picture taken!");

and see which message gets printed to the serial monitor.

adafruit_support_carter
 
Posts: 17179
Joined: Tue Nov 29, 2016 2:45 pm

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by KeanResearch on Tue Feb 11, 2020 1:32 am

Hello,

When doing this, the apparatus completed its entire loop task, and only then printed to the serial monitor "Failed to snap!"

I found the timing of the response a bit odd as you would think by my sketch that the camera would be trying to snap during operations not after.

Thank you for your continued help.

KeanResearch
 
Posts: 37
Joined: Sat Jan 11, 2020 12:22 am

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by adafruit_support_carter on Tue Feb 11, 2020 2:00 pm

It sounds like the camera is failing to take the image for some reason. Not sure about the sequence of things. For the sake of troubleshooting, try running the library example:
https://github.com/adafruit/Adafruit-VC ... apshot.ino
instead of your code with the Snap() function.

adafruit_support_carter
 
Posts: 17179
Joined: Tue Nov 29, 2016 2:45 pm

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by KeanResearch on Tue Feb 11, 2020 4:17 pm

hello,

uploading this sketch fails to do anything.

I reduced the circuit back to the just the camera, sd card module and arduino. running cam.takePicture() just freezes my arduino IDE and no response is printed to terminal.

I have tried 3 different camera modules so I cannot imagine they are all defective.

still, anything helps

many thanks.

KeanResearch
 
Posts: 37
Joined: Sat Jan 11, 2020 12:22 am

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by KeanResearch on Tue Feb 11, 2020 5:01 pm

Perhaps this is another wiring issue. Currently I have my sketch such that
Code: Select all | TOGGLE FULL SIZE
SoftwareSerial Cameraconnection = SoftwareSerial(0, 1)
I intend for the camera's Tx to go to the the arduino micro's Rx and for the camera's Rx to the board's Tx (as the schematics suggest that D1=Tx and Rx=D0). However does this script want digital pin # or literal pin #. for example in the schematic for the micro you posted earlier in the forum, Tx's literal # is 3 and Rx's literal # is 4. so should I use those instead?

Thanks

KeanResearch
 
Posts: 37
Joined: Sat Jan 11, 2020 12:22 am

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by adafruit_support_carter on Tue Feb 11, 2020 5:34 pm

It takes the digital pin number. The number that's printed on the board. Try using pins 2 and 3 and wire per the guide:
https://learn.adafruit.com/ttl-serial-c ... uino-usage

adafruit_support_carter
 
Posts: 17179
Joined: Tue Nov 29, 2016 2:45 pm

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by KeanResearch on Tue Feb 11, 2020 5:50 pm

I tried this and still got no response. I placed the takePicture and begin function in the loop to see what happens, but my serial monitor was still blank.

KeanResearch
 
Posts: 37
Joined: Sat Jan 11, 2020 12:22 am

Re: Unresponsive VC0706 Camera and MicroSD breakoutboard

by adafruit_support_carter on Tue Feb 11, 2020 5:52 pm

Please run the example as is:
https://github.com/adafruit/Adafruit-VC ... apshot.ino

Post everything that gets printed in the Serial Monitor when you run it.

adafruit_support_carter
 
Posts: 17179
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.