Use Arduino to drive HC-SR501 infrared motion sensor and 2-relay

Byamber

Use Arduino to drive HC-SR501 infrared motion sensor and 2-relay

1)Objective:

This project will show you how to use Arduin to drive HC-SR501 infrared motion sensor and detect human motion.

2)Parts and Devices

1 x Arduino UNO

1 x HC-SR501 infrared motion sensor

1 x USB cable

1 x 2-channel relay

1 x RED LED

1 x BLue LED

1 x Breadboard

Jumper wires

3)Circuit graph

HC-SR501_Ralay_bb

4)sample code link

down load motion sensor relay sample code

5)Result

When human is moving close to motion sensor, relay channel one will open and channel 2 will close, RED LED will turn on and blue LED will turn off. When human is moving away from sensor, relay channel 1 will close and channel 2 will open. Red LED will turn off and Blue LED will turn on. Picture as following:

IMG_20160815_142542

IMG_20160815_142602

About the Author

amber administrator

4 Comments so far

medicine viagra indiaPosted on  3:28 pm - Nov 23, 2023

medicine viagra india

Use Arduino to drive HC-SR501 infrared motion sensor and 2-relay – kookye.com

help on writing an essayPosted on  6:35 am - Dec 12, 2023

help on writing an essay

Use Arduino to drive HC-SR501 infrared motion sensor and 2-relay – kookye.com

mba essay editing servicesPosted on  2:49 am - Dec 14, 2023

mba essay editing services

Use Arduino to drive HC-SR501 infrared motion sensor and 2-relay – kookye.com

cheap essay onlinePosted on  7:29 pm - Dec 17, 2023

cheap essay online

Use Arduino to drive HC-SR501 infrared motion sensor and 2-relay – kookye.com

You must be logged in to post a comment