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? ![]()
//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
}
