Auto Bluetooth Remote Shooter for Phone

Hi to all.
I converted my Remote Bluetooth Camera Shooter for phones to be like an "Auto Shooter", with a timer.

This need for astronomy, for shooting images (300 to more) from my telescope, every xx seconds. That is painful and tiring for my fingers.

So the code must be: take picture every xx seconds, from Arduino to Remoter than to phone. I'm using a Samsung Galaxy S20.

Only I found is example with button.

So what I done is that I connected directly ground from remote to ground on Arduino, and positive from remote to num. 8 pin on Arduino. That working fine.

But I know that you will tell me that is not a right way to do it? :roll_eyes:

//Bluetooth remote shooter take picture every xx seconds

const int shutterPin=8;
void setup() {
Serial.begin(9600);
  pinMode(shutterPin, INPUT);
}

void loop() {
Serial. println("Shoot");
pinMode(shutterPin, OUTPUT);
    delay(20);  // it seems that must be delay here??
pinMode(shutterPin, INPUT);
    delay(17000); //Take picture every 17s
}

I suggest to follow the instructions in the linked tutorial.

1 Like

In this tutorial is only version with button and with motion sensor. It is not what I want (without button=automatic).

.

Please if someone can check my code?

It's working, it shoots every 17 sec picture itself (without a button). But will I burn something, do I need some resistor?

Thanks

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.