blob: 12a5bcb3330d32e1a59ebe64d51a7b3f6cdcb095 [file] [log] [blame]
Glenn Kasten9f5130c2014-11-10 14:36:08 -08001page.title=Light Testing Circuit
Glenn Kasten4fe3ba42013-05-13 14:28:56 -07002@jd:body
3
Clay Murphybc92aea2014-10-16 10:13:18 -07004<!--
Clay Murphy1b77cc22014-12-17 18:20:06 -08005 Copyright 2014 The Android Open Source Project
Clay Murphybc92aea2014-10-16 10:13:18 -07006
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18-->
Glenn Kasten4fe3ba42013-05-13 14:28:56 -070019<div id="qv-wrapper">
20 <div id="qv">
21 <h2>In this document</h2>
22 <ol id="auto-toc">
23 </ol>
24 </div>
25</div>
26
27<p>
28The file <a href="http://developer.android.com/downloads/partner/audio/av_sync_board.zip">av_sync_board.zip</a>
29contains CAD files for an A/V sync and latency testing
30printed circuit board (PCB).
Clay Murphyc28f2372013-09-25 16:13:40 -070031The files include a fabrication drawing, EAGLE CAD, schematic, and BOM. See <a
Clay Murphy714cd072014-12-01 13:07:52 -080032href="latency.html">Audio Latency</a> for recommended testing methods.
Glenn Kasten4fe3ba42013-05-13 14:28:56 -070033</p>
34
35<p>
36This PCB
37can be used to help measure the time between flashing the device's
38notification LED or screen backlight, vs. detecting an audio signal.
39When combined with a dual-channel oscilloscope and suitable test app,
40it can show the difference in time between detecting the light and audio.
41That assumes the LED or backlight response time and light detector's response time
42are negligible relative to the audio.
43</p>
44
45<p>
46This design is supplied "as is", and we aren't be responsible for any errors in the design.
Clay Murphyc28f2372013-09-25 16:13:40 -070047But if you have any suggestions for improvement, please post to the <a
48href="https://groups.google.com/forum/#!forum/android-porting">android-porting</a> group.
Glenn Kasten4fe3ba42013-05-13 14:28:56 -070049</p>
50
51<p>
52Of course, this is not the only (or necessarily best) way to measure A/V sync and latency,
53and we would like to hear about your alternative methods, also at android-porting group.
54</p>
55
56<p>
57There are currently no compatibility requirements to use this particular PCB.
58We supply it to encourage your continued attention to audio performance.
59</p>
60
61<h2 id="images">Images</h2>
62
63<p>
64These photos show the circuit in action.
65</p>
66
Clay Murphy1b77cc22014-12-17 18:20:06 -080067<img style="margin:1.5em auto" src="images/breadboard.jpg" alt="breadboard prototype" id="figure1" />
68<p class="img-caption">
69 <strong>Figure 1.</strong> Breadboard prototype
70</p>
Glenn Kasten4fe3ba42013-05-13 14:28:56 -070071
Clay Murphy1b77cc22014-12-17 18:20:06 -080072<img style="margin:1.5em auto" src="images/pcb.jpg" alt="an early run of the PCB" id="figure2" />
73<p class="img-caption">
74 <strong>Figure 2.</strong> An early run of the PCB
75</p>
Glenn Kasten4fe3ba42013-05-13 14:28:56 -070076
Clay Murphy1b77cc22014-12-17 18:20:06 -080077<img style="margin:1.5em auto" src="images/display.jpg" alt="example display" id="figure3" />
78<p class="img-caption">
79 <strong>Figure 3.</strong> Example display
80</p>
81
Glenn Kasten4fe3ba42013-05-13 14:28:56 -070082<p>
83This image
84shows the scope display for an unspecified device, software release, and test conditions;
85the results are not typical and cannot be used to extrapolate to other situations.
86</p>
87
88<h2 id="video">Video</h2>
89
90<p>
91This <a href="http://www.youtube.com/watch?v=f95S2IILBJY">Youtube video</a>
92shows the the breadboard version testing circuit in operation.
93Skip ahead to 1:00 to see the circuit.
94</p>