# Arduino DTMF relay?

**URL:** <https://forum.arduino.cc/t/arduino-dtmf-relay/1299475>\
**Category:** General Guidance\
**Created:** [September 7, 2024, 6:30pm UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475 "2024-09-07T18:30:13Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![mavenboard](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mavenboard](https://forum.arduino.cc/u/mavenboard)\
**Post date:** [September 7, 2024, 6:30pm UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475/1 "2024-09-07T18:30:13Z")

</div>

I have a old landline intercom in my building, and I always forget my keys. So I thought if I connected a arduino to my landline, then I'd ring it, and maybe the arduino can pick up and if the right DTMF tones or keys are pressed (like a password on the intercom) then it would send DTMF tones back, which would result in the door opening. I dont think it would be hard, but obviously I'm not good at coding at all so I'm just looking for some help here. And before you ask NO this landline is not connected to public lines, only private voip lines in the building, as far as i know. I would really appreciate the help, and if anyone could find me parts, and maybe even code, and debug for me that would be greatly appreciated (we can discuss a form of payment if wanted). Another thought is just connecting the arduino directly to the phones audio output, decoding DTMF then just using arduino as a relay and attacthing it to the button. THANKS AGAIN!!!

---

<div class="post-metadata">

**Author:** ![anon85221860](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@anon85221860](https://forum.arduino.cc/u/anon85221860)\
**Post date:** [September 7, 2024, 6:38pm UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475/2 "2024-09-07T18:38:08Z")

</div>

> [@mavenboard](#):
>
> obviously I'm not good at coding at all

Are you good at working out the 'hardware', the electronics?

Perhaps you could use an old desktop, dial-up modem still

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/3/f/4/3f4cd05c073ca4faf3819331446d395b96cd1cfb.jpeg)

---

<div class="post-metadata">

**Author:** ![mavenboard](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mavenboard](https://forum.arduino.cc/u/mavenboard)\
**Post date:** [September 7, 2024, 6:53pm UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475/3 "2024-09-07T18:53:46Z")

</div>

hmmmm im not that old so i wouldnt really know how to use dialup but i am pretty good w/ hardware..

---

<div class="post-metadata">

**Author:** ![noiasca](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/noiasca/32/1126910_2.png) [@noiasca](https://forum.arduino.cc/u/noiasca)\
**Post date:** [September 7, 2024, 6:55pm UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475/4 "2024-09-07T18:55:39Z")

</div>

> [@mavenboard](#):
>
> decoding DTMF then j

you can find simple DTMF decoder modules based on MT8870 which decode to BCD:  
[https://s.click.aliexpress.com/e/\_DFcvLLd](https://s.click.aliexpress.com/e/_DFcvLLd)

You will also find modules with an additional BCD decoder for 16 outputs  
[https://s.click.aliexpress.com/e/\_DDl5oWJ](https://s.click.aliexpress.com/e/_DDl5oWJ)

and ready made versions with relays  
[https://s.click.aliexpress.com/e/\_DD6zcKR](https://s.click.aliexpress.com/e/_DD6zcKR)

---

<div class="post-metadata">

**Author:** ![PerryBebbington](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/perrybebbington/32/238766_2.png) [@PerryBebbington](https://forum.arduino.cc/u/PerryBebbington)\
**Post date:** [September 7, 2024, 6:55pm UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475/5 "2024-09-07T18:55:53Z")

</div>

A quick search found this:

> **[Texas Instruments LM567CN/NOPB, DTMF Decoder, 0.5MHz 12mA, 8-Pin MDIP | RS](https://uk.rs-online.com/web/p/encoder-decoder-ics/0460819?gb=s)**
>
> Buy Texas Instruments LM567CN/NOPB, DTMF Decoder, 0.5MHz 12mA, 8-Pin MDIP . Browse our latest Encoder & Decoder ICs offers. Free Next Day Delivery available.

I'm sure there are others.

---

<div class="post-metadata">

**Author:** ![mavenboard](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mavenboard](https://forum.arduino.cc/u/mavenboard)\
**Post date:** [September 7, 2024, 6:58pm UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475/6 "2024-09-07T18:58:33Z")

</div>

The relay seems nice. Though in the desc of the page, I cant seem to find the data sheet/ how to program? I might be just stupid.

---

<div class="post-metadata">

**Author:** ![mavenboard](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mavenboard](https://forum.arduino.cc/u/mavenboard)\
**Post date:** [September 7, 2024, 7:00pm UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475/7 "2024-09-07T19:00:19Z")

</div>

I am aware of dtmf decoding chips, but the only problem is I would have to make a whole circut and I would have to code. I am familliar with some basic C+ and others but not enough to make use of these by using libraries. Thanks for the suggestion, though.

---

<div class="post-metadata">

**Author:** ![noiasca](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/noiasca/32/1126910_2.png) [@noiasca](https://forum.arduino.cc/u/noiasca)\
**Post date:** [September 7, 2024, 7:03pm UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475/8 "2024-09-07T19:03:12Z")

</div>

> [@mavenboard](#):
>
> The relay seems nice. Though in the desc of the page, I cant seem to find the data sheet/ how to program? I might be just stupid.

usually the relay modules can be set to different modes.

_eight modes of operation:Non-locking (Momentary ), self-locking (Toggle),inter-locking (Latch), 5/20/60/120/250-second delay_

I guess the mode is set with the 3 solder pads.

If you want to use something with the Arduino and do some low level programming consider the first or second product.

---

<div class="post-metadata">

**Author:** ![EmilyJane](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/emilyjane/32/821537_2.png) [@EmilyJane](https://forum.arduino.cc/u/EmilyJane)\
**Post date:** [September 7, 2024, 7:11pm UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475/9 "2024-09-07T19:11:07Z")

</div>

This project will get you most of the way there.  
[https://drive.google.com/file/d/0BwvMUg2LVaTraVdkeG5zbHoyWWc/view?resourcekey=0-jwcLybiZMsW\_yXOVA2dnQw](https://drive.google.com/file/d/0BwvMUg2LVaTraVdkeG5zbHoyWWc/view?resourcekey=0-jwcLybiZMsW_yXOVA2dnQw)

[![](https://europe1.discourse-cdn.com/arduino/original/4X/f/f/4/ff4eaaa0cdfb345fc5306f70495242e8a5e6a3ea.jpeg "Arduino dtmf decoder relay control") ](https://www.youtube.com/watch?v=p37AKsUUxxc)

---

<div class="post-metadata">

**Author:** ![anon85221860](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@anon85221860](https://forum.arduino.cc/u/anon85221860)\
**Post date:** [September 7, 2024, 8:18pm UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475/10 "2024-09-07T20:18:44Z")

</div>

> [@mavenboard](#):
>
> i am pretty good w/ hardware..

How will you interface with the phone in your unit: go off-hook, couple with the handset and all that?  
DTMF'ing and so on is the least of it.

---

<div class="post-metadata">

**Author:** ![mavenboard](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mavenboard](https://forum.arduino.cc/u/mavenboard)\
**Post date:** [September 8, 2024, 1:30am UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475/11 "2024-09-08T01:30:35Z")

</div>

I'm sorry, can you elaborate? I dont get a single thibg you just said.

---

<div class="post-metadata">

**Author:** ![mavenboard](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mavenboard](https://forum.arduino.cc/u/mavenboard)\
**Post date:** [September 8, 2024, 1:31am UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475/12 "2024-09-08T01:31:07Z")

</div>

Thanks! I will try it iut when i get home.

---

<div class="post-metadata">

**Author:** ![mavenboard](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@mavenboard](https://forum.arduino.cc/u/mavenboard)\
**Post date:** [September 8, 2024, 1:32am UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475/13 "2024-09-08T01:32:12Z")

</div>

Yes I saw the modes of operation but how do I set what the relays trigger to? I'm really not able to think right now. EDIT: nvm i see now

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [March 7, 2025, 3:02am UTC](https://forum.arduino.cc/t/arduino-dtmf-relay/1299475/15 "2025-03-07T03:02:53Z")

</div>

Closed on March 7, 2025, 3:02am UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
