Hello everyone,
First it would help to explain what I'm trying to achieve; I am building a weather proof timelapse/HDR controller for a Nikon DSLR. Instead of simply buying one I wanted to use the unuse and aging hardware I had lying around. An Arduino UNO (Revision 2!), an I2C 16x2 LCD display that only works with Arduino's IDE r 0022, and a 12 key (non matrix) keypad. Basically each key has its own individual pin, thus my reasoning for using the MCP23017 I2C expander.
Most of the examples I've found online for this sort of project only support the name brand 12 digit matrix keypad from sparkfun which uses 7 pins. Sure I could just go buy one more keypad that would work with all of the code examples I've seen and then hack together something but the point here is to use what I already have and not acquire more parts.
That being said, I will need to be able to set values from the keypad using the * key as clear/cancel/no and # as return, there will be some basic menu functionality when setting and starting the timelapse process.
First it would help to explain what I'm trying to achieve; I am building a weather proof timelapse/HDR controller for a Nikon DSLR. Instead of simply buying one I wanted to use the unuse and aging hardware I had lying around. An Arduino UNO (Revision 2!), an I2C 16x2 LCD display that only works with Arduino's IDE r 0022, and a 12 key (non matrix) keypad. Basically each key has its own individual pin, thus my reasoning for using the MCP23017 I2C expander.
Most of the examples I've found online for this sort of project only support the name brand 12 digit matrix keypad from sparkfun which uses 7 pins. Sure I could just go buy one more keypad that would work with all of the code examples I've seen and then hack together something but the point here is to use what I already have and not acquire more parts.
That being said, I will need to be able to set values from the keypad using the * key as clear/cancel/no and # as return, there will be some basic menu functionality when setting and starting the timelapse process.
Interesting Predicament (MCP23017 + NON-MATRIX Keypad + LCD)
Aucun commentaire:
Enregistrer un commentaire