RedstoneChips

pirsensor

a PIR (Passive Infra-red) heat sensor for detecting living entities within a radius. Once the circuit’s clock pin is triggered, its output alarm pin will turn on if a living entity is within the selected radius (a 10 blocks sphere around the interface block by default) and off if no living entities were detected.

An optional sensitivity sign argument can be used to set the detection radius in blocks.

Use the cube argument to set the detection area shape to a cube instead of a sphere.

To specify any number of detectable entity classes add their names (these are case-sensitive) as arguments. Some examples of entity classes may include:

For a full list click here

on Wikipedia

source code


I/O setup

Sign text

  1. pirsensor
  2. [sensitivity] (optional, defaults to 10 blocks radius)
  3. [cube] (optional, defaults to a sphere)
  4. [entity class]...[entity class] (optional, defaults to LivingEntity)

Version history: Added to SensorLibrary 0.1

Fork me on GitHub