Credit to kuzcy for the original QX-10 Arduino code
ESP32 based program for a wifi based camera remote that can be triggered from pixhawk. This software was tested with Sony DSC QX-10, but you can try it with another Sony camera (as long as it has WiFi feature and included in Sony Camera Remote API beta).
Versions:
- ArduPlane 4.0.6
- Sony QX-10 Firmware 3.0
For adding wider features, please look into Sony Camera Remote API beta 2.40. Do not use the latest Camera Remote SDK because Sony hasn't included the wifi features.
Change the ssid "YOUR_CAMERA_SSID" and password "YOUR_CAMERA_PASSWORD" according to your QX-10 camera. If you found difficulties finding camera's SSID and Password, just look to the back battery cover.
SERVO5 (MAIN 5)
Servo limits
Min 1000
Max 1700
Pushed 1700
Not Pushed 1000
Duration 1 (0,1 s)
SERVO5 (MAIN 5)
SIGNAL -> GPIO13 (D13)
- Turn on the pixhawk
- Turn on the safety switch to ensure pixhawk sends PWM to servo rail
- Press EN at ESP32
- Click "Trigger Camera NOW" at Mission Planner (or else if you using another GCS program)
- Ensure the camera triggers. If not, please reboot the ESP32
These listed issues will less problematic if you use a copter type UAV or make a vibration damper for the QX-10. Some issues we have found in field such as:
- Fast shooting, blurred images
This is ocurring because there's no manual focus control in QX-10. So, if you delete the HalfPressShutter feature, you will get much more accurate images with pixhawk but with blurred quality. - Focused images, slow shooting
I added HalfPressShutter feature so you will get better image quality, but the camera will shutter less faster so you will get less accurate image with pixhawk.