Electronics-Related.com
Forums

Two pulses with long gap: simplest circuit?

Started by Unknown February 21, 2019
In article <q4nvfj$dg8$1@dont-email.me>, ham789@netscape.net says...
> > What happens if you just let the video run until the iphone fills up?
Surely even a native app can set a limit on the size of an individual video? Mike.
Lasse Langwadt Christensen <langwadt@fonz.dk> wrote:

>torsdag den 21. februar 2019 kl. 23.19.05 UTC+1 skrev Terry Pinnell: >> David Brown <david.brown@hesbynett.no> wrote: >> >> >On 21/02/2019 22:59, Lasse Langwadt Christensen wrote: >> >> torsdag den 21. februar 2019 kl. 22.41.05 UTC+1 skrev terry...@gmail.com: >> >>> Project: To get images with my iPhone 6S+ of a fox visiting our garden overnight. One approach I&#4294967295;m considering is to tap the button of a Bluetooth camera shutter gadget (from CAMKIX) with a 500 ms pulse to a solenoid, triggered in various ways. (I don&#4294967295;t want to crack open the tiny case to attempt that with a circuit mod.) That seems reasonably straightforward. >> >>> >> >>> But to get a VIDEO clip, far preferable, I need a second pulse, to stop it. >> >>> >> >>> I&#4294967295;m thinking I would need three non-retriggerable monos. The first would be triggered by a +ve going signal from one of my sensors. (Such as a thin nylon trip wire or a micro switch under a large lightweight panel, cunningly disguised.) It would last 500 ms, activating the 12V solenoid. The second mono would be be started by the terminating edge of the first. Its duration would be say 20 s and it&#4294967295;s terminating edge would trigger the final mono, another 500 ms, stopping the video. >> >>> >> >>> Does that seem reasonable please? Any other suggestions? >> >>> >> >>> Terry, East Grinstead, UK >> >> >> >> https://www.iphonefaq.org/archives/975125 ? >> >> >> > >> >Or use a Rasperry Pi with a camera and Motion >> ><https://motion-project.github.io/> >> > >> >But if you want to make pulses like this, do it in software. Use any >> >kind of microcontroller board (or a Pi). >> >> Not into programming, so PICS, microcontrollers, FGPS, Pi, etc not >> options. >> >> >> >Unless, of course, you find messing about with this kind of old analogue >> >electronics fun - in which case, go for it. >> >> That's it! And I have a few thousand legacy components in my shed >> workshop gathering dust... >> >> Terry, East Grinstead, UK > >https://www.ebay.co.uk/itm/382165102637 3&#4294967295; wit free shipping
Thanks Lasse. I guess that was prompted by my other recent post, 'Daily On/Off circuit?', not this one? Duly ordered. Although with "Estimated delivery: 11 Mar &#4294967295; 9 Apr" my interest may have waned by then ;-) Terry, East Grinstead, UK
Martin Brown <'''newspam'''@nezumi.demon.co.uk> wrote:

>On 21/02/2019 22:16, Terry Pinnell wrote: >> Lasse Langwadt Christensen <langwadt@fonz.dk> wrote: >> >>> torsdag den 21. februar 2019 kl. 22.41.05 UTC+1 skrev terry...@gmail.com: >>>> Project: To get images with my iPhone 6S+ of a fox visiting our garden overnight. One approach I&#4294967295;m considering is to tap the button of a Bluetooth camera shutter gadget (from CAMKIX) with a 500 ms pulse to a solenoid, triggered in various ways. (I don&#4294967295;t want to crack open the tiny case to attempt that with a circuit mod.) That seems reasonably straightforward. >>>> >>>> But to get a VIDEO clip, far preferable, I need a second pulse, to stop it. >>>> >>>> I&#4294967295;m thinking I would need three non-retriggerable monos. The first would be triggered by a +ve going signal from one of my sensors. (Such as a thin nylon trip wire or a micro switch under a large lightweight panel, cunningly disguised.) It would last 500 ms, activating the 12V solenoid. The second mono would be be started by the terminating edge of the first. Its duration would be say 20 s and it&#4294967295;s terminating edge would trigger the final mono, another 500 ms, stopping the video. >>>> >>>> Does that seem reasonable please? Any other suggestions? >>>> >>>> Terry, East Grinstead, UK >>> >>> https://www.iphonefaq.org/archives/975125 ? >> >> Thanks, I'll try it. Although I suspect motion-sensing a >> fox/cat/badger/etc at night through a window onto a largish, dark garden >> might be a challenge. > >PIR triggered video camera traps with IR illuminators are relatively >cheap these days. If you insist on rolling your own then CMOS 555 and a >suitable divide by 2^N will allow longish programmable delays.
I don't think 'say 20s', while 'longish' relative to 500ms, will need a divider counter! Terry, East Grinstead, UK
Mike Coon <gravity@mjcoon.plus.com> wrote:

>In article <fi8u6e1445pb1oqc7liar9bh8na2sm4ce2@4ax.com>, >me@somewhere.invalid says... >> >> Thanks, I'll try it. Although I suspect motion-sensing a >> fox/cat/badger/etc at night through a window onto a largish, dark garden >> might be a challenge. > >So is your trigger going to turn the lights on too? I have IR video from >my trailcam of a fox reacting when I turned on a torch (not knowing it >was there). So the fox will notice. Whereas if the lights are on all the >time pesumably it won't. In which case motion sensing in a camera image >makes more sense... > >Mike (who also has a lot of legacy components but finds programming >easier).
Thanks Mike. Yes, that's a dilemma I anticipate. I'm experimenting with Cambush, prompted by Lasse's suggestion. With my iPad against a window overlooking the garden it worked OK with me simulating a large two-legged fox in early daylight. But tonight I'll pessimistically experiment with the two options: permanent lamp or simultaneously triggered. May have to resort to still photo with flash. Or maybe Mr Fox would hang around if I faded up the lamp over say 3s? I bought PICS and software about 15 years ago but never really mastered the coding. Last programming I did was decades ago (early assembly language at IBM, BASIC, FORTRAN, etc. I do some occasional VBA in Excel, mainly in copy/paste mode, but otherwise the closest I get is writing macros with Macro Express Pro. Terry, East Grinstead, UK
Jasen Betts <jasen@xnet.co.nz> wrote:

>On 2019-02-21, terrypingm@gmail.com <terrypingm@gmail.com> wrote: >> Project: To get images with my iPhone 6S+ of a fox visiting our garden overnight. One approach I&#4294967295;m considering is to tap the button of a Bluetooth camera shutter gadget (from CAMKIX) with a 500 ms pulse to a solenoid, triggered in various ways. (I don&#4294967295;t want to crack open the tiny case to attempt that with a circuit mod.) That seems reasonably straightforward. >> >> But to get a VIDEO clip, far preferable, I need a second pulse, to stop it. >> >> I&#4294967295;m thinking I would need three non-retriggerable monos. The first would be triggered by a +ve going signal from one of my sensors. (Such as a thin nylon trip wire or a micro switch under a large lightweight panel, cunningly disguised.) It would last 500 ms, activating the 12V solenoid. The second mono would be be started by the terminating edge of the first. Its duration would be say 20 s and it&#4294967295;s terminating edge would trigger the final mono, another 500 ms, stopping the video. >> >> Does that seem reasonable please? Any other suggestions? > >Seems reasonable. NE558 has 4 timers giving a one-chip solution. > > >But seeing as you're using a smart device, a motion detector app might >be more convenient.
Thanks, yes, that's my focus now, with either iPhone or iPad. Although the dilemma over night time viewing is a challenge. Still interested in the olde tyme approach though. I have a CUBE (about one inch) and, unlike my iPhone, that would make a compact gadget I'd be comfortable using outdoors. Terry, East Grinstead, UK
Mike <ham789@netscape.net> wrote:

>On 2/21/2019 1:41 PM, terrypingm@gmail.com wrote: >> Project: To get images with my iPhone 6S+ of a fox visiting our garden overnight. One approach I&#4294967295;m considering is to tap the button of a Bluetooth camera shutter gadget (from CAMKIX) with a 500 ms pulse to a solenoid, triggered in various ways. (I don&#4294967295;t want to crack open the tiny case to attempt that with a circuit mod.) That seems reasonably straightforward. >> >> But to get a VIDEO clip, far preferable, I need a second pulse, to stop it. >> >> I&#4294967295;m thinking I would need three non-retriggerable monos. The first would be triggered by a +ve going signal from one of my sensors. (Such as a thin nylon trip wire or a micro switch under a large lightweight panel, cunningly disguised.) It would last 500 ms, activating the 12V solenoid. The second mono would be be started by the terminating edge of the first. Its duration would be say 20 s and it&#4294967295;s terminating edge would trigger the final mono, another 500 ms, stopping the video. >> >> Does that seem reasonable please? Any other suggestions? >> >> Terry, East Grinstead, UK >> >I'm not an expert on iAnything, so this may be off base... > >There are at least a zillion apps for Android that will monitor >an area, detect motion, capture video, email it anywhere you want. > >I can't imagine that there isn't at least one iPhone App that can do that.
Yes, see post from Lasse and my subsequent replies. That's now my focus.
>Virtually any IP camera can do that. > >What happens if you just let the video run until the iphone fills up? >As long as it doesn't crash the phone, you can edit out what you need.
Seriously? I could also stay up every night!
>Somebody suggested a microcontroller for a timer. >These > >https://www.ebay.com/itm/Digispark-Kickstarter-Micro-General-USB-Development-Board-ATTINY85-Practical-Top/272911808821 > >are trivial to program and far easier to use than hanging a bunch >of one-shots together. IIRC, there's a demo program that does a one-shot. > >The tone of your post suggests that your visitor is benevolent and you >just want to >capture cute videos to post to Instagram. > >Had you made any mention of other motivation, I might have volunteered >how, a decade ago, we used a motion camera to figger out how a >raccoon was getting the bait out of the trap without triggering it. >Spoiler alert, it was more about understanding animal behavior than >any hardware. >Spoiler alert two, the time to ask yourself, "What do I do now?" >is BEFORE you have an angry Raccoon in a cage. This is even more >important if it's a skunk. > >If you wanted him gone, maybe you need a wall. I believe I know of >someone with a few billion to spend on such a thing. You'd need >to frame it as a deterrent to illegal immigration.
On 21/02/2019 21:41, terrypingm@gmail.com wrote:
> Project: To get images with my iPhone 6S+ of a fox visiting our garden overnight. One approach I&rsquo;m considering is to tap the button of a Bluetooth camera shutter gadget (from CAMKIX) with a 500 ms pulse to a solenoid, triggered in various ways. (I don&rsquo;t want to crack open the tiny case to attempt that with a circuit mod.) That seems reasonably straightforward. > > But to get a VIDEO clip, far preferable, I need a second pulse, to stop it. > > I&rsquo;m thinking I would need three non-retriggerable monos. The first would be triggered by a +ve going signal from one of my sensors. (Such as a thin nylon trip wire or a micro switch under a large lightweight panel, cunningly disguised.) It would last 500 ms, activating the 12V solenoid. The second mono would be be started by the terminating edge of the first. Its duration would be say 20 s and it&rsquo;s terminating edge would trigger the final mono, another 500 ms, stopping the video. > > Does that seem reasonable please? Any other suggestions? > > Terry, East Grinstead, UK >
Just get one of these.. WE use it to monitor the foxes in our garden. great device and plenty of similar on Ebay for &pound;20 ish. OWSOO 1080P Wireless WIFI Pan Tilt HD IP Camera 2MP 2-way Audio Night Vi... --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
>> >> Seems reasonable. NE558 has 4 timers giving a one-chip solution. >> >> >> But seeing as you're using a smart device, a motion detector app might >> be more convenient. > > Thanks, yes, that's my focus now, with either iPhone or iPad. Although > the dilemma over night time viewing is a challenge. > > Still interested in the olde tyme approach though. I have a CUBE (about > one inch) and, unlike my iPhone, that would make a compact gadget I'd be > comfortable using outdoors. > > Terry, East Grinstead, UK >
If it helps, foxes and badgers are not deterred by PIR floodlights coming on as they enter the PIR space.Personal experience over the years... --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
TTman <kraken.sankey@gmail.com> wrote:

> >>> >>> Seems reasonable. NE558 has 4 timers giving a one-chip solution. >>> >>> >>> But seeing as you're using a smart device, a motion detector app might >>> be more convenient. >> >> Thanks, yes, that's my focus now, with either iPhone or iPad. Although >> the dilemma over night time viewing is a challenge. >> >> Still interested in the olde tyme approach though. I have a CUBE (about >> one inch) and, unlike my iPhone, that would make a compact gadget I'd be >> comfortable using outdoors. >> >> Terry, East Grinstead, UK >> >If it helps, foxes and badgers are not deterred by PIR floodlights >coming on as they enter the PIR space.Personal experience over the years... >
Thanks, that's good news! I'll trigger the lamp simultaneously. Terry, East Grinstead, UK
TTman <kraken.sankey@gmail.com> wrote:

>On 21/02/2019 21:41, terrypingm@gmail.com wrote: >> Project: To get images with my iPhone 6S+ of a fox visiting our garden overnight. One approach I&#4294967295;m considering is to tap the button of a Bluetooth camera shutter gadget (from CAMKIX) with a 500 ms pulse to a solenoid, triggered in various ways. (I don&#4294967295;t want to crack open the tiny case to attempt that with a circuit mod.) That seems reasonably straightforward. >> >> But to get a VIDEO clip, far preferable, I need a second pulse, to stop it. >> >> I&#4294967295;m thinking I would need three non-retriggerable monos. The first would be triggered by a +ve going signal from one of my sensors. (Such as a thin nylon trip wire or a micro switch under a large lightweight panel, cunningly disguised.) It would last 500 ms, activating the 12V solenoid. The second mono would be be started by the terminating edge of the first. Its duration would be say 20 s and it&#4294967295;s terminating edge would trigger the final mono, another 500 ms, stopping the video. >> >> Does that seem reasonable please? Any other suggestions? >> >> Terry, East Grinstead, UK >> >Just get one of these.. WE use it to monitor the foxes in our garden. >great device and plenty of similar on Ebay for &#4294967295;20 ish. > >OWSOO 1080P Wireless WIFI Pan Tilt HD IP Camera 2MP 2-way Audio Night Vi...
Looks complicated to setup though. Does it need connecting to PC with Ethernet cable? Terry, East Grinstead, UK