# DTMF MT8870 Module

**URL:** <https://forum.xod.io/t/dtmf-mt8870-module/5456>\
**Category:** XOD Programming Questions\
**Created:** [September 25, 2021, 3:33am UTC](https://forum.xod.io/t/dtmf-mt8870-module/5456 "2021-09-25T03:33:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rolly23](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rolly23](https://forum.xod.io/u/rolly23)\
**Post date:** [September 25, 2021, 3:33am UTC](https://forum.xod.io/t/dtmf-mt8870-module/5456/1 "2021-09-25T03:33:03Z")

</div>

I have used XOD a year ago and now playing again.  
I’d like to use an MT8870 module to control some relays.

They have 4 binary output pins and a pin for when a tone is present (also a power down and inhibit but no use to me at this stage)

So I’m wondering what is the best way to read the pins to get an addressed output (1 - relay 1, 9-Relay 4)  
Do I need to find a way to make it a decimal then if equals 2 then …

or is there a better way?

Thanks  
Tony

 ![DTMF](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/2X/8/8b716aa4708ff1609a8779bc98e9479194de5c4c.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [October 25, 2021, 3:33am UTC](https://forum.xod.io/t/dtmf-mt8870-module/5456/2 "2021-10-25T03:33:16Z")

</div>

Closed on October 25, 2021, 3:33am UTC

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