Comments on: Interfacing Matrix Keypad with PIC Microcontroller https://electrosome.com/matrix-keypad-pic-microcontroller/ You Inspire.....We Create..... Sun, 03 Jan 2021 06:46:14 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: Ligo George https://electrosome.com/matrix-keypad-pic-microcontroller/#comments/9842 Sun, 03 Jan 2021 06:46:14 +0000 https://electrosome.com/?p=2241#comment-9842 In reply to Johnny Stamboel.

It is not there in the circuit diagram. It is better to add 4 diodes to 4 outputs to the keypad (RB0 ~ RB3) but things will work fine without that. It is just an additional protection.

]]>
By: Johnny Stamboel https://electrosome.com/matrix-keypad-pic-microcontroller/#comments/9825 Tue, 08 Dec 2020 11:20:53 +0000 https://electrosome.com/?p=2241#comment-9825 Hi. I cannot see the diodes, or or how they are connected in the diagram. Can you please clarify>
Regards.

]]>
By: Ligo George https://electrosome.com/matrix-keypad-pic-microcontroller/#comments/9632 Sat, 02 May 2020 10:06:04 +0000 https://electrosome.com/?p=2241#comment-9632 In reply to Tim Nicholson.

Thank you very much for your valuable suggestion. Actually I didn’t even thought about this situation.

Even though I don’t want to complicate the circuit here as this is purely intended for hobbyists/students. I added a note below the circuit diagram adding these points. https://electrosome.com/matrix-keypad-pic-microcontroller/#Circuit_Diagram

I really appreciate your help.

]]>
By: Tim Nicholson https://electrosome.com/matrix-keypad-pic-microcontroller/#comments/9629 Sat, 02 May 2020 05:08:40 +0000 https://electrosome.com/?p=2241#comment-9629 Hi Ligo,

You need to add diodes to the four outputs from the micro. With your current design, it is possible to put a short across the micro by simply pressing two buttons at the same time.

For example of you press both button 1 and button 2 at the same time you effectively join RB1 and RB2 together (follow the current path). When scanning RB1 you are driving it high while driving RB2 low, that results in a short circuit which will cause high current to flow through the port; this is likely to damage it permanently. Even if the micro has short circuit protection, it is bad practice to design any circuit that relies on such protection for normal operation. On many microcontrollers your circuit will simply destroy the output port if the user were to accidentally press two keys together.

]]>
By: Mark Wallis https://electrosome.com/matrix-keypad-pic-microcontroller/#comments/6897 Fri, 06 Oct 2017 20:19:00 +0000 https://electrosome.com/?p=2241#comment-6897 In reply to Ligo George.

or use a Texas Instruments TIL311 HEX LED display.

]]>
By: Temitayo Abel https://electrosome.com/matrix-keypad-pic-microcontroller/#comments/6774 Sat, 06 May 2017 00:39:00 +0000 https://electrosome.com/?p=2241#comment-6774 the function findkey(unigned short a, unsigned short b)
is it the same by saying findkey(usigned short row, unsigned column) or probably findkey(usigned short column, unsigned row)???

]]>
By: Ligo George https://electrosome.com/matrix-keypad-pic-microcontroller/#comments/6549 Wed, 07 Dec 2016 06:04:00 +0000 https://electrosome.com/?p=2241#comment-6549 In reply to Mash.

Yes, just turn on the led if it matches a particular key.

]]>
By: Mash https://electrosome.com/matrix-keypad-pic-microcontroller/#comments/6544 Mon, 05 Dec 2016 15:27:00 +0000 https://electrosome.com/?p=2241#comment-6544 In reply to Ligo George.

How may I use this matrix key to make on and off the led.

]]>
By: Ligo George https://electrosome.com/matrix-keypad-pic-microcontroller/#comments/6480 Sun, 27 Nov 2016 07:38:00 +0000 https://electrosome.com/?p=2241#comment-6480 In reply to Gilbert Garcia.

It is assembly language coding.

]]>
By: Gilbert Garcia https://electrosome.com/matrix-keypad-pic-microcontroller/#comments/6408 Fri, 07 Oct 2016 16:47:00 +0000 https://electrosome.com/?p=2241#comment-6408 is there anyone can code like this? HELP ME PLEASE ASAP!
I CANT UNDERSTAND THIS CODES…https://uploads.disquscdn.com/images/1dba773e931240026ddc0d9803a1fa13f8497e8489dc5683357dfb9972bbcc68.png

]]>