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.
Unresponsive VC0706 Camera and MicroSD breakoutboard
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- KeanResearch
- Posts: 38
- Joined: Sat Jan 11, 2020 12:22 am
- adafruit_support_carter
- Posts: 29163
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Unresponsive VC0706 Camera and MicroSD breakoutboard
Post the complete code for the sketch you are running.
- KeanResearch
- Posts: 38
- Joined: Sat Jan 11, 2020 12:22 am
Re: Unresponsive VC0706 Camera and MicroSD breakoutboard
Hello,
The sketch I am using was included in my original post. It should be titled "Microlab03_button.ino"
The sketch I am using was included in my original post. It should be titled "Microlab03_button.ino"
- adafruit_support_carter
- Posts: 29163
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Unresponsive VC0706 Camera and MicroSD breakoutboard
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.
https://github.com/adafruit/Adafruit-VC ... t.ino#L131
Add the serial prints also and see which one gets printed.
- KeanResearch
- Posts: 38
- Joined: Sat Jan 11, 2020 12:22 am
Re: Unresponsive VC0706 Camera and MicroSD breakoutboard
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.
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.
- adafruit_support_carter
- Posts: 29163
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Unresponsive VC0706 Camera and MicroSD breakoutboard
What does your current sketch code look like? The one that at least created a JPEG file on the SD card.
- KeanResearch
- Posts: 38
- Joined: Sat Jan 11, 2020 12:22 am
Re: Unresponsive VC0706 Camera and MicroSD breakoutboard
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
Thank you for your time
- Attachments
-
[The extension ino has been deactivated and can no longer be displayed.]
- adafruit_support_carter
- Posts: 29163
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Unresponsive VC0706 Camera and MicroSD breakoutboard
In your Snap() function, replace this line:
with this:
and see which message gets printed to the serial monitor.
Code: Select all
cam.takePicture();
Code: Select all
if (! cam.takePicture())
Serial.println("Failed to snap!");
else
Serial.println("Picture taken!");
- KeanResearch
- Posts: 38
- Joined: Sat Jan 11, 2020 12:22 am
Re: Unresponsive VC0706 Camera and MicroSD breakoutboard
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.
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.
- adafruit_support_carter
- Posts: 29163
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Unresponsive VC0706 Camera and MicroSD breakoutboard
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.
https://github.com/adafruit/Adafruit-VC ... apshot.ino
instead of your code with the Snap() function.
- KeanResearch
- Posts: 38
- Joined: Sat Jan 11, 2020 12:22 am
Re: Unresponsive VC0706 Camera and MicroSD breakoutboard
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.
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: 38
- Joined: Sat Jan 11, 2020 12:22 am
Re: Unresponsive VC0706 Camera and MicroSD breakoutboard
Perhaps this is another wiring issue. Currently I have my sketch such that 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
Code: Select all
SoftwareSerial Cameraconnection = SoftwareSerial(0, 1)
Thanks
- adafruit_support_carter
- Posts: 29163
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Unresponsive VC0706 Camera and MicroSD breakoutboard
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
https://learn.adafruit.com/ttl-serial-c ... uino-usage
- KeanResearch
- Posts: 38
- Joined: Sat Jan 11, 2020 12:22 am
Re: Unresponsive VC0706 Camera and MicroSD breakoutboard
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.
- adafruit_support_carter
- Posts: 29163
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Unresponsive VC0706 Camera and MicroSD breakoutboard
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.
https://github.com/adafruit/Adafruit-VC ... apshot.ino
Post everything that gets printed in the Serial Monitor when you run it.
Please be positive and constructive with your questions and comments.