pyupm_biss0001 module

class pyupm_biss0001.BISS0001(pin)[source]

Bases: object

API for the BISS0001 Motion Sensor.

ID: biss0001

Name: Passive Infrared (PIR) Motion Sensor

Other Names: Grove PIR Motion Sensor

Category: light

Manufacturer: seeed

Link:http://www.seeedstudio.com/depot/Grove-PIR-Motion- Sensor-p-802.html

Connection: gpio

Kit: tsk PIR sensors allow you to sense motion, almost always used to detect whether a human has moved in or out of the sensors range. They are small, inexpensive, low-power, easy to use and don’t wear out. For that reason they are commonly found in appliances and gadgets used in homes or businesses. They are often referred to as PIR, “Passive Infrared”, “Pyroelectric”, or “IR motion” sensors.

C++ includes: biss0001.hpp

motionDetected()[source]

bool motionDetected()

Gets the motion value from the sensor. This is a more informative method name, but we want to keep compatibility with the original for now.

true if motion was detected, false otherwise.

value()[source]

bool value()

Gets the motion value from the sensor.

true if motion was detected, false otherwise.