Raspberry Pi with PIR Sensor

INTRODUCTION

In this lesson, we will learn on how to use a PIR sensor module with Raspberry Pi. It’s simple and easy project to detect a motion. 

HARDWARE PREPARATION

This tutorial use :

  1. Raspberry Pi
  2. Maker Hat
  3. USB Micro B Cable
  4. Low Cost PIR Sensor Module

You can make the hardware connection based on the diagram and table below.

Sample Code

This is the sample code used for this tutorial. Try it!

Thank you

Thank you for reading this tutorial and we hope it helps your project development. If you have any technical inquiry, please post at Cytron Technical Forum.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Soil Moisture Alarm Using CircuitPython on Seeeduino XIAO
Read Surrounding Temperature and Humidity Using Grove Beginner Kit
Program Seeeduino XIAO Using CircuitPython
Does Technology Make Us Feel Safe
Send Video to Telegram Bot Using Raspberry Pi Camera
Scroll to Top