O'Reilly logo

Building Smart Drones with ESP8266 and Arduino by Syed Omar Faruk Towaha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Controlling the camera gimbal using ESP8266

In this section, we will make a custom gimbal with two-servo motors that can be controlled remotely. You need to buy a Servo bracket to install the servos. You can buy a cheap one like this: https://www.aliexpress.com/item/Servo-bracket-PT-Pan-Tilt-Camera-Platform-Anti-Vibration-Camera-Mount-for-Aircraft-FPV-dedicated-nylon/32697306736.html. You will need the following things:

  • ESP8266 or NodeMCU
  • Two-servo motors (SG90 mini gear micro servo preferred)
  • 5V power supply
  • Smart phone
  • Router (for Wi-Fi connection)

Let's see how this is done:

  1. Firstly, attach the servos to the bracket. Connect the servos to the ESP8266, as follows:
  1. From the diagram, you can see that the servos are connected to the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required