Introduction: How to Use Detect Human HC-SR501

A tutorial to develop Detect Human HC-SR501 with skiiiD.

Step 1: Launch SkiiiD

Launch skiiiD and select New button

Step 2: Select Arduino UNO

Select ① Arduino Uno and then click ② OK button

*This is Tutorial, and we use Arduino UNO. Other boards(Mega, Nano) have the same process.

Step 3: Add Component

Click '+' (Add Component Button) to search and select the component.

Step 4: Saerch or Find a Component

① Type 'Detect' on the search bar or find the Detect Human HC-SR501 on the list.

Step 5: Select Detect Human HC-SR501

② Select Detect Human HC-SR501 Module

Step 6: Pin Indication and Configuration

#4 then you can see ③ pin indication. (You can configure it.)

*This module has 3 pins to connect

skiiiD Editor automatically indicate pin setting *configuration available

[Default Pin Indication for Detect Human HC-SR501] in case of Arduino UNO


OUT: 2


After configuring pins ④ click ADD button on the right below side

Step 7: Check Added Module

⑤ Added Module has appeared on the right panel

Step 8: SkiiiD Code of Detect Human HC-SR501

skiiiD Code is intuitive function-based codes. This is based on skiiiD libraries

void DetectHumanHCSR5010Interrupt1() {

if(digitalRead(2) == HIGH) {

// When triggerd

} else {

// When released


Step 9: Contact and Feedback

We are working on components and boards libraries. Feel free to use it and feedback us, please. Below is contact methods




skiiiD user forum:

Comments are fine too!