yohanevindra
New Member
I have to do part of a project which consists of a PIC18F452, and interfacing it to a 12-key kaypad. we could either connect the keypad directly to the PIC which will take up more pins, and then also complicate the code, or either we could use a encoder (MM74C922N) when going through the datasheet for the encoder, there was a section detailing applications and there were 3 methods namely, "Synchronus handshake, synchronus data entry onto bus and asynchronus data entry onto bus. " which method do we use?I was tihnkin that i could use interrupts and when the interrupt is triggered then the input for the encoder is read..i could use polling, but then processor power and time is used for this.
the methods mentioned in the datasheet use circuits in addition to the encoder, like flip flops, AND gates, and inverters.
if we jus connect the encoder to the PIC and then use it is it sufficient?or do we hav to apply it like the data sheet specifies in the application section of the datasheet?
the link to the datasheet is
https://www.electro-tech-online.com/custompdfs/2009/10/88904.pdf
the methods mentioned in the datasheet use circuits in addition to the encoder, like flip flops, AND gates, and inverters.
if we jus connect the encoder to the PIC and then use it is it sufficient?or do we hav to apply it like the data sheet specifies in the application section of the datasheet?
the link to the datasheet is
https://www.electro-tech-online.com/custompdfs/2009/10/88904.pdf