A simplePacketComs server for servos on ESP32
In the Arduino Library Manager, search for and install:
Esp32SimplePacketComs
Esp32WifiManager
SimplePacketComs
ESP32Servo
Adafruit_BNO055
Adafruit Unified Sensor Library
map[0]= 15;
map[1]= 2;
map[2]= 4;
map[3]= 16;
map[4]= 17;
map[5]= 5;
map[6]= 19;
map[7]= 23;
map[8]= 13;
map[9]= 12;
map[10]= 14;
map[11]= 27;
map[12]= 26;
map[13]= 25;
map[14]= 33;
map[15]= 32;
Attach the servos on the following pins:
RearLeft
- basePan = 2
- baseTilt = 4
- elbow = 15
FrontRight
- basePan = 5
- baseTilt = 17
- elbow = 16
FrontLeft
- basePan = 23
- baseTilt = 19
- elbow = 32
RearRight
- basePan = 13
- baseTilt = 12
- elbow = 14
Head
- basePan = 27
- baseTilt = 26
Tail
- basePan = 33
- baseTilt = 25