How to Use Ultrasonic HC-SR04 with "skiiiD"

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

Similar projects worth following
Before start, there is a basic tutorial for how to use skiiiD

  • 1 × Arduino Uno
  • 1 × Ultrasonic Sensor - HC-SR04
  • 1 × skiiiD

  • 1
    Launch skiiiD and select Arduino UNO

    skiiiD Start Page

    #1 Launch skiiiD and select New button

    Select Board

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

  • 2
    Add Ultrasonic Component
    "Add Component Button"

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

    Add Ultrasonic Module

    #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.

  • 3
    Two Functions of Ultrasonic
    2 Functions of Ultrasonic Module

    #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.

View all 4 instructions

Enjoy this project?



Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates