Pan Tilt Servo Control Using NodeMCU

Updated: Jul 2, 2021

This tutorial, we will explore how to control Pan & Tilt servos using ESP8266, myDevices Cayenne, and MQTT, Our goal will be a PAN/TILT mechanism to position a camera (ESP32 Camera).


Pan and tilt systems used in today's robotics applications for security, industrial, and military applications have to move faster, smoother, and more accurately than ever before. At the same time, these systems need to be cost effective, easy to program.

On the other hand, Cayenne is an IoT cloud platform that provides several cloud services, such as:

  • Data visualization

  • IoT cloud

  • Alerts

  • Scheduling Events

We will focus our attention on data visualization and on the IoT cloud services.


Refer my previous post for Servo control: https://www.dofbot.com/post/cayenne-iot-based-servo-control


Circuit Diagram</