<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.stereopi.com/app.php/feed/topic/1241" />

	<title>StereoPi Forum</title>
	<subtitle>StereoPi Forum</subtitle>
	<link href="https://forum.stereopi.com/index.php" />
	<updated>2021-10-20T22:00:41+00:00</updated>

	<author><name><![CDATA[StereoPi Forum]]></name></author>
	<id>https://forum.stereopi.com/app.php/feed/topic/1241</id>

		<entry>
		<author><name><![CDATA[3DStereoPhoto]]></name></author>
		<updated>2021-10-20T22:00:41+00:00</updated>

		<published>2021-10-20T22:00:41+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2892#p2892</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2892#p2892"/>
		<title type="html"><![CDATA[Re: sync camera timing precisely XVS test points on multiple rPi's]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2892#p2892"><![CDATA[
thank you so much for the reply and confirmation on the timing synchronization for the camera and how to do the config files.<br><br>I am planning to get the hardware put together this weekend the V2 is such an awesome upgrade, I appreciate the work that went into it.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=721">3DStereoPhoto</a> — Wed Oct 20, 2021 10:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Realizator]]></name></author>
		<updated>2021-10-20T20:36:36+00:00</updated>

		<published>2021-10-20T20:36:36+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2888#p2888</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2888#p2888"/>
		<title type="html"><![CDATA[Re: sync camera timing precisely XVS test points on multiple rPi's]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2888#p2888"><![CDATA[
Hi 3DStereoPhoto,<br>At first, you found the key topic on Raspberry Forum for HQ cameras sync. <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_smile.gif" width="15" height="17" alt=":-)" title="Smile"><br>So:<br>1. Choose the camera you are planning to use as a Master. If you choose CAM0 - this connector is near the USB C port. CAM1 connector is closer to micro SD card slot. Both camera connectors have a name near them on the PCB.<br>2. If you choose CAM0 as a master and CAM1 as a slave, you should add these rows to the config.txt file on your "main" StereoPi:<br># Set CAM0 as a trigger source:<br>imx477_trigger_mode:0=1<br># Set CAM1 as a trigger sync:<br>imx477_trigger_mode:1=2<br><br>To clarify:<br>- we have two cameras with names 0 and 1 (i.e. CAM0 and CAM1)<br>- each camera can be either a sync source (mode 1) or the sync slave (mode 2).<br>With this config file, your CAM0 acts as a master, and CAM1 as a "listener" to sync with the master.<br><br>3. If you want to add more StereoPi, all their cameras should be "slave" to listen to the main "Master". I.e., you should put these lines to your "slave" StereoPi boards:<br># Set CAM0 as trigger sync:<br>imx477_trigger_mode:0=2<br># Set CAM1 as trigger sync:<br>imx477_trigger_mode:1=2<br><br>Both cameras at your secondary StereoPi will listen for the XVS signal from the CAM0 of the 1st StereoPi.<br><br>Please be careful with grounding. Also, I remember that StereoPis (or Raspberry Pis) should be powered on within minimal time (like a few seconds). Otherwise, the sync might not work correctly. The power sequence for the cameras might matter too.<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=2">Realizator</a> — Wed Oct 20, 2021 8:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[3DStereoPhoto]]></name></author>
		<updated>2021-10-20T06:21:38+00:00</updated>

		<published>2021-10-20T06:21:38+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2884#p2884</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2884#p2884"/>
		<title type="html"><![CDATA[sync camera timing precisely XVS test points on multiple rPi's]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2884#p2884"><![CDATA[
tldr; should I tie the cameras XVS test points together so the multiple cameras take a picture at the exact same time?<br><br>What I want to do:  use 3 stereo Pi's and 6 HQ cameras to take still pictures, with the same settings at exactly the same time.   I am mostly interested in still photos at full resolution, but if it would work for video too, that would be amazing.<br><br>Questions:  Is it worth using the XVS test points for triggering?   How can I get the cameras to use the same settings across stereoPi's? (like iso(gain?), exposure, aperature, framerate?)  <br><br>my plan: 1) start with one stereo pie and get hardware working, solder a wire to connect the XVS test points on each camera together.<br>2) try to config the sync on the two cameras<br>3) setup a second stereo pi with two cameras BOTH as trigger sinks and connect all XVS test points of the 4 cameras together. <br>4) tie grounds of two stereo Pi's together( will actually power them all from same source and ground)<br>5) tie picture trigger button of the two stereo Pi's together.<br>6) try to push the iso, aperature, exposure, framerate, other settings, from the master stereo pi to the other one.( best way? maybe a UART connection to the two stereo-pi's?  not sure) sort of like a half-press on a DSLR but push settings to other rPi's.<br>7) basically repeat the setup for the 3rd stereo pi.  seems like if I can get two working it will be the same process for any additional ones.<br><br>Thank you for any advice and help!<br>Lincoln<br><br>per this post you can make one camera a trigger source and the others trigger sinks: <a href="https://forums.raspberrypi.com/viewtopic.php?t=281913" class="postlink">https://forums.raspberrypi.com/viewtopic.php?t=281913</a><br><br>I did read most of the thread but didn't fully understand it....  I hope enough will make sense when I get started.<br><br>_------------- some text from post below<br>Trigger Mode Sync<br>It is possible to synchronise the readouts of two or more imx477 sensors by wiring their XVS test points together. These devices can be on separate Pi boards, or can be on a Compute Module (CM) board with two sensors attached.<br><br>One camera must act as a trigger source, and the others act as trigger sinks. To set this up, the following parameter must be set in config.txt:<br><br># Set to 0 to disable.<br># Set to 1 to act as a trigger source device on a non-CM board.<br># Set to 2 to act as a trigger sync device on a non-CM board.<br>#<br># For a CM board, use imx477_trigger_mode:0=1 to set camera 0 as trigger source, or imx477_trigger_mode:0=2 to set camera 0 as trigger sync.<br># Similarly, use imx477_trigger_mode:1=1 to set camera 1 as trigger source, or imx477_trigger_mode:1=2 to set camera 1 as trigger sync.<br>imx477_trigger_mode<p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=721">3DStereoPhoto</a> — Wed Oct 20, 2021 6:21 am</p><hr />
]]></content>
	</entry>
	</feed>
