Ks0422 keyestudio micro:bit PIR Motion Module: Difference between revisions
Keyestudio (talk | contribs) No edit summary |
Keyestudio (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
[[image: | [[image:Ks0422-1.png|thumb|300px|right|keyestudio PIR Motion Module For BBC micro:bit]] | ||
<br> | <br> | ||
==Description== | ==Description== | ||
This keyestudio | This keyestudio PIR motion module is fully compatible with micro:bit control board.<br> | ||
It is mainly composed of a digital pyroelectric infrared sensor, which is a digital signal output device. <br> | |||
This sensor has built-in filters, strong anti-interference, low voltage and micro power consumption. <br> | |||
The detection distance of the module is 3-5 meters. <br> | |||
There are total 6 rings on the module. Note that two G rings, two V rings and two S rings are connected. G for ground; V for 3V; S for signal pin(0 1 2) | The detection angle in the horizontal direction is less than 80°; the detection angle in the vertical direction is less than 55° <br> | ||
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).<br> | |||
When using, connect the module to micro:bit control board using Crocodile clip line.<br> | When using, connect the module to micro:bit control board using Crocodile clip line.<br> | ||
Once detecting someone moving nearby, the signal pin of micro:bit main board will input HIGH level; LED on the module lights. | |||
<br> | <br> | ||
<br> | <br> | ||
== Technical Parameters == | == Technical Parameters == | ||
* Working voltage: DC 3.0-3.3V | * Working voltage: DC 3.0-3.3V | ||
* Output | * Working current: 100mA | ||
* Dimensions: 31mm*27mm* | * Maximum power: 0.5W | ||
* Weight: | * Output signal: digital signal | ||
* Environmental attributes: ROHS | * 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 | |||
<br>[[File: | <br>[[File:Ks0422-2.png|450px|frameless|thumb]]<br> | ||
<br> | <br> | ||
== Connection Diagram== | == Connection Diagram== | ||
[[File: | [[File:Ks0422-3.png|500px|frameless|thumb]]<br> | ||
<br> | <br> | ||
== Source Code == | == Source Code == | ||
[[File: | [[File:Ks0422-4.png|600px|frameless|thumb]]<br> | ||
<br> | <br> | ||
Line 35: | Line 40: | ||
== Example Result == | == Example Result == | ||
Connect well the module, then send the source code to the micro:bit main board.<br> | Connect well the module, then send the source code to the micro:bit main board.<br> | ||
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. | |||
<br>[[File:Ks0421-5.png|600px|frameless|thumb]]<br> | <br>[[File:Ks0421-5.png|600px|frameless|thumb]]<br> | ||
Line 43: | Line 48: | ||
==Resources == | ==Resources == | ||
Download all relevant info. below: <br> | Download all relevant info. below: <br> | ||
<br> | <br> |
Revision as of 16:16, 4 April 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 all relevant info. below: