In this chapter, we will look at how to use the HC-SR501 motion sensor. It is a very easy sensor to connected to the Arduino and program, which is why it is usually one of the first sensors that people experiment with when they start working with microcontrollers. It is also very inexpensive and often comes with most starter kits.
In this chapter you will learn:
- How to connect an HC-SR501 motion sensor to the Arduino
- How to read the output of the HC-SR501 motion sensor
- Read the Fritzing diagram of the motion sensor project