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

Microbit Smart Home Kit: Voice-activated Lights
Make A Compass Using micro:bit
Program micro:bit Wirelessly Using Microbit App on iPad
Non-Contact Hand Washing Timer Using Maker UNO
Send Data Wirelessly Between ESP32 Using ESP-NOW
Scroll to Top