The right side of the capacitor near the left end of the board. This can be used to monitor whether the camera is turned on. When there is 3.3v on this cap, the camera is turned on. When there's 0v (ground), it's off. Connect this to an input line on your microcontroller.The lower right connection on the power button. This controls when the power button is pressed; connect it to an output. Driving this pad low (0v) presses the power button, driving it to 3.3v releases it.The upper right connection on the mode button. This controls when the mode button is pressed. The voltages on it are the opposite of the power button: 3.3v presses the button, 0v releases it.Note there's a place at the top right of the board for another SMD LED. I soldered a green one there to see what it would do - it lights up when the board is connected to a live USB port.Last, you'll need a ground connection. I found the best place to be any one of the four tabs that attach the USB connector (on the other side of the board, not shown). Just add a blob of solder and attach the ground wire.
you could power the camera with its own battery, then share the GND between the arduino and the camera. then you need a power source for the arduino too. then find which side of the switch is +3.3v and which side is 0v(when not pressed); connect a digital pin to the 0v side so that when you bring the pin high in code, it activates the button. you will need to set your AREF pin on your arduino to 3.3v so that you don't fry the camera with 5v. the arduino has a built in 3.3v regulator so just run a ire from the 3.3v pin to the AREF pin.
So, this way i dont need opto-isolators and still can use two power sources, right?Also, i wire from 3.3v to AREF pin and dont need to set this in code also?
you will need to set your AREF pin on your arduino to 3.3v so that you don't fry the camera with 5v. the arduino has a built in 3.3v regulator so just run a ire from the 3.3v pin to the AREF pin.
digitalWrite(powerButton, LOW);pinMode(powerButton, OUTPUT); // Pull the signal low to activate the power buttondelay(500); // Wait half a secondpinMode(powerButton, INPUT); // Release the power button.
digitalWrite(powerButton, LOW);pinMode(powerButton, OUTPUT); // Pull the signal low to activate the power buttondelay(1300); // Wait 1.3 secondspinMode(powerButton, INPUT); // Release the power button.
digitalWrite(modeButton, LOW);pinMode(modeButton, iNPUT);delay(3000); // Wait 3 secondspinMode(modeButton, OUTPUT);
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16