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 holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top