Akbar R.R
Published © GPL3+

How to move micro servo using blynk

How to move micro servo using blynk simple

BeginnerFull instructions provided1 hour37
How to move micro servo using blynk

Things used in this project

Hardware components

NodeMCU ESP8266 Breakout Board
NodeMCU ESP8266 Breakout Board
×1
SG90 Micro-servo motor
SG90 Micro-servo motor
×1
USB-A to Mini-USB Cable
USB-A to Mini-USB Cable
×1

Software apps and online services

Blynk
Blynk
Arduino IDE
Arduino IDE

Story

Read more

Code

how to move micro servo using blynk

C/C++
#define BLYNK_PRINT Serial 

#include <ESP8266WiFi.h> 
#include <BlynkSimpleEsp8266.h> 
#include <Servo.h> 

char auth [] = "***********"; 
char ssid [] = "*******"; 
char pass [] = "*****"; 

Servo gerak_servo; 

BLYNK_WRITE (V1) { 
gerak_servo.write (param.asInt ()); 
} 

void setup () { 
Serial.begin (9600); 

gerak_servo.attach (2); 

Blynk.begin (auth, ssid, pass); 
} 
void loop () { 
Blynk.run (); 
}

Credits

Akbar R.R

Akbar R.R

1 project • 0 followers

Comments

Add projectSign up / Login