Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 13th May 2004, 05:30 PM   (permalink)
Default anyone had experiance with the 74c922

Has anyone used the 74c922 16-key encoder chip? am just wondering whether you have experianced the same problems as i am!?

When i connect the data output pin via an inverter to the output enable pin, i will get what appears to be undebounced signals when i press a button although it says the debouncing is taken care of via a capacitor..

I cure this problem by connecting the output enable pin directly to ground but then when i press the a key the outputs latch! i don't want the outputs to latch, i am just wondering if anyone has come across the same/similar problem?
carlosthejackle2001 is offline  
Old 13th May 2004, 08:35 PM   (permalink)
Default Re: anyone had experiance with the 74c922

Quote:
Originally Posted by carlosthejackle2001
<snip>When i connect the data output pin via an inverter<snip>
Do you mean data available pin?
Roff is offline  
Old 14th May 2004, 09:31 AM   (permalink)
Default

yeah i connect the data available pin via the inverter back to the output enable pin...

when i do this, before i push a button the data available pin is low therefore the output enable pin is held high and all outputs are low. However when i push a button on the key pad the data available pin goes high therefore the ouput enable pin goes low; which it does.

The problem seems to be when i release the button there are small spikes on each of the output lines! I have no idea what is causing these, these small spikes are being interpreted by the rest of the logic chips as logic '1's.

To cure this i connect the output enable pin directly to ground but then the outputs latch! which i do not want....

I also noticed that if i tie the output enable pin directly to +Vcc i.e. disable the outputs i still get these voltage spikes from the outputs when i press a button on the keypad!

Do you think there is possiblly a flaw with the chip or possible broken?!
carlosthejackle2001 is offline  
Old 14th May 2004, 03:13 PM   (permalink)
Default

The output enable is a tri-state control, meaning it forces the outputs to high impedance when it is at VCC. The logic levels are undefined in this state, and noise will easily show up as a result of key presses. If you are sending this data to another CMOS device, you can solve the problem by adding a 10kohm pulldown from each data output to GND. This will guarantee a logic "0" state when the outputs are disabled.
Roff is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 11:56 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker