Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 33
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
No birthdays today

Next birthdays
05/14 hvguy (42)
05/14 thehappyelectron (15)
05/14 Justin (2025)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

motion detection

1 2 3 
Move Thread LAN_403
ragnar
Wed Aug 15 2007, 12:23PM Print
ragnar Registered Member #63 Joined: Thu Feb 09 2006, 06:18AM
Location:
Posts: 1425
Hi all,
I'm curious as to how one might be able to build a small 'analogue motion detector' without a microcontroller.

For example:
you wave your hand past (for example) a photodiode (?), and a motor spins up and down to reflect the stimulus,
but if you keep your hand in front of the photodiode, the motor spins down anyway,
but if you then move your hand away from in front of the photodiode, the motor spins up and down again, reflecting the 'change of light' getting into the photodiode.

I guess I'm looking for an analogue output which is proportional to a rate-of-change of light intensity.

Can anybody analogise this better than me, or suggest an avenue of research, or the particular 40XX chips I should be playing around with? Photodiodes? Light dependent resistors? Phototransistors? What should I really be using? :P
Back to top
Carbon_Rod
Wed Aug 15 2007, 12:57PM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
IR motion sensor from security yard lights are about $15 from the hardware store.

Optics and all... =)
Back to top
ragnar
Wed Aug 15 2007, 01:01PM
ragnar Registered Member #63 Joined: Thu Feb 09 2006, 06:18AM
Location:
Posts: 1425
I'm looking to build several (e.g. tens) of these into a tiny space -- the load may as well be an LED, if that gives a better idea of scale.

There's gotta be someone out there who has done this with a chip and a cap... or something. :)
Back to top
Carbon_Rod
Wed Aug 15 2007, 01:07PM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
Ok, maybe reflective phototransistor + IR LED .... fast and crudely analog....
( 555 and a 567 PLL could tune the trigger of each unit as long as there is no harmonic selections. A PIC12/PIC10 could also do this with no external parts in RC mode.)

Back to top
Avalanche
Wed Aug 15 2007, 01:31PM
Avalanche Registered Member #103 Joined: Thu Feb 09 2006, 08:16PM
Location: Derby, UK
Posts: 845
I've just been having a think about this, and I scribbled the following on an envelope:


1187184042 103 FT29954 Ldrthing


Obviously not a working circuit, just a possible approach more than anything. In theory, whenever the light level changes, a voltage will be briefly developed across R3... the polarity depending on whether or not it was getting darker or getting lighter, and the peak voltage depending on how quickly the light level changes... so you could calculate R3/C1 for the required sensitivity / speed. Across R3 you'd put something to detect a voltage differential, and use the output of this to trigger a monostable 555 set for 1 second or however long the motor runs for.

Replace TR1 & 2 and the pullups with an arrangement which would actually work wink
Back to top
Marko
Wed Aug 15 2007, 01:50PM
Marko Registered Member #89 Joined: Thu Feb 09 2006, 02:40PM
Location: Zadar, Croatia
Posts: 3145
Hey BP

Yes, for a sensor definitely go for a reflective phototransistor+led.

Problem is, that you will not get enough sensitivity without modulation unless you are running it in total dark. You'll need some kind of oscillator and demodulating bandpass filter.

Even with this approach I never achieved ranges better than few centimeters.

The motor thing can be done simple, just use an amplifier (totem pole?) and a DC-blocking capacitor in series with motor.

Now, if you can give us more insight in your project it may tell more about level of crudeness you need...
Back to top
Steve Conner
Wed Aug 15 2007, 02:01PM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
Yeah, what do you *really* want to do? A photodiode followed by a transimpedance amplifier and differentiator (both made from op-amps) would be my first line of attack, but without knowing about the project, it's hard to say.
Back to top
ragnar
Wed Aug 15 2007, 02:04PM
ragnar Registered Member #63 Joined: Thu Feb 09 2006, 06:18AM
Location:
Posts: 1425
I just want to have a play around with interactive arrays of 'stuff'. I guess I was initially inspired by examples such as this:
http://multi-touchscreen.com/, but I'm not looking for any degree of complexity or depth, just to fiddle.
Back to top
Sulaiman
Wed Aug 15 2007, 04:43PM
Sulaiman Registered Member #162 Joined: Mon Feb 13 2006, 10:25AM
Location: United Kingdom
Posts: 3141
That's amazing!

For a dense array you could (possibly?) have a jFET such as BF245C
with a led in the drain to +9V, source to 0V, gate to "aerial" and 33 MOhm to 0V
The "aerial" would be a bit of wire/foil etc.
The aerial would pick up mains hum from your body and modulate the light
unfortunately it would be all ON with darkness following you.

I've not 'played' with small mosfets, but if it works that would be light following you.

Doing similar with an op-amp would, although a little more complex,
would follow you with light - just a mains hum pickup amplifier feeding each led.

Wouldn't be as cool as the video though.
I guess position sensing with a computer/display would be easier/cheaper/more versatile
i.e. 1024 x 768 display = 786,432 x (led + "amplifier" + board-space + effort) = $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Back to top
Simon
Thu Aug 16 2007, 12:39AM
Simon Registered Member #32 Joined: Sat Feb 04 2006, 08:58AM
Location: Australia
Posts: 549
BlackPlasma wrote ...

I'm looking to build several (e.g. tens) of these into a tiny space -- the load may as well be an LED, if that gives a better idea of scale.

There's gotta be someone out there who has done this with a chip and a cap... or something. :)

Don't drop the IR sensor idea so quickly. They are based on pyroelectric crystals, which can be found in small packages - TO39 kind of thing. Pyroelectric crystals have an inherently high-pass response, hence the use for motion detectors.

A photodiode circuit might be easier to get parts for, though.
Back to top
1 2 3 

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.