Followed a tutorial found on https://www.instructables.com/id/Controlling-3-servo-motors-with-3-potentiometers-a/ to build a crane type structure with moving Servo 9G motors controlled by Potentiometers.
First time i built it only the first motor would work with potentiometer so fiddled with some cables and now none work. Took it apart built it the same as first time and no motors are functioning.
Using a Wemos D1 R2 board and 9V battery. Either thinking that the pin layout is different or motors under powered.
I have attached the layout, board and code.
Any help would be appreciated, this is my first project.
#include <Servo.h>
Servo myservo3;
Servo myservo5;
Servo myservo6;
int potpin = 0;
int potpin2 = 1;
int potpin3 = 2;
int val = 0;
int val2 = 0;
int val3 = 0;
void setup()
{
myservo3.attach(D6);
myservo5.attach(D7);
myservo6.attach(D8);
}
void loop()
{
val = analogRead(potpin);
val = map(val, 3, 1023, 0, 176);
myservo3.write(val);
val2 = analogRead(potpin2);
val2 = map(val2, 3, 1023, 0, 176);
myservo5.write(val2);
val3 = analogRead(potpin3);
val3 = map(val3, 3, 1023, 0, 175);
myservo6.write(val3);
}

