How to Use Ultrasonic HC-SR04 With "skiiiD"

Introduction: How to Use Ultrasonic HC-SR04 With "skiiiD"

Tutorial to use Ultrasonic HC-SR04 module with "skiiiD."

Before start, there is a basic tutorial for how to use skiiiD

https://www.instructables.com/id/Getting-Started-With-SkiiiD-Editor/

Step 1: Launch SkiiiD

#1 Launch skiiiD and select New button

Step 2: Select Arduino UNO

#2 Select ①Arduino Uno and then click ②OK button

Step 3: Add Ultrasonic Component

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

Step 4:

#2 ① search Ultrasonic Module on the search bar and

#3 ②Click Joystick Module,

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

#5 ④ click ADD button

#6 ⑤ Added Module has appeared on right pane on the editor page.

Step 5: Two Functions of Ultrasonic

#1 skiiiD library provides 2 functions

1) getDistance - As it says, get distance from the module to an obstacle.

2) getDuration - this function measures the travel time of ultrasonic from module to an obstacle.

Step 6: Welcome to Contact and Feedbacks

We are working on components and boards libraries.

Feel free to use it and welcome to feedback. Below is contact methods

email: contact@skiiid.io

twitter: https://twitter.com/skiiiD_official

Facebook: https://www.facebook.com/enterphin

or visit https://skiiid.io/contact/ and go to Need help tab.

Comments are fine too!

Be the First to Share

    Recommendations

    • Make it Glow Contest

      Make it Glow Contest
    • First Time Author Contest

      First Time Author Contest
    • PCB Challenge

      PCB Challenge

    Discussions