TINKER PIEDESIGN IN INDIA

PIR motion sensor HC-SR501 with TinkerPie

Senses body heat moving: burglar alarms, automatic lights.

TypeDigital sensors
Connect toany accessory pin
Givestrue while a person moves
SimulatorYes: a control appears under the simulated board

How to wire it

Signal (DO / OUT / S) to any accessory pin: S1-S4, P10-P13, P43 or P44. Power from 3.3 V where the module allows it.

Code

In blocks: Accessories category in TinkerPie Studio. As code:

// JavaScript
sensors.pirMotion(Pin.S1)

// Arduino C++
sensors::pirMotion(Pin::S1)

Projects with the PIR motion sensor HC-SR501

Intruder alarmA PIR motion sensor sees someone moving: red flashes and a siren.Sensor projects

Similar modules