How to Use Buzzer HW-508 With SkiiiD

This project is an instruction of "how to use Buzzer HW-508(applicable for KY-006) with Arduino via skiiiD

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

https://www.instructables.com/id/Getting-Started-W...

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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: Search or Find a Component

① Type 'Buzzer' on the search bar or find the Buzzer module on the list.

Step 5: Select Buzzer

② Select Buzzer

Step 6: Pin Indication and Configuration

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

*This module has 2 pins to connect

skiiiD Editor automatically indicate pin setting *configuration available

[Default Pin Indication for HW-508 (or KY-006) Passive Buzzer] in case of Arduino UNO

Signal: 3

NC: NONE (Don't have to connect)

GND: GND

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

Step 7: Step 7: Check Added Module

⑤ Added Module has appeared on the right panel

Step 8: SkiiiD Code of Passive Buzzer HW-508(or KY-006)

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

skiiiD auto-complete feature shows skiiID codes
on() - Turn on Buzzer ("Notes", Octave, DelayTime)

Example - ("C",4,200); = Play C Note 4th octave during 200ms

off() - Turn off Buzzer

examples() - Play a music as an example.

There are two pre-registered pieces of music. Put 1 or other numbers on the parenthesis.

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    Discussions