Web-Based Applets Allow Creating IoT Physical Devices Easily: Page 2 of 2

Services are the software apps we use every day to connect with physical objects and obtain data from mobile devices. The gateway to managing these services for physical connectivity can be achieved by using applets with embedded hardware.
  • a small HTML template.

Although IFTTT applets provided on the website are built with triggers and actions, they can be customized by changing the small application’s ingredient settings.

IFTTT, applets, microcontrollers, Facebook, Gmail, Twitter, Instagram
A HTML template is used as a tool to change the ingredient settings of an applet’s body data.
(Source: IFTTT and Don Wilcher)

An IoT IFTTT Appliance Device

With an understanding of an IFTTT applet, I’ll discuss how to use the web-based tool in building a simple IoT appliance device with off-the-shelf components. The basic operation of the appliance device is to send an email when a littleBits cloudBit is triggered. The +5V trigger is wired to the input pin of the cloudBit. Although a pushbutton bit can provide the trigger, I wanted to repeat the signal automatically using a microcontroller. The original design concept was to use a TI MSP430 Launchpad platform as the microcontroller trigger device, but I discovered that a 3.3V signal is not compatible in activating a cloudBit. I wanted to build a simple design without complicating it with a voltage level converter IC solution, so an Arduino was selected as the trigger for the cloudBit.

IFTTT, applets, microcontrollers, Facebook, Gmail, Twitter, Instagram
An email will be sent when the cloudBit is triggered by an Arduino. (Source: Don Wilcher

The wiring diagram I developed to provide the automation trigger from an Arduino to the cloudBit is simple to build using a few jumper wires, a USB power bit, and two proto-modules. The Arduino code I used to provide the +5V trigger to the cloudBit is the Blink example within the microcontroller platform’s IDE (Integrated Development Environment). The Blink code was modified to provide a trigger to the cloudBit every 10 seconds.

IFTTT, applets, microcontrollers, Facebook, Gmail, Twitter, Instagram
The IoT IFTTT Appliance Device built with a cloudBit, a few supporting littleBits electronic modules, and an Arduino. (Source: Don Wilcher)

The cloudBit will send an email every 10 seconds to my AOL account based on the described modified Blink code change.

IFTTT, applets, microcontrollers, Facebook, Gmail, Twitter, Instagram
Email message sent by cloudBit. (Source: Don Wilcher)

To make the email message more personalized, I changed the ‘00e04c038f34’ body device name to my alter ego of ‘MrD.’ The body device name change was made using the ingredient setting within the cloudBit applet.

IFTTT, applets, microcontrollers, Facebook, Gmail, Twitter, Instagram
Changing the body device name (MrD) is conveniently done through the cloudBit applet’s ingredient setting. (Source: IFTTT and Don Wilcher)

The new email received shows a successful ingredient setting change.

IFTTT, applets, microcontrollers, Facebook, Gmail, Twitter, Instagram
The alter ego ‘MrD’ body device name is displayed on the email message. (Source: Don Wilcher)

The IFTTT platform allows adding applets to your mobile devices easily using web services. Also, with a little bit of electronics and coding, the applets can be made to build IoT physical devices, as well. Additional information on IFTTT applets and development tools can be found on the website .

 

Don Wilcher is a passionate teacher of electronics technology and an electrical engineer with 26 years of industrial experience. He’s worked on industrial robotics systems, automotive electronic modules/systems, and embedded wireless controls for small consumer appliances. He’s also a book author, writing DIY project books on electronics and robotics technologies.

Comments (1)

Please log in or register to post comments.
By submitting this form, you accept the Mollom privacy policy.
  • Oldest First
  • Newest First
Loading Comments...