Before start, below URL link is a basic tutorial for how to use skiiiD
https://www.hackster.io/skiiid/getting-started-with-skiiid-editor-f69b5d
Video InstructionStep 1. Launch skiiiD and select Arduino UNO#2 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 2. Add Component#1 Click '+' (Add Component Button) to search and select the component.
#2 ① Type 'Detect' on the search bar or find the Search Detect Human HC-SR501 on the list.
#3②Select Detect Human HC-SR501.
#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
GND: GND
OUT: 2
VCC: 5V
#5 After configuring pins ④ click ADD button on the right below side
void DetectHumanHCSR5010Interrupt1() {
if(digitalRead(2) == HIGH) {
// When triggerd
} else {
// When released
}
}
Contact and FeedbackWe are working on components and boards libraries. Feel free to use it and feedback us, please. Below is contact methods
email: contact@skiiid.io
twitter: https://twitter.com/skiiiD_official
Youtube:https://www.youtube.com/channel/UCfS2RQL3m3hVoHkFo4R0AnQ
skiiiD user forum:https://www.facebook.com/groups/skiiiD/
Comments are fine too!
Comments
Please log in or sign up to comment.