Using an HC-SR501 Motion Sensor with a Relay and Arduino Code

Using an HC-SR501 Motion Sensor with a Relay and Arduino Code

This video shows you how to control a relay when motion is detected. You can turn on an alarm, an AC bulb, or any other load by detecting motion using an Arduino and an HC-SR501 motion sensor.

141-Arduino source code for an HC-SR501 motion sensor to control an AC bulb or load
Language: C++
Copied!

Resources & references

No resources yet.

Files📁

No files available.