รถเข็นของคุณว่างเปล่า!
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 :
- Raspberry Pi
- Maker Hat
- USB Micro B Cable
- 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!
[gist https://gist.github.com/atifahsuad/b765eec9846105a47ca819dd3fb2c153/]
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.