ESP32 vs. Arduino: Servo Control!
Hey guys! We've had so much fun interacting with all of the makers out there enjoying our new Voyager and Explorer Robotics Kits. With the high-speed DC motors and the high-torque robotic arm, it's got a ton of features! Today, I wanted to break things down for anyone out there who may be interested in programming ESP32 but might be a little nervous about its differences with the Arduino. While in some cases, the ESP32 can be a little more complicated, today I wanted to show you the differences between basic servo movement with the Arduino, and basic Servo movement with the ESP32! It's easier than you might think! As always, we have this tutorial available on our YouTube Channel as well. First things first, let's take a look at just how easy it is to get an Arduino moving a servo.
Part One: Simple Servo Movement using Arduino
To demonstrate just how easy this is, I thought I would use our Robotic Laser Cannon kit as an example. This PCB has two servo connectors and a joystick. We're going to start off by getting one of our servos to move.

If we were to build this same circuit on a breadboard, it would look something like this. With the brown (or black) wire of our servo connected to GND (ground), the red wire connected to 5v (five volts), and the yellow wire (our data wire, sometimes white on certain servos ) connected to pin D3.
