<< return to Pixycam.com

PixiCam2 rotate to 90 degrees

Hello everyone, I have connected a PixyCam 2 to an ESP32 and it works perfectly.
Is it possible to turn the camera 90 degrees so that the X and Y coordinates remain?

1 Like

Glad you got it working with the ESP32!

You want to tilt Pixy 90 degrees but not have the results (which rely on the x, y coordinates) not tilted 90 degrees?

You could employ a simple transformation the the x, y values. That is if you rotate to the left by 90 degrees:

x’ = -y
y’ = x

Hope this helps!


1 Like

Hello :slight_smile:
great good to know that.
so i can use pixy2 with ESP32 S3 (240mhz dual core processor) ? right?
are you using ESP32 S3? did you program it using Arduino IDE or how?
please let me know!