Power Cycle Issue
HI, I'm very new to this forums, and have a question. I'm simply trying to connect 2 terminals together on my GoPro camera (ground and on/off button), using the Basic Stamp Homework board. I've come up with a few different ways to do this, that's pretty easy. The problem is, when the camera is turned off by the board, and I remove the battery from the board, the camera turns back on, like the I/O pin sees a spike when there is a reset or a power cycle.
Is there a way around this? Different board? Use something like an OP AMP to isolate?
Thanks for the help!
Leigh
Is there a way around this? Different board? Use something like an OP AMP to isolate?
Thanks for the help!
Leigh
Comments
You could have the BasicStamp put itself into low power mode with SLEEP, NAP, or END before you remove the battery. I think having a BUTTON command that jumps to an END is the best solution.
If you want to have something switch that will remember without any power, you need a little latching relay that is controlled by the BasicStamp. But that is only as a switch. Your camera may actually be responding to a pulse - pulling a high to ground.
Latching relays remember position even when power is removed from their coils. Erco mentioned some at Electronic Goldmine that are 5vdc and cost only $1USD or so.
The camera's ON/OFF button may actually be just using a pulse in a way similar to a latching relay, but it has a battery to power the electronic latch. Alternatively, a LOW may cause the camera to turn ON and a HIGH may cause the camera to turn off. You need to be sure how this switch really works.
OpAmps and Comparators or even logic flip-flops might work, but only as long as they have power - no power, no memory.
Somehow, this need to be defined. A pullup or pulldown resistor of 10k may just be the simplest item. But if you remove the battery, a pullup from the BasisStamp power won't help anything.
All that talk of latching relays is about switching, not pulsing.
I used the relay circuit diagram from the Dual Relay Board Kit.
The problem with the GoPro camera that was tricky to get around was: a 1ms low pulse will turn it on. The Stamps I/O work great when it is powered up (same as turning an LED on or off), but at power on or off (removing/installing 9v battery in my case), there must be a low pulse. With the relay, this power on/off pulse is not enough to close the contacts, so the camera now has no idea this is happening.
Again, thanks. Leigh