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


A Propos De L'Auteur

Ibrar Ayyub

Je suis expérimenté, rédacteur technique, titulaire d'une Maîtrise en informatique de BZU Multan, Pakistan à l'Université. Avec un arrière-plan couvrant diverses industries, notamment en matière de domotique et de l'ingénierie, j'ai perfectionné mes compétences dans la rédaction claire et concise du contenu. Compétent en tirant parti de l'infographie et des diagrammes, je m'efforce de simplifier des concepts complexes pour les lecteurs. Ma force réside dans une recherche approfondie et de présenter l'information de façon structurée et logique format.

Suivez-Nous:
LinkedinTwitter

Laisser un Commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

fr_FRFrench
Faire défiler vers le Haut