Naresh krish
Published

Connecting your Rak Creator pro with Blynk Services

This tutorial shows you how to use the RAK Creator pro and Dash button boards with the Blynk web services and app.

IntermediateProtip2 hours217
Connecting your Rak Creator pro with Blynk Services

Things used in this project

Hardware components

RAK473
RakWireless RAK473
×1
Creator Pro
RakWireless Creator Pro
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Breadboard (generic)
Breadboard (generic)
×1
LED (generic)
LED (generic)
×1
Resistor 1k ohm
Resistor 1k ohm
×1

Software apps and online services

Arduino IDE
Arduino IDE
Blynk
Blynk

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Schematics

RAK Creator pro repo

Arduino LED connection

Code

Arduino Blynk Code

Arduino
/*************************************************************
  Download latest Blynk library here:
    https://github.com/blynkkk/blynk-library/releases/latest

  Blynk is a platform with iOS and Android apps to control
  Arduino, Raspberry Pi and the likes over the Internet.
  You can easily build graphic interfaces for all your
  projects by simply dragging and dropping widgets.

    Downloads, docs, tutorials: http://www.blynk.cc
    Sketch generator:           http://examples.blynk.cc
    Blynk community:            http://community.blynk.cc
    Follow us:                  http://www.fb.com/blynkapp
                                http://twitter.com/blynk_app

  Blynk library is licensed under MIT license
  This example code is in public domain.

 *************************************************************
  This example runs directly on ESP32 chip.

  Note: This requires ESP32 support package:
    https://github.com/espressif/arduino-esp32

  Please be sure to select the right ESP32 module
  in the Tools -> Board menu!

  Change WiFi ssid, pass, and Blynk auth token to run :)
  Feel free to apply it to any other example. It's simple!
 *************************************************************/

/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial


#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleRTL8195.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "a6d5d2d9858541dfb757542250774b7e";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "narioinc89";
char pass[] = "Cerebrum123";

void setup()
{
  // Debug console
  Serial.begin(9600);
  pinMode(13, OUTPUT);
  Blynk.begin(auth, ssid, pass);
  Blynk.run();
  randomSeed(analogRead(A0));
}

void loop()
{
  Blynk.virtualWrite(V0, random(30));
  Blynk.virtualWrite(V1, random(30));

  delay(3000);
}

BLYNK_WRITE(V13) //Button Widget is writing to pin V1
{
  int pinData = param.asInt(); 
  Serial.print("Button is now: ");
  Serial.println(pinData);
  digitalWrite(13, pinData);
}

Credits

Naresh krish

Naresh krish

22 projects • 87 followers
Maker, Hacker, Guitarist, Full time Android and iOS Dev.
Thanks to Blynk.

Comments

Add projectSign up / Login