This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Reset

In one of my projects where I use 89C2051 microcontroller, I connect one O/P pin to a mechanical counter (through a driver). My problem is when reset during switch ON, my O/P pin goes high and come down thus generating a pulse which the counter counts. I want to avoid this unwanted counting till my program gets control.
Can anyone please suggest a solution?

Parents
  • Put a logic inverter (74HC04) to drive the mechanical counter. 89C2051 generates a pulse for the counter by toggling the port pin hi->low->high. The inactive state is high. If a reset occurs in the inactive state, the counter would not detect a fake pulse.

Reply
  • Put a logic inverter (74HC04) to drive the mechanical counter. 89C2051 generates a pulse for the counter by toggling the port pin hi->low->high. The inactive state is high. If a reset occurs in the inactive state, the counter would not detect a fake pulse.

Children
No data