Motion Detection

is this possible with the SRF05?and is it possible that it can do it while moving? SplatBot got me inspired to do this…

With the right code, it’d
With the right code, it’d probably be possible -
Psuedo code:

keep checking srf05
if newdistance != olddistance
motion_detected


It’d probably be helpful to check if the new distance is a certain amount more or less than the old distance, but for the very basics, that type of thing should work.

thanks for the idea im gonna
thanks for the idea im gonna work on it…keep the ideas flooding in… :slight_smile:

yep it works:if

yep it works:

if delta(reading) > threshold then movemet_detected