Hi
i am a bit new to using Arduino .I am dealing with a project which I should implement on the uno Arduino. we should connect a keypad and LCD and some other stuff to the device. The problem is that I need every gates in the Arduino and keypad and LCD will take too many inputs/outputs.
I count that if I reduce the keypad input to (1-3) instead of 7 I will have no problem.
So please help and guide me,how to connect the keypad to 1-3 gate of my Arduino UNO.
thanks
The easiest way is probably to add an i²c "backpack" to your LCD. This will need to use pins A4+A5 or SDA+SCL (they are in fact the same pins and are connected on the Uno board). But it will free up 4 pins. There are versions of the LCD library that will work with the i²c backpack.
Another option is to connect your keypad to an i²c chip which gives you more input/output pins. Then the keypad can share the same 2 pins as the LCD. This works because i²c is a "bus" system that can have many devices attached to the same 2 pins. That would free up another 7 pins!
Thank you so much.
I use the first step you say( and it's working). the second would be fantastic but I didn't find any solution for that.do you have any idea or know any tutorial link for implementing it in proteus(the 2nd solution)
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.