How to Use Ultrasonic HC-SR04 With "skiiiD"
by skiiiD in Circuits > Arduino
210 Views, 0 Favorites, 0 Comments
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/
Launch SkiiiD
#1 Launch skiiiD and select New button
Select Arduino UNO
#2 Select ①Arduino Uno and then click ②OK button
Add Ultrasonic Component
#1 Click '+' (Add Component Button) to search and select the component.
#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.
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.
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!