Pages: [1]   Go Down
Author Topic: I have a question  (Read 633 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 5
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have no experiance with programming but want to make a security spot light which tracks a person within an environment.
Can this be done?
How do I go about it?

Thanks for the help.
Logged

South Africa
Offline Offline
Full Member
***
Karma: 1
Posts: 141
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Of course it can be done. It just might be cheaper to buy a ready made one though. What kind of light do you want, do you actually want to physically track a person by having the light follow them, or just have the light come on when you enter the area, because those kinds of lights are cheap.


If you want to make a basic light that detects presence you will need a passive IR sensor of the kind used in alarm systemshttp:// http://en.wikipedia.org/wiki/Passive_infrared_sensor#PIR-based_motion_detector

You will have to interface this to a relay.

For a more complex tracking system you will need some kind of servo mechanism to pan and tilt the light and allow it to follow the person, using stepper motors perhaps.

Detecting the person will be the hard part though. You could use a couple of PIRs and then look for the hot spot by devising an algorithm that takes several measurement, but this can easily be fooled by a false heat source.

The ideal way would be to use a video camera and get some pattern recognition algorithm to trac the person. Again a bit complicated. Or you could get the person to wear a marker and track that using again using a PC much like what they did on an episode of Prototype This http://videos.howstuffworks.com/discovery/33985-prototype-this-optical-glyph-tracking-video.htm

Then you could feed this data to an Arduino via the Serial interface and use that to control the servos with an algorithm that you will have to develop that will actually follow the target.

Thats one solution there are surely others.

Actually sounds like a cool project the more I think about it.
Logged

South African Arduino User Group

http://arduino.za.net

Norway@Oslo
Offline Offline
Edison Member
*
Karma: 13
Posts: 2033
loveArduino(true);
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

OP: Please do not crosspost.
It is not the way of the arduino samurai.
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
OP: Please do not crosspost.
It is not the way of the arduino samurai.
Well it seems it was multi posted at least twice within the same minute  >smiley-sad

Mowcius
« Last Edit: March 17, 2010, 03:40:11 pm by mowcius » Logged

Pages: [1]   Go Up
Jump to: