Arduino MKR1000 & Blynk

A simple Internet of Things experiment, using an Arduino MKR1000 board to control two LEDs and monitor a potentiometer, via Blynk app.

mkr1000ok_WInT2Qqx7f

Things used in this project

Hardware components

Arduino MKR1000
Arduino MKR1000
× 1
LED (generic)
LED (generic)
× 2
Rotary potentiometer (generic)
Rotary potentiometer (generic)
× 1
Breadboard (generic)
Breadboard (generic)
× 1
Jumper wires (generic)
Jumper wires (generic)
× 5

Software apps and online services

Arduino IDE
Arduino IDE
Blynk
Blynk

Story

1. What You Need ?

To build this project, you will need the following items:

  • 1 Arduino MKR1000 board
  • 2 LEDs
  • 1 potentiometer
  • 1 breadboard
  • Some jumper wires
  • Blynk mobile app

2. Set Up Blynk App ?

  • Open Blynk app, login then create a new project. Choose device: Arduino MKR1000 with connection type: WiFi. Click Create button and you will receive Blynk Auth Token by email.
  • On your project, add 2 button widget and a gauge. Set each widget as the picture below.

Blynk_App

3. Schematics ??

  • Connect your parts to Arduino MKR1000 as the following picture:

Schematics

Code

#define BLYNK_PRINT SerialUSB
#include <SPI.h>
#include <WiFi101.h>
#include <BlynkSimpleWiFiShield101.h>

char auth[] = "Blynk_Auth_Token";
char ssid[] = "Your_WiFi_Name";
char pass[] = "Your_WiFi_Password";

void setup(){
    SerialUSB.begin(9600);
    Blynk.begin(auth, ssid, pass);
}

void loop(){
    Blynk.run();
}

Source : Arduino MKR1000 & Blynk


About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation and engineering. My writing style is clear and simple, and I am skilled in using infographics and diagrams. I am a great researcher and am able to present information in a well-organized and logical manner.

Follow Us:
LinkedinTwitter
Scroll to Top