Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
VISHVANTHAN NATARAJAN
Published

Robotic Arm

Quick way to control Servos using minimal resources. The easiest way of controlling an robotic arm which has couple of servo motor's.

IntermediateShowcase (no instructions)7 hours1,406
Robotic Arm

Things used in this project

Hardware components

SparkFun Blynk Board - ESP8266
SparkFun Blynk Board - ESP8266
×1

Story

Read more

Custom parts and enclosures

screenshots

Screenshot_2015-11-11-15-06-38.png

Screenshot_2015-11-11-14-58-55.png

Schematics

robotic arm

Code

esp8266 servo code

Arduino
basic code to controll servo motors using blynk app
Simple single ESP8266 Servo Code controlling servo on GPIO15
/*
* This sketch demonstrates how to scan WiFi networks.
* The API is almost the same as with the WiFi Shield library,
* the most obvious difference being the different file you need to include:
*/
#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <Servo.h>

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

Servo servo;
void setup()
{
Serial.begin(9600);
Blynk.begin(auth, "WiFi Name", "Password"); // replace with your WiFi router details
servo.attach(15);
}
BLYNK_WRITE(V15)
{
servo.writeMicroseconds(param.asInt());
}

void loop()

{
Blynk.run();
}

Credits

VISHVANTHAN NATARAJAN
1 project • 2 followers

Comments