Main Content

Remotely Play MP3 with Twilio, Go and Arduino MKR GSM 1400

How to play an MP3 file with Twilio Programmable Wireless, Go and the Arduino MKR GSM 1400.

Story
The new MKR family of Arduino boards are going to change the landscape of rapid prototyping IoT solutions. The Arduino MKR GSM 1400 is a great solution for anyone looking to expand the scope of their IoT projects using cellular connectivity. By integrating a modem with a microcontroller a new all-in-one communication solution has started to emerge. This paired with the Twilio Programmable Wireless SIM makes it possible to communicate around the globe using machine to machine commands. “Things” can now be connected in ways previously impossible with WiFi or Bluetooth.

This tutorial demonstrates how to send a machine to machine command from the Arduino MKR GSM 1400 to a server written in Go. When the machine to machine command is received server-side an audio file will play a .mp3 saying “hello.” If you want to jump ahead the completed project can be found on the TwilioIoT GitHub.

What is the Arduino MKR GSM 1400?
The Arduino MKR GSM 1400 is a development board that combines the functionality of the Arduino Zero with global GSM connectivity using the u-blox SARAU201 modem. Traditionally communicating with a modem is done using AT commands using a separate module. This model board ships with a library that makes AT commands more accessible via function calls.”

Link to article