Hey everyone, I wanted to share my experience with the ESP32 camera rotation issue I encountered recently. After setting up my ESP32 Cam with external antennas and custom housings, I noticed that the camera feed was rotated by 90 degrees. This was quite frustrating, especially since I had already tried adjusting the horizontal and vertical mirroring settings without success.I started by carefully reviewing the configuration file and experimenting with different settings. I discovered that simply toggling the mirror and flip options wasn’t enough. After some research, I came across a solution that involved adjusting the camera’s pixel clock and data pins in the ESPHome configuration. By tweaking these settings, I was able to correct the rotation issue.Here’s a quick tip for anyone facing similar problems: Always ensure that your camera’s physical orientation matches the software settings. If you’re using custom housings, double-check the mounting to avoid any unintended rotations. Additionally, reviewing the camera’s datasheet can provide valuable insights into its pin configuration and how it interacts with the ESP32 module.I’m really happy to have resolved this issue and would love to hear about others’ experiences with ESP32 cameras. Whether you’re setting up a security system or a DIY project, these devices are incredibly versatile, and with a bit of troubleshooting, they can perform flawlessly.Thanks for reading, and happy tinkering! ![]()