Building a Virtual Machine using the Azure CLI is a skill that can bring your idea beyond the desktop and into the cloud. In this tutorial, we will walk through how to set up an Ubuntu Virtual Machine using the Azure CLI and send a Twilio SIM Command using Node.js. This post assumes that you have a basic understanding of how to set up a Twilio SIM and use the Commands API. If you are new to this concept check out the Commands API documentation and this example on how to send machine-to-machine Commands with the Twilio SIM. More TwilioIoT projects can be found, along with this one, on GitHub.
- Sign up for a free tier Azure account
- Install Azure CLI
- Create a new Virtual Machine
- Installing Node.js, npm & Twilio
Azure Virtual Machine + Commands API + Node.js
Every summer, I read tragic stories of children that die because they were left in a hot car. And every summer, my heart breaks because of the senselessness of the deaths.
So I decided to build a solution.
Today, I want to show you how easy it is to build a Help! Button that a child in a hot car could press in order to alert someone that they are in danger and need assistance.
As an aside, while I was building this project, it occurred to me that children dying in hot cars is actually two problems, not one. It is two problems because:
- Toddlers have the cognitive ability to recognize they are in danger and take some action to get out of the situation.
- Babies are not capable of recognizing danger, nor capable of taking any action. So a different solution is necessary for each scenario.(I’ll ...
NB-IoT, also known as Narrowband-IoT, is a new cellular technology that promises low cost, low power consumption, wide area coverage and long battery life. These characteristics help make “smart devices” a reality.
T-Mobile has deployed NB-IoT coverage in the United States and Twilio is the first company to provide a NB-IoT developer kit. Twilio’s Alfa Developer Kit features a development board created in collaboration with Seeed Studio. The development board can access the T-Mobile NB-IoT network using a Twilio Narrowband SIM (which comes in the kit). Once on the network, developers can exchange data between multiple NB-IoT kits using the Twilio Breakout SDK.
This post demonstrates how to connect to T-Mobile’s NB-IoT network using Twilio’s Developer Kit. Once connected, we’ll send a “hello world” message over the network using the Breakout SDK. You can also find the the completed project on GitHub under TwilioIoT.
Ready to ...
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?
In case you missed SIGNAL this year, we put together a recap of Twilio’s launches at our annual conference. Here are the top 4 ways this year’s product launches could shift the nonprofit tech landscape:
1: Secure Donations Over the Phone
Thousands of organizations – from your local radio station to the Red Cross – raise funds over the phone. But handling credit card information is still a tricky process: either your phone operators are handling sensitive payment data, or you must refer your donors to a payment portal. With Twilio’s PCI-compliant <Pay> verb, you can now seamlessly and securely accept donations over the phone.
Here’s how it works: your phone agent initiates a payment flow in which your donor hears a verbal prompt that walks them through entering their ...
When it came to my Grandma 90th birthday I was stumped about what to get her as a gift. She has been a big influence in my life and I wanted to do something that showed that. I knew I wanted to integrate Twilio in some way because when she was younger she was a switchboard operator for Bell Telephone. Then it hit me like a ton of phones. I will create a hardware device with a Programmable Wireless SIM and a Grove Button. When grandma presses the Grove Button a voice call will be routed to her phone and an operator will tell her how much I love her and wish her a happy birthday.
What I needed to send some birthday love
For this project you will need following components:
Following your passion and hard work are things I observed being around family when I was young. My grandfather passed away early in my life but his memory was always visible to me through the pictures hanging on the walls in my grandmother’s house.
One wall had an image of a worn leather boot and him climbing a telephone pole next to it. He, along with other family members, were responsible for putting up telephone lines across the northern part of Massachusetts for Bell Telephone.
Growing up in this environment I was always taught to problem-solve and was encouraged to seek solutions by observing the problem through the eyes of others. From the beginning I was equipped with curiosity and inspired to use it every day.
There were two principles I was told that make the world work: asking "why?" and communication.
As a kid I ...
Today at SIGNAL we introduced two exciting enhancements to Programmable Wireless.
Global SIM Connectivity
First, we’re incredibly excited to provide global connectivity on our T-Mobile powered SIMs. This enables Programmable Wireless to support global device deployments with a single SIM SKU. And for developers building outside the US, we heard your feedback! You’re now able to connect your device during development and testing in almost 200 countries.
When Twilio introduced voice in 2008 and SMS in 2010, both products started with humble US-only origins. Since then we’ve improved global coverage every day. We do this through a combination of commercial deals and technical interops that we collectively refer to as our Super Network. Our vision for a Wireless Super Network is no different – we want to achieve first class performance and capabilities in every market around the world, all via a single SIM and a single API ...
What a rush! In 2016, we spun up a brand new team and set forth to open up (yet another) black box of telecom—Cellular Wireless.
In the past months, we’ve:
- Shipped APIs for managing the lifecycle and capabilities of SIMs.
- Provided a self-service SIM ordering mechanism with two-day fulfillment in the US.
- Implemented a Console and API experience for understanding data usage.
- Added Programmable Voice capabilities.
- Delivered machine-to-machine SMS messages in text and binary formats for a variety of mission-critical use cases.
- Built rich metering capabilities that enable us to bill you the way you want to be billed.
- Published the first set of Blueprints to quickly ramp up developers on wide area IoT.
Most importantly, we’ve gotten to know a ton of great customers in our burgeoning Wireless community, and we’ve listened to your feedback.
Today, Programmable Wireless graduates from Developer Preview to Beta. What ...
At SIGNAL we launched Twilio Programmable Wireless which allows you to add cellular data to your IoT projects using a Twilio SIM card. The LinkIt ONE dev board in the SIGNAL hackpack is a perfect place to try out these new capabilities. In the next 5 minutes you’ll learn how to use the cellular functionality of this device using your Twilio SIM card.
What You’ll Need
Before we get to hacking there are a few things we need to get set up. First, we need to set up the LinkIt ONE board and make sure it is programmable using the Arduino IDE and the MediaTek LinkIt ONE SDK. The steps for getting this set up are outlined in this blog post. Once you’ve completed those steps you’ll want to also make sure to attach the cellular antenna if you haven’t already because it is needed ...