user37206: I am an absolute beginner and wanted to build a simple home automation system using DTMF module using this guide. My problem is out of 12 pins most of them are getting used in DTMF module(5) and the relay module(4). So how do i add an LCD display to it?

user31105: I suggest you first try every component separately (or if you are new to Arduino, try first simpler components like LEDs, switches etc), 
As told by others the following components are easier to use:

Use a matrix keypad, see for example keypad. To reduce the number of pins you can use a multiplexer, such as 74HC165. 74HC165 are very cheap, although they need some additional programming and are slower than using direct pins (although for a keypad you will not notice).
Use a display like 1602 or 2004. See example at 1602 Display. Make sure you order one that has an I2C adapter attached to it (or solder it yourself if you feel comfortable).
After you tested all components separately (make different sketches and save them in case you need them later), you can combine them.


user36766: You can use arduino mega rather than uno or nano .... Or can use **I2C adapter to control your LCD display, I2C adapter only needs two pins to communicate with arduino and is easy to use ......
**

user4143: You are using 8 GPIO pins for your existing modules. That leaves 12 left for an LCD (assuming you aren't using the serial port).
An LCD can work from as few as 6 pins (4 data, E and RS) - WR can be tied LOW and RESET can be tied HIGH, and the remaining 4 data pins left floating (or tied low).
That still leaves you 6 pins to do other things. Or 4 if you (advisedly) steer clear of using pins 0/1 for anything.

37206: <p>I am an absolute beginner and wanted to build a simple home automation system using <a href="https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling" rel="nofollow noreferrer">DTMF</a> module using this <a href="https://roboindia.com/tutorials/dtmf-home-automation-with-arduino" rel="nofollow noreferrer">guide</a>. My problem is out of 12 pins most of them are getting used in DTMF module(5) and the relay module(4). So how do i add an LCD display to it?</p>
 31105: <p>I suggest you first try every component separately (or if you are new to Arduino, try first simpler components like LEDs, switches etc), </p>

<p>As told by others the following components are easier to use:</p>

<ul>
<li><p>Use a matrix keypad, see for example <a href="http://playground.arduino.cc/Main/KeypadTutorial" rel="nofollow noreferrer">keypad</a>. To reduce the number of pins you can use a multiplexer, such as 74HC165. 74HC165 are very cheap, although they need some additional programming and are slower than using direct pins (although for a keypad you will not notice).</p></li>
<li><p>Use a display like 1602 or 2004. See example at <a href="https://www.arduino.cc/en/Tutorial/HelloWorld" rel="nofollow noreferrer">1602 Display</a>. Make sure you order one that has an I2C adapter attached to it (or solder it yourself if you feel comfortable).</p></li>
<li><p>After you tested all components separately (make different sketches and save them in case you need them later), you can combine them.</p></li>
</ul>
 36766: <p>You can use arduino mega rather than uno or nano .... Or can use **I2C adapter to control your LCD display, I2C adapter only needs two pins to communicate with arduino and is easy to use ......
**</p>
 4143: <p>You are using 8 GPIO pins for your existing modules. That leaves 12 left for an LCD (assuming you aren't using the serial port).</p>

<p>An LCD can work from as few as 6 pins (4 data, E and RS) - WR can be tied LOW and RESET can be tied HIGH, and the remaining 4 data pins left floating (or tied low).</p>

<p>That still leaves you 6 pins to do other things. Or 4 if you (advisedly) steer clear of using pins 0/1 for anything.</p>
