Matrix Keyboard Solution

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Hi Community,
here is something working that you may use freely.
A matrix keyboard (4 x 3) debounced and buffered, adaptable to your needs.
Have fun!
Bob
 

0 Likes
13 Replies
Anonymous
Not applicable

Hi Bob Marlowe,

   

 

   

Thanks a lot sharing your project here.

0 Likes
EdUc_284901
Level 4
Level 4
50 replies posted 25 replies posted 10 replies posted

Thank you Bob for sharing! I'm still looking for a good tutorial on psoc3/5lp. I still can't get it going yet on, I'm stuck with pic still.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

"THE" main difference between pic and PSoC is: PSoC can do it analog! Be it to connect a photo-diode, amplifying and conditioning an input-signal or controlling an external analog device you usually do not need any external chips.

   

The way how to specify your needs by entering usermodules on a sheet and wiring all together is a great leap into the right direction, even I can do that and I am not an educatet electronic engineer.

   

So when you have got a developement kit go through the examples provided and try to understand them. Then pick (not pic) your own challenge, define your project and start to make it real step by step...

   

 

   

Happy coding

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

There are a series of videos, start with "PSOC 3 and PSOC 5" 101,

   

then do 102/3/4.

   

 

   

www.cypress.com/

   

 

   

Regards, Dana.

0 Likes
EdUc_284901
Level 4
Level 4
50 replies posted 25 replies posted 10 replies posted

Thank you all!

   

Regards from Buenos Aires, Argentina

   

Edgardo Daniel Ucha

0 Likes
Anonymous
Not applicable

Bob,

   

I can't seem to get Windows to unzip the file you posted. Any chance I could get at the unzipped code or an alternate file?

   

Thanks, Darin

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum, Darin!

   

I just downloaded the archive and successfully opened it, so there must be something wrong with your environment. I used

   

win7 and firefox.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Okay, thank you.  Does it include code to handle multiple simultaneous keypresses? I'm wanting to create a MIDI encoder for music keyboards.

0 Likes
Anonymous
Not applicable

"Unexpected end of archive" using Windows Explorer, WinZip and WinRar. Guess it just weren't meant to be...

0 Likes
lock attach
Attachments are accessible only for community members.
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

I downloaded, extracted, re-zipped, try this one.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Worked like a charm - thank you, Dana!

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Check it, I do not think it is coded for multiple keypress. Bob can comment on that.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Hi all,

   

Is there example code for encapsulating the key code obtained into the standard keyboard HID descriptor format and transmitting it through USB

   

Regards,

   

Pushkar

0 Likes