Expand menu
Hello, Sign in
My Account
0
Cart
Home
Products
Sensors
Semiconductors
Passive Components
Connectors
Power
Electromechanical
Optoelectronics
Circuit Protection
Integrated Circuits - ICs
Main Products
Manufacturers
Blog
Services
About OMO
About Us
Contact Us
Check Stock
SEN0018
P1-P3
P4-P4
DigitalInfraredmotionsensor(SKU:SEN0018)
Contents
1
Introduction
2
Specification
3
Application
4
Pinout
5
Tutorial
5.1
Connection Diagram
5.2
Sample Code
5.3
Result
6
FAQ
7
More
Introduction
This is a simple to use motion sensor. Power it
up and wait 1-2 seconds for the sensor to get a
snapshot of the still room. If anything moves afte
r that period, the 'alarm' pin will go low.
Specification
Type: Digital
Supply Voltage:3
~
5V
Current:50
μ
A
Working temperature:0
~+
70
Output level(HIGH):4V
Output level(LOW):0.4V
Detect angle:110 Degree
Detect distance:7 meters
Size:28mm×36mm
Weight:25g
Application
Automatic door
Infrared burglar alarm
The highway vehicle traffic counter
Pinout
Num
Label
1 Digital Signal Out
2
VCC
3 GND
4
Jumper Selection
: Repeatable trigger and unrepeatable trig
selection.
H
: Repeatable trigger
L
: Unrepeatable trigger
5
Potentiometer
: To adjust trigger latency from 0.5s to 50s.
Tutorial
ConnectionDiagram
Motion sensor Connection diagram
SampleCode
const int buttonPin = 2;
const int ledPin = 13;
void setup() {
pinMode(ledPin, OUTPUT);
pinMode(buttonPin, INPUT);
}
void loop()
{
if (digitalRead(buttonPin) == HIGH)
{
digitalWrite(ledPin, HIGH);
}
else {
digitalWrite(ledPin, LOW);
P1-P3
P4-P4
SEN0018
Mfr. #:
Buy SEN0018
Manufacturer:
DFRobot
Description:
Multiple Function Sensor Development Tools GravityDigital IR Motion Sensor
Lifecycle:
New from this manufacturer.
Delivery:
DHL
FedEx
Ups
TNT
EMS
Payment:
T/T
Paypal
Visa
MoneyGram
Western
Union
Products related to this Datasheet
SEN0018