AO I
Published © CERN-OHL2

Servo + blybk

Not yet

BeginnerFull instructions provided-60 minutes6
Servo + blybk

Things used in this project

Hardware components

Jumper wires (generic)
Jumper wires (generic)
×1
NodeMCU ESP8266 Breakout Board
NodeMCU ESP8266 Breakout Board
×1

Software apps and online services

Arduino IDE
Arduino IDE
Blynk
Blynk

Hand tools and fabrication machines

Servo Motor, Premium Male/Male Jumper Wires
Servo Motor, Premium Male/Male Jumper Wires

Story

Read more

Code

servo with blynk

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

#define BLYNK_PRINT Serial

Servo servo;
char auth[] = "xxxxxxxxxxxxxxxx";
char ssid[] = "xxxxxx";
char pswd[] = "xxxxxxxxxxxx";


void setup() {
  Serial.begin(9600);
  Blynk.begin(auth,ssid,pswd);
  servo.attach(5);

}

void loop(){
  Blynk.run();
}

BLYNK_WRITE(V1) {
  servo.write(param.asInt() ) ;

}

Credits

AO I

AO I

1 project • 0 followers

Comments

Add projectSign up / Login