Contador de mudança estados - Pin change counter

Contador de mudança estados - Pin change counter

Este é um contador de mudança de estados lógicos. Tive de construir este circuito para verificar as saidas de um outro projecto ( Controlo do portão da garagem com o comando do alarme do carro/ ). Queria certificar-me que o circuito para o carro estava perfeitamente estável e que não iria abrir o portão da garagem sozinho a meio da noite !

Ele fica ligado ao circuito do carro e contabiliza o número de vezes que há uma passagem do nível lógico 0 para 1.

Como pretendo que o resultado seja zero ( não accionou o portão sozinho ), qualquer resultado diferente de zero é suficiente para indicar que não está estável. Por esta razão apenas coloquei um display de 7 segmentos com informação até 9 contagens. Caso detecte mais de 9 mudanças de estado ele indicará a letra F ( Fora de range ).

 No estado normal ele não tem indicação nenhuma no display para ter a melhor resolução de detecção possivel. Para saber se detectou alguma coisa basta premir o botão e ele indicará se houve alguma ocorrencia e quantas.

This is a logic state change counter. I had to build this circuit to check the outputs of another project ( Controling the garage door using the car's remote/ ).  I want to make sure that the car circuit is perfectly stable and will not open the garage door by it self in the midle of the night !

It stays connected to the car circuit and counts the number of times the logic state goes from 0 to 1.

Because i want the result to be zero ( it didnt triggered the garage door by it self ), any other result different than zero is enough to indicate that it's not stable. For that reason i just placed one 7 segment display with the information up to 9 counts. In case it detects more than 9 changes it will indicate the letter F ( out of range ).

In the normal state the circuit does not have any indication on the display for it to get the best resolution possible in detection cycle.

To find out if any detection was made just need to press the switch and it will show how many.

 

 

Agora é só ligar ao circuito do carro durante a noite e verificar no dia seguinte  ;)

Now it's just plug it to the car's circuit during the night and check the morning after ;)