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




Leave a Comment

*
= 3 + 3

(Spamcheck Enabled)

Read previous post:
ESP32 Development Board
IoT and Touch-Based Home Automation with Video (Hindi & English)

We have seen various applications of IoT but what about adding the touch to it. In this project, we will add...

Close
Scroll to top