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

5V power for mini spy camera, ID 3202?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

5V power for mini spy camera, ID 3202?

by iesre on Sat Aug 29, 2020 8:28 pm

Can I use a 5V Pro Mini to power and trigger this mini camera? Or must it be a 3.3V board or LiPo battery? Your video said there was a "regulator," I assume for the incoming power, but is it OK to trigger it with a 5V digital pin set HIGH or LOW?

iesre
 
Posts: 240
Joined: Mon Jun 10, 2013 1:58 pm

Re: 5V power for mini spy camera, ID 3202?

by iesre on Sat Aug 29, 2020 9:49 pm

OK. I see that the camera works just fine with a 5V Pro Mini. Sorry for the question :-(.

iesre
 
Posts: 240
Joined: Mon Jun 10, 2013 1:58 pm

Re: 5V power for mini spy camera, ID 3202?

by iesre on Sun Aug 30, 2020 9:59 am

Here's some code for using this camera to take still images. the delay() function requests a long integer input parameter, but it's not required for values that can be represented by "regular" integers (anything less than about 30,000 ms = 30 s).
Code: Select all | TOGGLE FULL SIZE
// SpyCamera.ino, D. Brooks, August 2020
// Adafruit ID 3202 mini spy camera controller
#define TriggerPin 3 // choose any digital pin
long int delayTime=2000L;
void setup() {
  pinMode(TriggerPin,OUTPUT);
  digitalWrite(TriggerPin,HIGH);
}
void loop() {
  digitalWrite(TriggerPin,LOW);
  delay(50);
  digitalWrite(TriggerPin,HIGH);
  delay(delayTime); 
}

iesre
 
Posts: 240
Joined: Mon Jun 10, 2013 1:58 pm

Please be positive and constructive with your questions and comments.