-
1Video Instruction
-
3Step 2. Add Component
#1 Click '+' (Add Component Button) to search and select the component.
#2 ① Type 'Buzzer' on the search bar or find the Buzzer module on the list.
#3 ② Select Buzzer
#4 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
#5 After configuring pins ④ click ADD button on the right below side
#6 ⑤ Added Module has appeared on the right panel
-
4skiiiD Code of Passive Buzzer HW-503(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.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.