Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 1 > interfacing keypad to psoc1

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



interfacing keypad to psoc1
Moderator:
ARVI

Post Reply
Follow this topic



interfacing keypad to psoc1

Srinath posted on 16 Feb 2012 1:10 AM PST
Top Contributor
34 Forum Posts

 I' ve been trying to write the code for a 8 by 7 keypad using polling method . The problem is that I have all the coloumns connected to 4.7K external pull up resistors. And I cant able to find out which drive mode to be set for both cols. & rows. I have tried every possible combination. Pls suggest which should be used and also pls verify my code. The project is attached below.  

 




Re: interfacing keypad to psoc1

Srinath posted on 16 Feb 2012 02:20 AM PST
Top Contributor
34 Forum Posts

 My only problem is I cannot able to make a key's  coloumn low and row high at the same time. Help me with the driving mode for the coloumn and row of the keys



Re: interfacing keypad to psoc1

Bob Marlowe posted on 16 Feb 2012 05:29 AM PST
Top Contributor
1768 Forum Posts

I would suggest not to use external resistors (if that is possible), otherwise you have a voltage divider between the internal pullup resistor and the external. This will result in a voltage that is neither High nor Low.

Bob

 

PS: I've posted some time ago a solution for a 3x4 matrix keyboard for PSoC3 and PSoC5. Just for your understanding have a look at it (with PSoC Creator 2.0) Search for "matrix" here or in the PSoCDeveloper forum.






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20