Editing PIR Sensor
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
= Description = | = Description = | ||
− | A PIR Sensor can detect motion, it is also called motion sensor. It detect moveing people or animals. PIR stands for passive infrared | + | A PIR Sensor can detect motion, it is also called motion sensor. It detect moveing people or animals. PIR stands for passive infrared. |
It has 3 connectors: | It has 3 connectors: | ||
− | * | + | * + connected to GND |
− | * | + | * - connected to 3.3V |
* Out - digital output is 1 if motion is detected | * Out - digital output is 1 if motion is detected | ||
[[File:Pir3.PNG|x300px]] | [[File:Pir3.PNG|x300px]] | ||
+ | = How to connect it electrically = | ||
+ | [[File:Joystick-electro.JPG|x400px]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= How to control it in MicroPython = | = How to control it in MicroPython = | ||
Line 35: | Line 30: | ||
= Related Tutorial Videos = | = Related Tutorial Videos = | ||
<youtube>C0W-wI0qHIQ</youtube> | <youtube>C0W-wI0qHIQ</youtube> | ||
− | |||
− |