• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Pan Tilt ESP32 Cam

Q&A Forum › Category: ESP32 › Pan Tilt ESP32 Cam
0 Vote Up Vote Down
ray asked 4 years ago

Pan tilt code for esp32 Cam from projects book
Pan and Tilt is only 90 degrees   Micro servo 9G SG90 -180
Changes in code  to get full 180 degree pan tilt
Tnx

1 Answers
0 Vote Up Vote Down
Steve Mercer answered 4 years ago

I have this book but have never tried that particular example. The code is setup to use the maximum of 0-180 degrees for both servo’s (According to the library documentation). You could try using MicroSeconds rather than letting the library enforce arbitrary limits or you could try a different servo library like ServoESP32. Either way you would need to modify the code.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.