mini spy camera problems

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
xyzxyzxyz
 
Posts: 2
Joined: Wed May 18, 2022 6:14 pm

mini spy camera problems

Post by xyzxyzxyz »

Hi,
I'm using an Adafruit Mini Spy Camera with Trigger for Photo or Video for an important project, and I'm having some problems with it. I can see the camera taking pictures because the red and blue lights are blinking every few seconds as intended, but the pictures somehow do not get stored to the sd card and when I plug the sd card into my computer, it shows no files. I am using a 32 gb sd card with FAT32 format, and I am using an Arduino Uno to control the camera. I also tried directly connecting the white/green wire to ground and the same result occurs with the pictures not being stored on the sd card. My code is below and a picture of my wiring is attached. It would be great if someone could provide assistance!

Code: Select all

int trig = 2;
int led = 13;[img][/img]
void setup() {
  // initialize the digital pins as output.
  pinMode(led, OUTPUT);
  pinMode(trig, OUTPUT);
  digitalWrite(led, HIGH);
  digitalWrite(trig, HIGH);
}
// Hold HIGH and trigger quick (<250ms) LOW to take a photo. Holding LOW and
void loop() {
  digitalWrite(trig, LOW);
  digitalWrite(led, LOW);
  delay(50);
  digitalWrite(trig, HIGH);
  digitalWrite(led, HIGH);
  delay(5000);
}
Attachments
I soldered the green, red, and black wires of the spy camera onto a breadboard and used jumper wires to connect them to the Arduino microcontroller.
I soldered the green, red, and black wires of the spy camera onto a breadboard and used jumper wires to connect them to the Arduino microcontroller.
spy_cam_2 (1).png (591.58 KiB) Viewed 138 times

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: mini spy camera problems

Post by adafruit_support_mike »

As a sanity check, make sure your SD card is formatted FAT-32.

For cards 32GB and larger, the default format is ExFAT, which the camera's firmware won't know how to use.

User avatar
xyzxyzxyz
 
Posts: 2
Joined: Wed May 18, 2022 6:14 pm

Re: mini spy camera problems

Post by xyzxyzxyz »

I checked the micro sd card and it says that it is FAT32.

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: mini spy camera problems

Post by adafruit_support_mike »

Thanks.

There isn't much user-level debugging beyond that, so let's try another. Send a note containing a link to this page and your order number to [email protected]. The folks there will get you a replacement.

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

Return to “Other Products from Adafruit”