Last week I received my StereoPi DeLuxe kit. The supplied SLP image looks like a good starting point to realise my first objectives for a setup to enable the following:
1. Have a robust portable 3D camera
2. Use my mobile phone as viewvinder and controller
The first objective can be reached with a 3D-printed case (found on the wiki) and a suitable powerbank to run theb system from. I found an 8000 mAh bank that can deliver 2.4 A. This can provide over 10 Hours of power for the system (as the system mostly uses 700 to 800 mA).
Out of the box I can use my phone via the webinterface to view the images from the cameras and to turn recording on and off via the settings. I will try to find a way to provide an extra button and indicator to start/stop recording (help most appreciated).
I prepared a 16Gb SD-card with the SLP image, extended partition 2 with an extra 2 Gb to be able to install extra software if needed, and added a third FAT32 partition to store recordings.
My Samsung S8 is able to tether its WiFi connection so I use its hotspot to connect the StereoPi's WiFi. I also can use my laptop to connect to this hotspot. The SLP image has cifs installed so I am also able to connect a shared folder on my laptop to the StereoPi. This comes in handy for transferring recordings from StereoPi to laptop.
Upon boot the SLP image reformats the FAT32 partition and deletes all recordings. To avoid this I had to comment out a statement in (/etc/rc-local, 20190514 correction) /opt/StereoPi/run.sh .
* SSH into the StereoPi
* remount / as read/write
Code: Select all
root>mount -o rw,remount /
(this is also a good opportunity to set mc options as "use internal editor" and "always pause after a command" and save them since the root filesystem is read/write now)
* navigate to run.sh and (F4 or esc followed by 4) open it for editing
* find the next lines:
Code: Select all
if [ "$?" != "0" ]; then
echo "Record partion not found"
echo "Creating new FAT32 partition"
sudo echo -e "n\np\n3\n3932160\n\nt\n3\nc\nw\n" | fdisk /dev/mmcblk0
reboot
else
sudo mkfs.vfat -F 32 /dev/mmcblk0p3 > /dev/null 2>&1
sudo mount /dev/mmcblk0p3 /media > /dev/null 2>&1
fi
Code: Select all
# sudo mkfs.vfat -F 32 /dev/mmcblk0p3 > /dev/null 2>&1
Code: Select all
mkdir /mnt/laptop
mkdir /mnt/<any other mountpoint you might need>
Code: Select all
root>mount -o ro,remount /
If you want to mount a folder on your Windows laptop you first have to define a folder as "full control" for Everybody, then:
Code: Select all
mount -t cifs -o username=<user> //192.168.43.130/stereopi /mnt/laptop
192.168.43.130 : your laptops ip address
stereopi : the name of your shared folder)
Now you can use mc to easily transfer your recordings to your laptop