Click here for a free subscription to "HDE" our site newsletter.

Arduino Motion Detector Hardware

Arduino Ultrasonic Motion Detector Hardware

LED and resistor on Arduino pin 13

The hardware is the same as it was in issue #1 with the addition of an LED and a 470Ω resistor. Connect the resistor to the Arduino pin 13 with the other end to the Anode of the LED. Connect the cathode of the LED to Gnd. Like this:

Well there isn't much to say about the additional hardware except to make sure that you get the LED in the correct way around. You can wire up the two components on the HC-SR04 breadboard conveniently.

This version of the Motion sensor simply flashes the LED when movement is detected but you could use the output to drive a buzzer or even a relay attached to a battery operated water gun if you wanted to.

Each time motion is detected the output goes high for a few seconds after which there is a rest period during which it will not fire again. This helps to keep multiple triggering on the same movement to a minimum.

Now subscribe to our newsletter and don't miss a thing


No comments yet.

Add Comment

* Required information
(will not be published)
Bold Italic Underline Strike Superscript Subscript Code PHP Code Quote Insert line Bullet list Numeric list Link Email Image Video
Smile Sad Huh Laugh Mad Tongue Crying Grin Wink Scared Cool Sleep Blush Unsure Shocked
Enter code:
Notify me of new comments via email.
Remember my form details on this computer.
I have read and understand the privacy policy. *
I have read and agree to the terms and conditions. *
Powered by Commentics
Click here for a free subscription to "HDE" our site newsletter.