Using IFTTT with BLynk © GPL3+

A write up that would show how to connect the maker (hardware) channel of IFTTT to hundreds of channels.

  • 6,267 views
  • 5 comments
  • 31 respects

Components and supplies

About this project

I am writing this article relating to my Mood Lamp project. Using the maker channel of IFTTT with Blynk can be tricky. Below I have shown the steps involved to link your hardware with IFTTT's maker channel.

IFTTT Website - https://ifttt.com/myrecipes/

Blynk Website - http://www.blynk.cc/

Documentation for Blynk- http://docs.blynk.cc/

First of all you need to make your account on IFTTT and Blynk.

Install their apps from playstore.

For using Blynk you need a make a project for which you will be given a authentication token. Open The website of IFTTT and follow the following steps.

  • Step 1- Click on Create a Recipe
  • Step 2 - Click on This
  • Step 3 - Choose any channel (I have chosen Twitter)
  • Step 4-Choose accordingly(i Have used option 2)
  • Step 5- Write accordingly
  • Step 6- Choose maker channel
  • Step 7- Choose make a web request
  • Step 8- Fill this accordingly (auth token and the pin like this (auth_token/pin/D7))
  • Step 9- Click on create Recipe
  • Step 10- You are all set

Step 11 - Open Blynk and make a new Project. You wil recieve a unique authentication token to use in your code. Drag and drop a button on the scrren and assign it Digital Pin D7

After this whenever you will tweet using #lightson, the pin D7 will go high. You can connect a led or a light to it and it will go high as soon as you tweet this. Similarly you can make multiple recipes and use differnet colored LEDs to make your own mood Lamp.

Happy Hacking :)

Code

TrialArduino
#define BLYNK_PRINT Serial
#include <SPI.h>
#include <Ethernet.h>
#include <BlynkSimpleEthernet.h>
#include <SimpleTimer.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";

SimpleTimer timer;

void setup()
{
  Serial.begin(9600);
  Blynk.begin(auth);

  while (Blynk.connect() == false) {
    // Wait until connected
  }

 pinMode(7,OUTPUT); 
 }
  
  void loop()
  {
  Blynk.run();
  Timer.run();
  }

Schematics

Comments

Similar projects you might like

Arduino Atari Adaptor

Project tutorial by Dante Roumega

  • 7,736 views
  • 6 comments
  • 25 respects

RPi GPIO Programming Using Arduino Web IDE

by WGLabz

  • 461 views
  • 0 comments
  • 4 respects

Generating Audio with an Arduino and a Resistor Ladder DAC

Project showcase by 3 developers

  • 2,792 views
  • 5 comments
  • 7 respects

Arduino Pendulum Physics Lab

Project tutorial by Paul Kassebaum

  • 1,294 views
  • 0 comments
  • 3 respects

Automated Plant Watering System

Project in progress by Ammar Shahid

  • 582 views
  • 0 comments
  • 5 respects

Humidity Measuring Molecule

Project showcase by KatjaNiggl

  • 1,510 views
  • 4 comments
  • 15 respects
Add projectSign up / Login