count drop from sensor signal via arduino