+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Advanced Member level 3
    Points: 4,946, Level: 16
    Achievements:
    7 years registered
    PA3040's Avatar
    Join Date
    Aug 2011
    Posts
    865
    Helped
    44 / 44
    Points
    4,946
    Level
    16

    This is my Proteus project connected to 16f877a MCU with keypad

    Click image for larger version. 

Name:	keypad.JPG 
Views:	25 
Size:	91.2 KB 
ID:	70831Dear All
    Please see picture
    This is my Proteus project connected to 16f877a MCU with keypad. when I press the key the result put to the portc
    please advice, is this cct is correct?. meanwhile please send me a sample ASM code for this cct to understand the operation of keypad.
    Thanks
    Last edited by PA3040; 14th March 2012 at 16:55.

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 3
    Points: 4,828, Level: 16
    papunblg's Avatar
    Join Date
    Oct 2010
    Location
    Kolkata India
    Posts
    726
    Helped
    172 / 172
    Points
    4,828
    Level
    16
    Blog Entries
    9

    Re: This is my Proteus project connected to 16f877a MCU with keypad

    Quote Originally Posted by PA3040 View Post
    Dear All
    Please see picture
    This is my Proteus project connected to 16f877a MCU with keypad. when I press the key the result put to the portc
    please advice, is this cct is correct?. meanwhile please send me a sample ASM code for this cct to understand the operation of keypad.
    Thanks
    Where is the picture?

    ---------- Post added at 21:42 ---------- Previous post was at 21:06 ----------

    See https://www.edaboard.com/thread191625.html#post802105

    Not tested by me

    ---------- Post added at 21:45 ---------- Previous post was at 21:42 ----------

    The logic is :-
    Make 4 pin as input and 4 pin as out put.


    1. Make a input as high.
    2.scan 4 o/p pins continuously if any of them as high read the particular key.

    So make changes in the code given in the above link.

    ---------- Post added at 21:50 ---------- Previous post was at 21:45 ----------

    ///////////////////////////////////////
    View the technical report:
    http:/blog.iplussoft.com/pic_keypad_lcd.pdf

    Download the assembly source file (.asm):
    http:/blog.iplussoft.com/asm_pic_lcdkeypad.zip

    Visit the official project site:
    http://blog.iplussoft.com
    Rajsekhar Nag
    -------------..--------
    Knowledge Grows When Shared


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  3. #3
    Advanced Member level 5
    Points: 38,590, Level: 48
    Achievements:
    Created Album pictures Created Blog entry 7 years registered
    Tahmid's Avatar
    Join Date
    Jun 2008
    Location
    Silicon Valley, California, USA (from Dhaka, Bangladesh)
    Posts
    4,758
    Helped
    1799 / 1799
    Points
    38,590
    Level
    48
    Blog Entries
    22

    Re: This is my Proteus project connected to 16f877a MCU with keypad

    Quote Originally Posted by PA3040 View Post
    Click image for larger version. 

Name:	keypad.JPG 
Views:	25 
Size:	91.2 KB 
ID:	70831Dear All
    Please see picture
    This is my Proteus project connected to 16f877a MCU with keypad. when I press the key the result put to the portc
    please advice, is this cct is correct?. meanwhile please send me a sample ASM code for this cct to understand the operation of keypad.
    Thanks
    As far as hardware connections go, there isn't much to say. Since, it all really depends on the code. The keypad connection is correct, but the code must use the connection as shown. You should use resistors for the LEDs, between the port pins and the LED anodes. For simulation, you should use "active" LEDs, not just "device" ones. Go to the window, where you select parts (p on keyboard). Type in LED. 2 places below the default selected part are the "active" LEDs for simulation.

    Hope this helps.
    Tahmid.


    1 members found this post helpful.

--[[ ]]--