After a fair bit of experimenting and with a lot of informed and informative help from regulars on these forums, I have a reliable Picaxe 08M based device for triggering a camera shutter.
In essence, a PIR-actuated nightlight is connected to an input pin of the 08M and is sensed by readadc whenever a passerby triggers the PIR.
The passer-by in this case is the elusive lyrebird, who flits onto his performance mound, sings and displays his remarkable plumage for up to twenty minutes at a time, and flits off to another mound.
The Picaxe program waits for a response from the PIR, triggers the camera every five seconds for one minute, and then waits for another trigger. In theory, if the bird is still performing at the end of the minute, he will trigger the PIR again.
Not so. What happens is that the bird stands in the one spot, singing like mad, but not moving enough to trigger the PIR again until he leaves, leaving us with the first minute of his concert and a fleeting shot of his backside as he leaves, up to twenty minutes later.
But for those twenty minutes he is singing almost non-stop, and very loudly.
Is there a simple way to connect a microphone to the input pin and have it provide a signal that can be sensed in a similar way the signal from the PIR?
Some facts:
1. The battery in the Canon G2 camera(s) lasts about seven hours while it is waiting to take some images. If the camera is turned on and allowed to photograph continually in the hope that the bird might turn up, the battery is exhausted in a couple of hours.
2. I could make a voice-operated relay which would need 12Volts and a handful of batteries.
3. One of my hurdles is the fact that there are other birds within earshot and I don't want them to trigger the device. I need to be able to control the output level so that I get only the bird on the mound.
In essence, a PIR-actuated nightlight is connected to an input pin of the 08M and is sensed by readadc whenever a passerby triggers the PIR.
The passer-by in this case is the elusive lyrebird, who flits onto his performance mound, sings and displays his remarkable plumage for up to twenty minutes at a time, and flits off to another mound.
The Picaxe program waits for a response from the PIR, triggers the camera every five seconds for one minute, and then waits for another trigger. In theory, if the bird is still performing at the end of the minute, he will trigger the PIR again.
Not so. What happens is that the bird stands in the one spot, singing like mad, but not moving enough to trigger the PIR again until he leaves, leaving us with the first minute of his concert and a fleeting shot of his backside as he leaves, up to twenty minutes later.
But for those twenty minutes he is singing almost non-stop, and very loudly.
Is there a simple way to connect a microphone to the input pin and have it provide a signal that can be sensed in a similar way the signal from the PIR?
Some facts:
1. The battery in the Canon G2 camera(s) lasts about seven hours while it is waiting to take some images. If the camera is turned on and allowed to photograph continually in the hope that the bird might turn up, the battery is exhausted in a couple of hours.
2. I could make a voice-operated relay which would need 12Volts and a handful of batteries.
3. One of my hurdles is the fact that there are other birds within earshot and I don't want them to trigger the device. I need to be able to control the output level so that I get only the bird on the mound.