bubbalo
February 28, 2009, 3:17am
1
Hello,
I was wondering if any of you guys could help me by showing me some C code for a 4x4 keypad that I want to interface with an Atmega16. This is the first project I am doing so I was wondering If I could get any help from you guys. Really appreciate your help in advance. Thank you
stevech
February 28, 2009, 3:18am
2
Take a look in the Projects section on the avrfreaks.net forum.
bigglez
February 28, 2009, 4:48am
3
bubbalo:
I was wondering if any of you guys could help me by showing me some C code for a 4x4 keypad that I want to interface with an Atmega16.
What hardware are you using? If your AVR is in a
development sytem, Arduino, or third party PCB,
the project would be a little easier than starting with
just the raw AVR chip.
bubbalo
February 28, 2009, 5:10am
4
I’m not using any hardware… I want to get this done on a protoboard just with the AVR chip.
bigglez
February 28, 2009, 5:27am
5
bubbalo:
I’m not using any hardware… I want to get this done on a protoboard just with the AVR chip.
A protoboard is hardware...
How is the switch matrix connected to the AVR?
What ports are used?
Does the AVR use the internal RC osc or a crystal?
What does the AVR do when a switch is pressed?
What if two (or more) are pressed together?
I hope that you can see there are two parts to this
project, and software is only one of them.