Ks0422 keyestudio micro:bit PIR Motion Module: Difference between revisions
Keyestudio (talk | contribs) |
Keyestudio (talk | contribs) |
||
Line 47: | Line 47: | ||
==Resources == | ==Resources == | ||
Download | |||
https://drive.google.com/open?id=1ehxOTPrrb9BJ6OtClH2uaKlS3Pb9VcvT | *'''Download relevant datasheet and code:''' https://drive.google.com/open?id=1ehxOTPrrb9BJ6OtClH2uaKlS3Pb9VcvT | ||
* [http://microbit.org/ BBC micro:bit website ] <br> | |||
* [https://makecode.microbit.org/ Micro:bit MakeCode Block Editor ]<br> | |||
* [http://microbit.org/guide/ Meet micro:bit starter programming] <br> | |||
* [http://microbit.org/guide/features/ BBC micro:bit Features Guide ] <br> | |||
* [http://microbit.org/guide/features/ BBC micro:bit Safety Warnings ] <br> | |||
* [http://microbit.org/guide/quick/ BBC micro:bit Quick Start Guide ] <br> | |||
* [http://microbit.org/guide/hardware/pins/ BBC micro:bit Pins ] | |||
<br> | <br> | ||
==Get One Now== | ==Get One Now== | ||
*[https://www.aliexpress.com/store/product/keyestudio-PIR-Motion-Sensor-Module-For-BBC-micro-bit/1452162_32997053565.html?spm=2114.12010611.8148356.13.3f896c0eHzY5BG Shop on aliexpress ] | *[https://www.aliexpress.com/store/product/keyestudio-PIR-Motion-Sensor-Module-For-BBC-micro-bit/1452162_32997053565.html?spm=2114.12010611.8148356.13.3f896c0eHzY5BG Shop on aliexpress ] |
Revision as of 17:56, 25 July 2019
Description
This keyestudio PIR motion module is fully compatible with micro:bit control board.
It is mainly composed of a digital pyroelectric infrared sensor, which is a digital signal output device.
This sensor has built-in filters, strong anti-interference, low voltage and micro power consumption.
The detection distance of the module is 3-5 meters.
The detection angle in the horizontal direction is less than 80°; the detection angle in the vertical direction is less than 55°
There are total 6 rings on the module. Note that two G rings, two V rings and two S rings are separately connected. G for ground; V for 3V; S for signal pin(0 1 2).
When using, connect the module to micro:bit control board using Crocodile clip line.
Once detecting someone moving nearby, the signal pin of micro:bit main board will input HIGH level; LED on the module lights.
Technical Parameters
- Working voltage: DC 3.0-3.3V
- Working current: 100mA
- Maximum power: 0.5W
- Output signal: digital signal
- Detection distance: 3-5 meters
- Detection angle: less than 80°in the horizontal direction and less than 55° in the vertical direction
- Operating temperature range: -30℃~ +80℃
- Dimensions: 31mm*27mm*6mm
- Weight: 2g
- Environmental attributes: ROHS
Connection Diagram
Source Code
Example Result
Connect well the module, then send the source code to the micro:bit main board.
When detecting someone moving nearby, the LED matrix on the micro:bit main board will show a heart shape icon, and led on the PIR module lights.
Or else, it will show another image and led turns off.
Resources
- Download relevant datasheet and code: https://drive.google.com/open?id=1ehxOTPrrb9BJ6OtClH2uaKlS3Pb9VcvT
- BBC micro:bit website
- Micro:bit MakeCode Block Editor
- Meet micro:bit starter programming
- BBC micro:bit Features Guide
- BBC micro:bit Safety Warnings
- BBC micro:bit Quick Start Guide
- BBC micro:bit Pins