Blynk With Arduino




Introduction: Blynk With Arduino

About: I'm a network / data center architect working in RTP, NC. In my copious free time, I tinker with micro controllers and woodworking figuring one day I'll somehow put them together. Also enjoy wilderness camping…

This is my first instructable. Not looking for sympathy, just saying this may not be the most 'polished' ible you've read.

I ran across Blynk on Kickstarter after the campaign had closed. I thought it sounded cool and quickly downloaded the app to my iPhone...where it sat...staring at me...for months.

Today, I decided to do something about it. I love the Arduino platform and have done many projects using various shapes and sizes (moteino anyone?) I had an Uno lying around looking lonely. I pulled an ethernet shield off of another project...stole a cat5 cable from another system in my shop and cobbled together what follows.

What I thought may take an hour or several, turned out to really only take a few minutes. I hope you all find this to be at least somewhat helpful.

Step 1: What You'll Need

For this little project I used the following:

Arduino Uno

Arduino Ethernet Shield

Mini Breadboard

Green LED


2 100 Ohm resistors

A few jumper wires

Cat5 cable for ethernet

USB cable for power/programming

Step 2: Wire It Up

I ran jumpers from ground, pin 9 and pin 6 to the breadboard and placed the resistor(s) between the + (anode) and the signal jumper.

Step 3: Code It .. Sort Of

Create a new project in the Blynk app on your phone (download it first of course) . Add a button and set it from the default of "push" to switch. The set the output pin ( I used pin 9 for the red LED ). Add a slider and associate it to your pin. Make sure it's a PWM pin ( I used pin 6 for the green LED ) I turned off the "send values on release only" setting as I wanted it to dim in real time.

Click on the nut icon for project settings and send yourself the auth token.

In codebender I used the appropriately titled BlynkBlink example. The code that matters is as follows:

#define BLYNK_PRINT Serial // Enables Serial Monitor
#include #include #include // This part is for Ethernet stuff

char auth[] = "YourAuthToken"; // Put your Auth Token here. (see Step 3 above)

void setup() { Serial.begin(9600); // See the connection status in Serial Monitor Blynk.begin(auth); // Here your Arduino connects to the Blynk Cloud. }

void loop() {; // All the Blynk Magic happens here...

// You can inject your own code or combine it with other sketches. // Check other examples on how to communicate with Blynk. Remember // to avoid delay() function! }

Just paste your token you emailed yourself in the YourAuthToken spot. That should be it! You're done. Upload the code to the Arduino. Run the project on your phone by clicking the play button. If you've wired it all up right, you can turn the red LED on and off and dim/brighten the green LED. You are on your way to being an IOT guru.

First Time Author Contest 2016

Participated in the
First Time Author Contest 2016

Be the First to Share


    • Home and Garden Contest

      Home and Garden Contest
    • Chocolate Challenge

      Chocolate Challenge
    • Cardboard Speed Challenge

      Cardboard Speed Challenge



    4 years ago


    Hope all is well.

    This is Jim from WIZnet.

    As you might already know, WIZnet is well known for its hardwired TCP/IP chip and its W5100 being used in Arduino’s official Ethernet shield.

    We also partnered with ARM as mbed silicon partners, and plan to offer more platforms for makers.

    To help makers grow the open source hardware community, we are having an IoT design contest, titled ‘Curation is Creation.’

    Come up with any IoT project idea and take advantage of this contest since we’re offering our ARM mbed-enabled WIZwiki-W7500 platform & WizFi310 shield at sample pricing.

    To start, register your account at

    This contest will be held from May to August, with 16 prizes totaling $15,000.

    We expect and hope that many makers, including members of WIZnet Museum, will participate and share their knowledge.

    As this is a contest for the open source community, WIZnet wants to give back the power of the vote to all participants.

    Hence, you can vote and provide feedback of other projects from September to October.

    More details of the contest are available at and technical questions are answered at

    Hopefully, you’ll find interest in this contest and we look forward to your next creative IoT project!


    Best Regards,



    6 years ago

    Nicely done! Congrats on sharing your first instructable. Can't wait to see more :)


    Reply 6 years ago

    Thanks! I've been wanting to give back to this community for sometime now. I'm surprised how much time goes into something as simple as this one ;) I have even more respect for others that take the time to share.