This project was inspired by a video I watched on Youtube: https://www.youtube.com/watch?v=z9gSZwVMybc. I did some improvements. This project is based on html, so any smart phone can control it.
- Raspberry Pi 3B
- Raspberry Pi Zero V1.3
- Picon https://4tronix.co.uk/blog/?p=1224
- Two servos and pan & tilt kit
- VR camera kit
- Two raspberry pi camera module.
- One soft usb->usb mini cable (25cm in length, the softer the better)
This system is based on the html. A nodejs server will run on RPi 3B, and rpi-cam-web-interface (http://elinux.org/RPi-Cam-Web-Interface) is required.
Basically, the nodejs server received the requires from the smart phone, which is pan & tilt angle. Then this server passes these data to the picon (I wrote an I2C driver in js for this device.) The servos pan & tilt kit would then move based on these data. On html, the live stream will be shown from two cameras which one connected to RPi 3B and the other one connected to the pi zero. Pi zero act as a USB ethernet gadget to the RPi 3B. So, the communication speed between pi zero and RPi 3B is good enough for the live stream. Since the smart phone connected to the server from RPi 3B, then mount it on a VR headset like google cardboard VR, it would be good to go.