Arduino MKR GSM 1400 and DTMF

Arduino MKR GSM 1400 and DTMF

This tutorial shows how to use the Arduino MKR GSM 1400's DTMF feature to have a direct interaction with your phone.

  • 18,677 views
  • 1 comment
  • 30 respects

Components and supplies

Apps and online services

About this project

Introduction

Like every phone, the GSM module on your Arduino MKR GSM 1400 can recognize DTMF tones. These are the tones that you can hear whenever you press a key on your phone's keyboard during a call.

How It Works

The operating principle of this tutorial is very simple: every time a phone call is received, the board answers the call and waits for a DTMF tone. When the tone is pressed, the board parses it, prints it on the serial monitor, and changes the LEDs color according to the pressed button.

Hardware Connections

As you can see from the breadboard layout, a transistor is present between the Arduino board and the NeoPixel input. This is placed since the MKR GSM 1400 operates at 3.3V while the NeoPixel works at 5V. The transistor is used as a voltage translator. In the layout, there is also a single NeoPixel placed instead of the ring just for the sake of simplicity.

Setup

The setup to use this code is very simple. You just have to:

  • Plug the antenna into the board
  • Plug a micro SIM card into your board
  • Connect the LEDs as shown in the scheme
  • Plug the battery into the board
  • Plug the micro USB cable and connect it to your PC
  • Load the code on the board using the Arduino Java or Web IDE
  • Open the serial monitor
  • Call the board and enjoy pressing buttons on your keyboard!

See Also

This example is based on the Arduino MKR GSM library.

Code

Arduino MKR GSM 1400 and DTMF

Schematics

HW connections
Mkrgsm1400dtmf l94oduyxzr

Comments

Similar projects you might like

MKR GSM 1400 Send Sensor Data to ThingSpeak via JSON

Project tutorial by smgs

  • 1,429 views
  • 0 comments
  • 2 respects

Publish Any Event to Wia Using Your MKR GSM 1400

Project tutorial by Spivey

  • 986 views
  • 0 comments
  • 2 respects

MKR Zero Weather Data Logger

Project tutorial by Arduino_Genuino

  • 24,367 views
  • 18 comments
  • 48 respects

Stereo NeoPixel Ring VU Meter

Project showcase by ericBcreator

  • 29,177 views
  • 268 comments
  • 70 respects

MKR FOX 1200 Movement Trigger

Project tutorial by Arduino_Genuino and Andrea Richetta

  • 11,173 views
  • 3 comments
  • 26 respects

Program MKR Over-the-Air + Goodies: Voice Control, etc.

Project tutorial by Team Flower Platform

  • 9,877 views
  • 7 comments
  • 38 respects
Add projectSign up / Login