, ,

Módulo sensor movimento PIR para Arduino Keyestudio

REF: KS0052


Este módulo de movimento é capaz de detetar sinais infravermelhos de uma pessoa ou animal em movimento. Pode ser útil em várias circunstâncias. Dispõe de um sensor infravermelho piroeléctrico integrado, é pequeno, mais confiável, tem um menor consumo de energia e um circuito periférico simples.

3,48 IVA INCL.

Módulo sensor movimento PIR para Arduino Keyestudio

nput Voltage: 3.3 ~ 5V, 6V Maximum
Working Current: 15uA
Working Temperature: -20 ~ 85 ℃
Output Voltage: High 3V, low 0V
Output Delay Time (High Level): About 2.3 to 3 Seconds
Detection angle: 100 °
Detection distance: 7 meters
Output Indicator LED (When output HIGH, it will be ON)
Pin limit current: 100mA
Size: 30*20mm
Weight: 4g

Marca

byte sensorPin = 3;
byte indicator = 13;
void setup()
{
  pinMode(sensorPin,INPUT);
  pinMode(indicator,OUTPUT);
  Serial.begin(9600);
}

void loop()
{
  byte state = digitalRead(sensorPin);
  digitalWrite(indicator,state);
  if(state == 1)Serial.println("Somebody is in this area!");
  else if(state == 0)Serial.println("No one!");
  delay(500);
}

 

Vídeo

Também pode gostar…