Alarm Input Management


believe code in way exist web search not helped.
i'm starting , needs advise point @ right direction develop functionality described.

alarm management
hardware
2 digital input switch (i.e. level switch)
1 digital input push button (alarm acknoledge)
2 digital out leds
1 digital out buzzer

description (temporal sequence)
normal condition: switch open, leds off, buzzer off.
switch1 close = led1 flash fast, buzzer sound
switch2 close = led2 flash slow, buzzer sound
switch1 open = led1 flash fast, buzzer sound (no change)
press acknoledge pb = buzzer silent, led1 off, led2 on steady.
switch2 open = led2 off, buzzer silent.

note:
the first alarm shall originate fast flashing led distinguish second alarm.

any hint or link appreciated
dp

what have tried? can reliably read switches? can make led turn on , off? can make buzzer make noise? once can things (and there examples each), know wiring correct, , hardware works. combining examples create finished sketch not difficult. or, wouldn't if requirements weren't vague.

you need make requirements exact - no terms fast , slow. define fast means. define slow means.


Arduino Forum > Using Arduino > Project Guidance > Alarm Input Management


arduino

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support