Alpha numeric keypad 4x4

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi guys. i am using 4x4 keypad with atmega 32. it is working fine . Now i want to convert this numeric keypad into alpha numeric keypad (the one used in old mobile keypads) i.e 2 abc, 3 def . if 2 is pressed once output will be 2 just like normal but if that key is pressed within prescribed time again output will be 'a'  and if the key is pressed 3 times output will be 'b' and if thrice the output will be 'c'. Any already developed code or algorithm available for this?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

There was a discussion about the same just a few weeks ago or so here at AVRfreaks.

 

https://www.avrfreaks.net/forum/h...

 

Didn't come to much substantial, as you see. But the idea of using a state machine, which e.g., keeps timings since detected keystroke is a good one IMO.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That's the thread I was looking for - thanks for finding it!

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...