Poll
Question: How do I  program a  distance restriction code for X band detector
measure distance - 1 (50%)
x band detector distance - 1 (50%)
Total Voters: 2

Pages: [1]   Go Down
Author Topic: Distance code for X band Sensor  (Read 691 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,
Does anyone know the best way I could write a sketch code for restricting the distance for an X-Band motion dector? I figured out that I would need to measure the pulse width inorder to write the code. After I figured out the pulse's width, what do I do with the result that I have discover? What main concern or key words should I be aware of when writing this code? I attched some information about my motion dectector incase someone would like more infomation. I would like for my detector to only turn on when it detects motion 1 foot (30.480000000029015 cm or 12 inches ) from my project. My detector could dectect up to 30 ft.  Any tips or guidence would greatly appreciated. Thanks!

* 32213-X-BandMotionDetector-v1.1.pdf (464.27 KB - downloaded 16 times.)
* Pulse width code.txt (0.38 KB - downloaded 15 times.)
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 302
Posts: 26312
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It's a continuous Doppler unit; you can't measure range.

FWIW, 1 foot is a little over 1 light-nanosecond. You'd be better off using sonar.
« Last Edit: April 14, 2012, 02:58:51 pm by AWOL » Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 614
Posts: 49365
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

And stop with the polls. Right next to the stupid new poll button is the new thread/topic button. Use that one instead, so you don't look like a doofus with the useless polls.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for your reply. You didn't anwser my topic but I will make a note of the polls.
Logged

Pages: [1]   Go Up
Jump to: