0.13.0 • Published 8 years ago

zetta-buzzer-edison-driver v0.13.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

##Control an Piezo Buzzer using Zetta and Intel Edison

###Install

$> npm install zetta-buzzer-edison-driver

###Usage

var zetta = require('zetta');
var Buzzer = require('zetta-buzzer-edison-driver');

zetta()
  .use(Buzzer, 3)
  .listen(1337)

Hardware

###Transitions

#####turn-on

No arguments. Turns on the buzzer continuously at 500Hz.

This signal conforms to Swedish Standard SS 03 17 11, No. 4 "All clear"

#####turn-on-pulse

No arguments. Alternately turn the buzzer on at 500Hz for 150 ms then off for 100ms.

The signal conforms to Swedish Standard SS 03 17 11, No. 1 "Imminent Danger".

#####turn-on-alternating

No arguments. Alternately turns on the buzzer at 560Hz for 100 ms then off for 400ms.

The signal conforms to "French fire sound" NF S 32-001-1975.

#####turn-off

No arguments. Turns off the beeping.

#####beep

No arguments. Beeps the buzzer once.

###Design

The sound designs in the buzzer driver follow international standards. Confer with list of alarm sound tones from Siemens.

0.13.0

8 years ago

0.12.0

9 years ago

0.10.0

9 years ago

0.9.0

10 years ago

0.8.0

10 years ago

0.7.0

10 years ago