element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Cypress Kits
  • Products
  • Dev Tools
  • Cypress Kits
  • More
  • Cancel
Cypress Kits
Forum PSoC 4 Pioneer Kit Community Project#054 – Custom Component 4x4 Keypad
  • Blog
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Cypress Kits requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 11 subscribers
  • Views 296 views
  • Users 0 members are here
  • 100projects
Related

PSoC 4 Pioneer Kit Community Project#054 – Custom Component 4x4 Keypad

cy.wbz
cy.wbz over 8 years ago

Hello!

 

Today’s example is the release of a community component for a 4x4 matrix keypad. At the bottom of this post we have included the example project for the component and the custom component datasheet. The key point of this component is that it’s applicable to PSoC 3/4/5LP device families.

 


 

Forum Post Attachments:

 

At the bottom of this post we are including the following items:

  • Example Project Zip File
  • Zip File of Images
    • Project Schematic
    • Component Configurations

 

Components Used:

 

The user can download the example project at the bottom of this post. The project uses the following list of Creator Components:

  • 4x4 Keypad
  • Character LCD

 

The components are configured by right clicking on the component in your Top Design schematic view and selecting Configure. Please enable the following selections in the Configuration windows for the listed components above.

 

Firmware Description:

 

The main.c firmware is included in the example project. Please review the commented sections for more details.

 

This custom component contains a set of library routines that enable scanning of a 4x4 switch array and return of data associated with the switch pressed. The component provides APIs to implement user defined character data for each switch. This keypad component allows the user to connect signals across multiple points. We have included the component datasheet at the bottom of this post. Remember you can import and export components by clicking on the components tab in the workspace explore. Then right clicking on the project name in the workspace explorer to import or export the compoents.

 

 

 

In this example we take inputs from the 4x4 keypad and then output the values on a Character LCD display.

 

Hardware Connections:

 

There are no connections for this example. This is a custom component released to the community that enables a 4x4 matrix keypad example. Feel free to create your own hardware and post your images in this thread.

 

Test Your Project:

 

Program the Pioneer kit with your example and connect the kit to your custom hardware.

 

I hope this example can help you in your design.

 

Best,

Matt

Attachments:
Keypad_v1_0.zip
5635.Project Images.zip
Import_Component_Item.pdf
  • Reply
  • Cancel
  • Cancel
  • jesusantoniocar
    jesusantoniocar over 8 years ago

    Hello Matt.

    thanks for designing this component, very useful in applications for data entry by the user.

     

    regards,

     

    Jesus Antonio.

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • Former Member
    Former Member over 8 years ago

    Hello Matt

     

    I'm starting with C and also PSoC.

    I have dev kit -050 and as I see I can use your component.

    My silly question is what's "char8"? I figure is has to be char 8 bits.

     

    Thank you

    Regards

    Edgard

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
Element14

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2022 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube