|
The push button resets the buzzer (lamp). When the last level turns off the relay rearms the buzzer.
*I'm using in the upper logic input a normal closed push button with an resistor, this is cause the program can't understand "no" voltage as 0. So i have to simulate an "short circuit" just to "wire". In real life this should be replaced with an normal open push button in serial, this way: vcc to normal open push button to upper logic input. The last input also have an resistor grounded, no need replace, just disregard that. See at the right.
O push button reseta o buzzer. Quando o último nível desliga o relé rearma o buzzer.
*Estou usando na entrada de cima das portas lógicas um push button com um resistor, fiz isso porque o programa não entende "sem" voltagem como ZERO. Então eu tive que simular um curto circuito apenas pra funcionamento. Na vida real isso deve ser substituído por um push button normal aberto, desse jeito: liga o
vcc no push button normal aberto que já liga na porta. A última entrada também tem um resistor aterrado, não precisa substituir, só desconsidera isso. Veja a direta.
|