Waleed El-Badry
Published © MIT

Control Simulated Arduino Circuit With Android Blynk App

This project is my first attempt to create virtual IoT without spending a cent on hardware. It features using Blynk app with Proteus.

BeginnerFull instructions provided1 hour5,242
Control Simulated Arduino Circuit With Android Blynk App

Story

Read more

Schematics

Complete project files

Code

Code snippet #1

Plain text
/**************************************************************************************** *  Code is based on Blynk USB-Serial Example
 *  Make sure you go to C:\Users\Your Username\Documents\Arduino\libraries\Blynk\scripts
 *  Press CTRL + LMouse Button and select Open Command Windows Here
 *  Then type in command windws >> blynk-ser.bat -c COM2 and click enter
 *  Enjoy the Virtual IoT !!!
 ****************************************************************************************/
#include <BlynkSimpleStream.h>// Pin Assignments
int redPin=8,greenPin=9,bluePin=10;//Your app authentication token (can be fetched from your blynk app
char auth[] = "d76e23d84cee461aa3f6869ff43e0d07";void setup()
{
  //Set the three LED pins as output
  pinMode(redPin,OUTPUT);
  pinMode(greenPin,OUTPUT);
  pinMode(bluePin,OUTPUT);  // Blynk will work through Serial
  Serial.begin(9600);
  Blynk.begin(auth, Serial);
}void loop()
{
  // All the magic is here
  Blynk.run();
}

Credits

Waleed El-Badry
2 projects • 3 followers
Mechatronics engineer, PhD candidate and smashing gamer.

Comments